Forum Discussion

Sunkari's avatar
Sunkari
Responsive Resident
10 years ago
Solved

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.

 

  • Sunkari

     

    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_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    Sunkari

     

    Were you talking about an embeded report in your application or in the Power BI Service?

    • Sunkari's avatar
      Sunkari
      Responsive Resident

      Eric_Zhang Embeded report my application, but any report is fine for me just i need to change image dynamically

      • Eric_Zhang's avatar
        Eric_Zhang
        Microsoft Employee

        Sunkari

         

        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?