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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lspicker
Regular Visitor

Have a issue with load js, css when publish in the Iframe on web app

Can not load resource like js,css only when publish in the iframe.

 

it works in Chrome not work in IE .

I tested IE 11 but it didnt work.

I'm using IE 10 now.

 

The problem is occured when setting URL it make absolute path by appending the rest address to base url.

Iframe's base URL is maybe null so its base URL is 'http://'.

So  appendded URL is  http:///~~.

That's invalid URL and can not load from the URL.

 

How can I resolve the problem?

 

Below is screenshot of capture of network status From IE's Developer Tool.

can I set the base URL ?

or Is there another way to publish in the iframe?

 

 

screenshot1

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee

@lspicker

Thanks for your reporting. That looks a weird issue. Can you tell what is that absolute path? 

I want to load  powerbi report within an iframe.

 

BELOW is my iframe tag with powerbi url in my page .

 

<iframe width="933" height="700" src="https://app.powerbi.com/view?r=eyJrIjoiMWQ4M2VlOWItNzBiNy00MTRiLTkxOGQtY2QxMjZmZGVjZTBmIiwidCI6IjkxN..." frameborder="1"> </iframe>

 

My page with iframe  is http://MYDOMAIN/test.jsp

URL for loading js.scc  MUST be like https://app.powerbi.com/13.0.1700.2143/~~

However, the loading URL is http:///13.0.1700.2143/~~~~

 

I think 13.0.1700.2143 means version number.

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.