Forum Discussion
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
7 Replies
- AnonymousNot 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
- cristianCeamatuNew Member
We need a GET Visuals Per Page API, can somebody please work on that? This will create great opportunities to embed Power BI reports. I am having similar issues, I need to create a custom layout and the only way I can do that is by embedding the report, then getActivePage, then getVisuals and then updateSettings, so the user sees the initial content and then after the update the content changes, very bad UI.
- artemmuntianuFrequent 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
- zoloturuMemorable Member
artemmuntianu, thank you.
Is below what you've wanted to say?
visual 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-msftMicrosoft Employee