- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2025 09:16 AM
Hello Everyone,
Virtual agent icon should display only for specific Domain(e.g xyz) for specific portal (csm), What is best practice, how many ways are there, should we control in widget?
please help.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2025 10:12 AM
Hi @VarshaSambha ,
that’s what i am saying, domain separation are not enabled on the portal (even if you have domain separation enabled in your instance just like script includes)
have you tried the clone logic and call widget based on logged user session logic by using VR widget instead portal agent configuration?
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2025 09:44 AM
Hi @VarshaSambha ,
I don't think you can control this to domain specific since Portal widgets, Portals, pages are domain independent however you can to specific page
Steps(There are many ways to add, one of it): Go to specific page, right click on the page > Page in Designer> From the widget list add Virtual agent service Portal widget as below
1)
2)
Hope this helps, if so
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2025 10:23 AM
Hi Hemanth,
Thank you for the reply,
I can add icon this for specific portal from the 'sp_agent_chat_config' table chat configurations, not required to add on page now a days, but i would like to make it vailable for spefific domain, even 'can view' for virtual agent widget user criteria doent work for me.
any other suggestions?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2025 10:10 AM
Hi @VarshaSambha ,
How do you check specific domain on portal?? do you check logged in user current domain if so
You can try this :
Clone HTML widget and check logged in user if condition met call the Virtual agent widget
you can refer this : https://www.servicenow.com/community/itsm-forum/call-a-widget-from-another-widget/td-p/755962/page/2
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2025 10:43 PM
Hi Hemanth,
Thank you for the reply.
As you mentioned the embedded widget, it’s not applicable in my case because I used the Agent Chat configuration to enable Virtual Agent for the CSM portal.
Here’s an article that explains ways to add the Virtual Agent icon for CSM:
https://www.servicenow.com/community/virtual-agent-nlu-articles/am-i-using-service-portal-agent-chat...
I’m not sure whether I should enable domain separation for this table 'sp_agent_chat_config' or change the approach I’m using to place the Virtual Agent on the portal.
Thank you.