Forum Discussion
Dynamically change page background image
Hi All,
I have a report which contains a background image. My requirement is this image has to be changed based client.
We have different client which have different client logo's for them.
Please provide your inputs on this.
There seems no such an API to allow to change the background, check the Power BI online API documentation.
As the report is embeded as an iframe in your web page, there seems some way to change iframe background, However I havn't succeeded doing it. I wish this may give you a start.
Or as a workaround, put the background picture on the top of the embeded report, it would be much easier, is this acceptable?
5 Replies
- Eric_ZhangMicrosoft Employee
- SunkariResponsive Resident
Eric_Zhang Embeded report my application, but any report is fine for me just i need to change image dynamically
- Eric_ZhangMicrosoft Employee
There seems no such an API to allow to change the background, check the Power BI online API documentation.
As the report is embeded as an iframe in your web page, there seems some way to change iframe background, However I havn't succeeded doing it. I wish this may give you a start.
Or as a workaround, put the background picture on the top of the embeded report, it would be much easier, is this acceptable?