cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zoloturu
Memorable Member
Memorable Member

How to get pages and visuals lists via REST API

Dear all,

 

I'm trying to embed my visual into Microsoft sample application https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html# .

 

But it requires Page Name and Visual Name. I thought I can get both via API, but which I can't retrieve it because there are no relevant methods https://docs.microsoft.com/en-us/rest/api/power-bi/. Maybe somebody has a workaround for that?

 

Dataset type is PushStreaming.

 

Regards,
Ruslan

 

6 REPLIES 6
Anonymous
Not applicable

Is there an ETA from MSFT to do an official process/API to get page and visual level objects?

 

This is a citical capability for our team. @v-jiascu-msft 

artemmuntianu
Frequent Visitor

Yes, there is a workaround. Open your report .pbix file with an archiver (WinRar for example) and goto folder Report. Open file Layout with a text processing app. It has json inside and needed info

@artemmuntianu, thank you.

 

Is below what you've wanted to say?

 

visual namevisual name

Anyway, I can't download a report because it was created online via Power BI Service because a source is Stream Analytics, so the dataset type is PushStreaming.

 

Regards,
Ruslan

 

Hi Ruslan,

 

Open the "Sample Report", you will get all the pages, visuals, and codes. 

How_to_get_pages_and_visuals_lists_via_REST_API

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

this workaround is problematic for me as i want to access this data the this data via an api, in this case i must the browser and actually load the element to the dom so i can fetch them

Hi , 

Do we have any solution availble for above mentioned problem statement. We are also trying to directly embed Visual into the react app.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.