Quantcast
Viewing all articles
Browse latest Browse all 17916

Problem embeding report in TWebBrowser (IE9)

Hello,

 

We are developping an application in Delphi Tokyo 10.2 in which we are embeding powerBI reports in a TWebBrowser component.

This component is using IE 9 engine.

 

Everything was working fine severals weeks ago.

 

Now we have problem on postMessage on URL like this : https://app.powerbi.com/reportEmbed?reportId=.........

 

Our process is to load this URL (ie : https://app.powerbi.com/reportEmbed?reportId=5cacc672-0a61-4972-92bf-5373ac9386d8) in the TWebBrowser and on DocumentComplete event, we execute javascript postMessage(message, '*') with message build in JSON with action : loadReport and accessToken : the generated access token with the right client ID and azure tenant ID.

 

Why it is nor working anymore in IE 9 ?

It is still working manually in IE10, 11, Edge, Firefox and Chrome but our TWebBrowser component only works with IE9.

 

Can you please help us with this problem?

Any solution to embed powerBI report in a Delphi application?

 

Sincerely


Viewing all articles
Browse latest Browse all 17916

Trending Articles