cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

Highlighted
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

 

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 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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors