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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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