Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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.

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.