We want to hide the chat icon on the basis of user's company

Harshal Aditya
Mega Sage

Hello Experts - We want to hide the bottom right chat icon in the Employee Service Portal.

 

HarshalAditya_0-1781696874729.png

 

We can hide for all the users by updating below record, I just wanted to know if we can find on the basis of user profile.

HarshalAditya_1-1781698651543.png

 

Regards,

Harshal

 

 

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @Harshal Aditya 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0830796

 

 

esolution

  • To display the VA icon in the service portal using Agent Chat configurations(sp_agent_chat_config):

Uncheck the "Public" option and specify the required roles to ensure the VA icon is visible only to selected users.

  • If you are using Virtual Agent Service Portal Widget (sn-va-sp-widget) widget, please specify roles on the widget.

Follow knowledge article KB0960018.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron

@Harshal Aditya 

I think you can use script there and access logged in user sysid

based on that you can show/hide by returning true/false

Note: I haven't tried that in my PDI

see this link if it helps

How to show the chat bot of "Virtual Agent Service Portal Widget" for a specific users/group? 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader