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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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