cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
plaxitronic Visitor
Visitor

Power BI Embed report with JavaScript

I'm using the PowerBI-Javascript library to embed reports in my website. However, I don't know if it's possible to retrieve this .json file.

{  
   "type":"report",
   "accessToken":"flVW00-mB5Lc4fE_ElSgpJ8_7ceL6T_ZL9C_pqbTu4",
   "id":"c52af8ab-0468-4165-92af-dc39858d66ad",
   "name":"Retail Analysis",
   "webUrl":"https://app.powerbi.com/reports/c52af8ab-0468-4165-92af-dc39858d66ad",
   "embedUrl":"https://embedded.powerbi.com/appTokenReportEmbed?reportId=c52af8ab-0468-4165-92af-dc39858d66ad"
}

 

In the demo of the library, the report link returns this json which then is used to load the report on the website. In my case I don't have a link that returns a json at all, but just a link to load the report immediately.

 

I want to know is there a way, for each created report, to generate a link that returns this json. (I'm asking because I'm not in charge of the Power BI report creation, only the website). 

 

Thank you beforehand.

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Top Kudoed Authors
Users Online
Currently online: 184 members 2,248 guests
Please welcome our newest community members: