- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I want to disable the search bar for users.
I'd like to implement this using no-code methods if possible. Are there any good ways to do this?
I want to allow users to access all other elements of the site.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
check this
How to hide search bar in the header of the employee center on specific pages?
also check this
Unable to Hide Search bar in Employee Center Header section
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @bonsai
Identify the page from where you want to remove search ( check the browser URL id )
Now go to Native UI , type service portal in navigation ->page -> Remove the Search widget (from that specific page)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
HI @bonsai,
I don't think we can set the visibility of the search bar without modifying the code in Header Widget.
If you want to disable it by changing the code below are the simple steps.
- Clone the Employee Center Header Widget that is used in the EC Theme Record.If it is different portal clone the header widget used in that portal theme.
- Comment out the below HTML Code after cloning the widget and save it.
- Replace the newly created header in EC-Theme record.
- Restricted Caller Access (RCA) record will be created as the script include(todoPageUtils) used is having caller restriction.By default the status of this record will be "Invalidated" change it to the "Allowed".
That's it Search bar will be disabled in the header menu.
If this works for you, please mark it as Helpful or Accept it as the Solution.
Regards,
Harish
