How can we hide cart icon on header in service portals depending on company in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 12:23 AM
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
}
}
Please advice how can we achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 08:35 PM
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 as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 09:03 PM
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