How to enable write for "no_search" column for Catalog Items that are Standard Change Templates?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2023 07:44 AM
I have a requirement to prevent users from searching for Standard Change Templates within Service Portal Search (and search in general) so that they are required to select them from a menu rather than searching.
I have identified the "no_search" column for Service Catalog items. I believe this would satisfy my requirement and I wish to enable this field (false -> true) for our Standard Change Templates (catalog items). However, I am unable to write to this field even with security_admin role and catalog_builder_editor role. I have tried enabling System Security Debugging but it does not show any actions with prevented access (all actions appear green, none appear red). I have reviewed the ACLs for sc_cat_item and std_change_record_producer. I have reviewed the UI Policies and Data Policies, and UI Scripts but I can't find anything applicable.
I am able to write to the "No search" column for other Service Catalog items. It appears it is only the catalog items for our Standard Change Templates that security prevents me from writing.
How do I enable "No Search" for Standard Change Template catalog items?
(In the example below I cannot write to the "C..... UNBLOCK Request" Standard Change Template catalog item. But I can write to Apple iPhone 6s)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2023 01:49 PM - edited 05-23-2023 09:13 AM
-----N/A-----
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2023 09:12 AM - edited 05-23-2023 09:14 AM
The solution is to enable "Hide on Service Portal" from the Record Producer definition.
Thanks to @Steven Parker for answering this in a related question:
Solved: Re: Prevent specific records from appearing in Ser... - Page 2 - ServiceNow Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2023 10:12 AM
I'll reply here so you can mark this as correct for everyone:
Go to the Record Producer table, add columns "Table Name" and "Hide on Service Portal" if there are not currently available in the list view. Then just filter the Table column to things you would like to hide (I filtered Table Name by *std_ - Standard Change Proposal in my example below) and make "Hide on Service Portal" true.
You can do the same thing on the Service Catalog -> Maintain Items if there are certain catalog items you want to hide.
Please mark this response as correct and/or helpful if it assisted you with your question.
Steven