cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
zoloturu
Advisor

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

 

4 REPLIES 4
artemmuntianu Frequent Visitor
Frequent Visitor

Re: How to get pages and visuals lists via REST API

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

zoloturu
Advisor

Re: How to get pages and visuals lists via REST API

@artemmuntianu, thank you.

 

Is below what you've wanted to say?

 

visual name.pngvisual 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

 

v-jiascu-msft Super Contributor
Super Contributor

Re: How to get pages and visuals lists via REST API

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.
jpayne Regular Visitor
Regular Visitor

Re: How to get pages and visuals lists via REST API

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 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Top Kudoed Authors
Users Online
Currently online: 133 members 1,642 guests
Please welcome our newest community members: