RE: facing some issue in power bi integration in liferay 7.1

ashok karjol, modified 7 Years ago. New Member Posts: 4 Join Date: 8/5/15 Recent Posts

Hi,

  I am facing some issue in power bi integration in liferay 7.1 .

 In view.jsp am using power bi URL in <iframe> tag  after deploying the portlet i am  getting the issue like the power bi content is not loading in liferay portlet,

 and i am getting below error in browser console .

              web.bundle.min.js:8 ERROR Error: Uncaught (in promise): SecurityError: Blocked a frame with origin "https://app.powerbi.com" from accessing a cross-origin frame.
             Error: Blocked a frame with origin "https://app.powerbi.com" from accessing a cross-origin frame.
             at new t (powerbiportal.common.bundle.min.js:51).

please help  me to resolve this issue.

 

Regards,

Ashok

thumbnail
Minhchau Dang, modified 7 Years ago. Liferay Master Posts: 598 Join Date: 10/22/07 Recent Posts
ashok karjol:

 In view.jsp am using power bi URL in <iframe> tag 

Your error message says that powerbi.com is rejecting the request coming from your iframe for security reasons, which you can confirm by checking the headers when you visit that site (see X-Frame-Options for more information on what DENY means, which is the value being sent from that site).

Unfortunately, there is nothing you can do to resolve this issue. You'll need to re-think how you approach this integration.