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.760 students) : English | Português

View solution in original post

3 REPLIES 3
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.760 students) : English | Português

I got it right now!!Thanks!!

njoshi1
New Member

Hello,

 

Can you please guide me how to make these changes or rather where do we make these changes on chatbot to get avatar changed? Also, is there anyway we can change the avatar for user (user's picture from Teams or Azure Directory)?

 

Helpful resources

Announcements
Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

MS Build PVA Carousel 768x480.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development for Power Virtual Agents.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Kudoed Authors
Users online (2,733)