Reply
Regular Visitor
Posts: 17
Registered: ‎09-20-2018
Accepted Solution

Web-hosted report: change page functionality is now broken

Our client's website hosts an iframe with a PBI report.  It had a dropdown for selecting the current page in the report.  Changing the dropdown posted a message to the hosted window in the frame to cause it to change pages.  

 

This functionality seems to have been recently broken.  Anyone else use this? Anyone know how to work around the problem?


Accepted Solutions
Administrator
Posts: 211
Registered: ‎03-22-2016

Re: Web-hosted report: change page functionality is now broken

[ Edited ]

This could be done one of two ways: 

  1. Publish to web
  2. Embedded

Publish to Web

I just tested this with publish to web and it is working fine.  See my post below and you can verify this: 

https://blogs.msdn.microsoft.com/charles_sterling/2017/01/10/displaying-a-specific-report-page-with-...

 

Embedded

I tested Embedded code running this and it too is running fine...you too can test this by going here https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html clicking "Run" then go to "interact" and navigation > Set page then "Run" Again

 

 ...Suggesting something in your developers code

 

 

View solution in original post


All Replies
Administrator
Posts: 211
Registered: ‎03-22-2016

Re: Web-hosted report: change page functionality is now broken

[ Edited ]

This could be done one of two ways: 

  1. Publish to web
  2. Embedded

Publish to Web

I just tested this with publish to web and it is working fine.  See my post below and you can verify this: 

https://blogs.msdn.microsoft.com/charles_sterling/2017/01/10/displaying-a-specific-report-page-with-...

 

Embedded

I tested Embedded code running this and it too is running fine...you too can test this by going here https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html clicking "Run" then go to "interact" and navigation > Set page then "Run" Again

 

 ...Suggesting something in your developers code

 

 

Highlighted
Regular Visitor
Posts: 17
Registered: ‎09-20-2018

Re: Web-hosted report: change page functionality is now broken

[ Edited ]

Thanks. Since posting this I have discovered that same method, namely a query string parameter to append to the url which specifies the page you want to see.  We were previously using the PostMessage method (another developer found this, I'm not sure where) and that is no longer working. 

 

I would add, though, that this information belongs in the documentation page for publish to web.