- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 11:00 PM
We have virtual agent chat in out home page of portal and we want it open/pop up automatically when page loading finishes. It there any way through programming or configuration setting to make it happen?
What exactly should be the code changes? I f somebody has done it earlier please paste it over here too.
Solved! Go to Solution.
- Labels:
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2020 08:05 AM
- Clone the out-of-the-box widget
- Apply the cloned widget to your Service Portal page or header/footer
- Update the Client controller and CSS script like below


If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 11:04 PM
Hi there,
You mean something like this? Where the Service Portal Virtual Agent widget is already open? Instead of first clicking the icon? Should it also be always open, or should you also still be possible to close the widget?
This would certainly be possible. Unfortunatley though, you would need to clone and edit the Service Portal widget. As this is not an instance option.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 11:45 PM
Yes I want it to be opened instead of clicking but user can close if they want.
I want to know what should be the code changes exactly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2020 08:05 AM
- Clone the out-of-the-box widget
- Apply the cloned widget to your Service Portal page or header/footer
- Update the Client controller and CSS script like below


If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 08:03 AM
Do you happen to know if this would create the interaction or chat record when the page loads? I'm asking because I have a use-case where I need to allow the service agents to initiate conversations with users logged in to the Service Portal, and I was given the suggestion that perhaps if the Virtual Agent could automatically initiate a chat on-load that we could then hijack the conversation from the Virtual Agent whenever a service agent needed to message one of the users through the chat box.
