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

Embed a Report into a UWP application WebView

Hi all, does anyone know if it is possible to embed a report into a webview within a UWP application. I can display a publically availble report but I wish to do so with the private ones using authentication tokens as well.

 

Any suggestions would be appreciated, thanks.

4 REPLIES 4
sidney
Regular Visitor

Did you solved it?

 

I don't think this is currently possible as the WebView in UWP is using Microsoft Edge. I have gotten the JavaScript code to run in described here to run on every browser except Microsoft Edge when typing it into the console. I have implemented a code that is fairly similar to the code described here. The only line is the only thing currently not working in my application is this:

 

iframe.contentWindow.postMessage(message, "*");

 Microsoft Edge is the only browser where the reports doesn't show up and the window is stuck loading.

Did you ever get any farther on this? I am currently experiencing the same issue.

Thank you for the reply...I'm trying to embed the tile as a iframe on a xamarin.forms webview. In this references i thought if its run on uwp (C#) it will run on XAmarin.forms (c#).

 

 

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.