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

 

4 REPLIES 4
artemmuntianu
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 Memorable Member
Memorable Member

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

 

Microsoft v-jiascu-msft
Microsoft

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 Advocate I
Advocate I

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
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Top Solution Authors