cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
YLakdime Frequent Visitor
Frequent 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

Accepted Solutions
Community Support Team
Community Support Team

Re: Why is my report empty when embedded in JavaFX app?

@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
Community Support Team
Community Support Team

Re: Why is my report empty when embedded in JavaFX app?

@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.
YLakdime Frequent Visitor
Frequent Visitor

Re: Why is my report empty when embedded in JavaFX app?

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

Community Support Team
Community Support Team

Re: Why is my report empty when embedded in JavaFX app?

@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.
YLakdime Frequent Visitor
Frequent Visitor

Re: Why is my report empty when embedded in JavaFX app?

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

Community Support Team
Community Support Team

Re: Why is my report empty when embedded in JavaFX app?

@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

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (1,608)