How can we hide cart icon on header in service portals depending on company in ServiceNow

Ankita Gupte
Kilo Sage

We have cart icon on header menu of Service Portal, this can be hide if we set below value to false but I want it to hide only when logged in user is from company A. for logged in user from other company except A it should be visible.

 

{
"enable_cart": {
"displayValue": "true",
"value": false
},
"enable_wishlist": {
"displayValue": "true",
"value": false
}
}

 

AnkitaGupte_0-1705998184457.png

Please advice how can we achieve this

2 REPLIES 2

Abbas_5
Tera Sage
Tera Sage

Hello @Ankita Gupte,
Please refer to the  below link's:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0715399
https://www.youtube.com/watch?v=0Dou-n1rq3U

 

Mark my correct and helpful, if it is helpful and please hit the thumbs-up button to mark it as the correct solution.
Thanks & Regards,
Abbas Shaik

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Out-of-the-box what you are asking is not possible. You either enable it, or disable it. Having a condition, like from which company, is just not an option.

 

You surely can build such custom, though what would require knowledge of widgets and time, really up to you if you want to do that.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn