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
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
Employee
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
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.