The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Virtual agent icon should display only for specific domain for specific portal, please help

VarshaSambha
Tera Contributor

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.

 

1 ACCEPTED SOLUTION

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?

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

View solution in original post

5 REPLIES 5

Hemanth M1
Giga Sage
Giga Sage

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)

 

HemanthM1_0-1754498600784.png

2)

HemanthM1_1-1754498664668.png

 

Hope this helps, if so

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

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?

 

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

 

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

 

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.