Unable to change icon image of Power Pages agent widget
Shijo George
0
Reputation points
Hi,
I would like to change the icons of (out-of-the-box) Power Pages agent. I tried adding the lines of code shared in the Microsoft Learn documentation. But, when the code tries to update innerHTML, it fails to update and the HTML element is undefined.
Uncaught TypeError: Cannot set properties of undefined (setting 'innerHTML')
at HTMLDocument.<anonymous> ((index):1040:26)
I tried adding the JS code to both header and footer web templates, but nothing changed.
Any help on this? Thanks.
Microsoft Copilot | Other
Sign in to answer