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
jrichview
Helper I
Helper I

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?

1 ACCEPTED SOLUTION
chass
Impactful Individual
Impactful Individual

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

 

 

Chuck Sterling

View solution in original post

2 REPLIES 2
chass
Impactful Individual
Impactful Individual

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

 

 

Chuck Sterling

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.

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.

Top Solution Authors
Top Kudoed Authors