- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2023 05:29 AM
Hello - does anyone have advice or directions on how to get the Virtual Agent to be popped up and ready instead of having to click on it first in the service portal? Seems this should be OOB functionality. Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 07:06 PM
I prefer to use the footer that is part of my theme, so it is enabled across all of the portal. Also, this is how I handle my widget to get it to standout - Enable Virtual Agent Feature Bubble without SlideN... - ServiceNow Community.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2023 05:53 AM
Hi @User517509 ,
Hope you are doing great.
we need to modify the Service Portal widget that contains the Virtual Agent component. Follow these steps:
Identify the widget responsible for rendering the Virtual Agent component in the Service Portal. This widget is mostly named like "sp-portal-chat" or "sp-virtual-agent".
locate the JavaScript code that initializes the Virtual Agent component. It is mostly in client script side script
Modify the initialization code.
// Find the code that initializes the Virtual Agent
var virtualAgent = new GlideVirtualAgent();
// Add code to trigger the pop-up behavior
virtualAgent.popup(); // This line will trigger the Virtual Agent to pop up automatically
- Save and publish the widget.
Regards,
Riya Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 10:33 AM
This looks like an AI hallucination, GlideVirtualAgent doesn't exist 💀
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2023 06:00 AM
Thank you very much! I will give it a try in my DEV environment!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2023 06:05 AM - edited 06-11-2023 06:05 AM
It is now available OOTB without the need for modifying anything. Take a looks at Proactive Triggers, they are very easy to configure, this is a great overview video:
if Helpful please mark as Correct/ Helpful
Regards
Paul