Announcements
Hi All,
I am looking to add a button on my custom angular website that will refresh the PVA webchat, similar to the refresh button in "Test your bot" section of PVA. How do I do this?
Hi jdriscollpro-
You would need to customize the Web Chat control to provide this behavior. It is open source and can be found here: https://github.com/Microsoft/BotFramework-WebChat.
Additional links:
https://docs.microsoft.com/en-us/power-virtual-agents/customize-default-canvas
https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-webchat-overview?view=azure-bot-service-4.0
Web Chat samples:
https://github.com/microsoft/BotFramework-WebChat/tree/main/samples#readme
@Kamrani thanks ! Do you have any specific example JavaScript code that isn't react framework for this? Would be greatly appreciated!
I don't think so.
This one shows how to clear conversation data after the bot has been idle but it also uses react.
https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/04.api/h.clear-after-idle
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 633
Vish WR 301
Haque 216