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
YLakdime
Regular Visitor

Why is my report empty when embedded in JavaFX app?

Hi all, 

 

When I embed the URL into my JavaFX app to load in a WebView, I see the report loading part but then it is just all white. Every other webpage shows fine. Does anyone know why my reports are not showing, while when I enter the URL in the browser directly everything shows up fine. 
(link: https://app.powerbi.com/view?r=eyJrIjoiMzdiNGIzOWMtOGFiMi00YTc0LWFhYmYtZjcyN2E3YzljYTY1IiwidCI6IjQzY...)

Screenshot.png

My code :

 

WebView webView = new WebView();
        WebEngine webEngine = webView.getEngine();
         webEngine.load("https://app.powerbi.com/view?r=eyJrIjoiMzdiNGIzOWMtOGFiMi00YTc0LWFhYmYtZjcyN2E3YzljYTY1IiwidCI6IjQzY2Q3MWNlLTBjODYtNGMxZi05NTc1LTBlMzg4YWEwZDY4YiIsImMiOjh9");

Thanks in advance

1 ACCEPTED SOLUTION

@YLakdime,

 

I've had a test. Based on my research, it seems to be not supported in the JavaFX embedded browser. See Supported browsers for Power BI.

webEngine.load("http://html5test.com/");

Capture.PNG

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-chuncz-msft
Community Support
Community Support

@YLakdime,

 

I'm not familiar with JavaFX. You may check if it is affected by HTTPS.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your reply, sorry what do you mean by affected by https? 

@YLakdime,

 

I mean have you tried other URLs that start with https, not http?

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Every other URL works fine and displays properly, just except for the content of the report.

@YLakdime,

 

I've had a test. Based on my research, it seems to be not supported in the JavaFX embedded browser. See Supported browsers for Power BI.

webEngine.load("http://html5test.com/");

Capture.PNG

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.