web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Unable to change icon image of Power Pages agent widget

(0) ShareShare
ReportReport
Posted on by

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.
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 85 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 54

#3
dgray304 Profile Picture

dgray304 39

Last 30 days Overall leaderboard