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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Anonymous
Not applicable

PowerBi-models do not match example for embedding paginated report

Hello:

Has anyone successfully worked on the example as shown https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/embed-paginated-report ? In the exmaple, it shows interface IPaginatedReportLoadConfiguration  has embedUrl?: string; but when I check the model https://docs.microsoft.com/en-us/javascript/api/powerbi/powerbi-models/ipaginatedreportloadconfigura... , there is no embedUrl. DId the model change recently? How could you embed paginated report without embedUrl? Thanks

4 REPLIES 4
hekta
New Member

I have the same problem in my project. TypeScript model is different from this example.

V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Supposing that you know how to get the token and reportID from backend. In frontend,To get an valid embedurl in Power BI Embedded, you just concatenate "https://embedded.powerbi.com/appTokenReportEmbed?reportId=" and your reportID.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

That's not the issue AT ALL. On the IPaginatedReportLoadConfiguration object there is no "embedUrl" property. That's the issue.

Anonymous
Not applicable

Liang:

That is Not what I had problem with. My problem is that IPaginatedReportLoadConfiguration   does not have embedUrl field, so that I can't use that model for embedding with typescript+React in the frontend

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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