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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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