cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Leeyong88
Advocate III
Advocate III

Change Avatar In my PVA BOT

Hi Everyone, 

 

Anyone has problem when changing Avatar image for BOT? I tried different URL it seems doesn't change.

 

const styleOptions = {

// Add styleOptions to customize web chat canvas
botAvatarImage: 'https://docs.microsoft.com/en-us/azure/bot-service/v4sdk/media/logo_bot.svg',
userAvatarImage: 'https://imgur.com/gallery/xuaBT44',

// Suggested actions
suggestedActionLayout: 'stacked',


};

UserAvatarUnchange.JPG

 

Any tips /suggestion to fix this ? 

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @Leeyong88 ,

 

You need to use the image like .png, .jpg, .svg, or something like that.

This URL is a website link: https://imgur.com/gallery/xuaBT44

You can use this image (I opened your website, click on the right mouse button, open image): https://i.imgur.com/xuaBT44.png 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

2 REPLIES 2
renatoromao
Super User
Super User

Hi @Leeyong88 ,

 

You need to use the image like .png, .jpg, .svg, or something like that.

This URL is a website link: https://imgur.com/gallery/xuaBT44

You can use this image (I opened your website, click on the right mouse button, open image): https://i.imgur.com/xuaBT44.png 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

I got it right now!!Thanks!!

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,727)