Forum Discussion

sparksy64's avatar
sparksy64
Regular Visitor
10 years ago

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

    • thomalm's avatar
      thomalm
      New Member

      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.

      • sidney's avatar
        sidney
        Regular Visitor

        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#).