How to restrict the Record Producers in the Portal Search option

jaisankar
Mega Contributor

Hello All,

How to restrict the Record Producers to search in the Portal Page.

These Records producers are from Order Guide- the users are searching with the specific Record Producer names in the Portal Search option and submitting the form. Since it is an order guide and the request is not redirecting to queue as per the script.

So, please let me know how to restrict the list of Record Producers(Order Guide) in the Portal Search Option.

Thanks,

Premfind_real_file.png

1 ACCEPTED SOLUTION

vidisha4
Giga Expert

Hello Jaisankar,

Yes, Modification of the Data Fetch Script in Search Source "Service Catalog will hide the record producer from search option.

Just include one encoded query in data fetch script:

sc.addEncodedQuery('sys_id!=3f1dd0320a0a0b99000a53f7604a2ef9'); // Sys_id of the record producer that you want to hide from search option.

 

Thanks,

Vidisha Srivastava

 

 

View solution in original post

8 REPLIES 8

Ruhi Jibhyenka1
Mega Guru

Hi,

You can achieve that by using user criteria.

Check out below links-

https://community.servicenow.com/community?id=community_question&sys_id=3ce90729db5cdbc01dcaf3231f96...

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/build/service-portal/concept/use...

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy.

Thanks,

Ruhi.

 

jaisankar
Mega Contributor

Hi Ruhi,

 

Is there any other way to accomplish this activity?

 

Regards,

Prem

vinothkumar
Tera Guru

Hello Jaisankar,

 

In Madrid release, they have given a new field, hide on Service portal. You can try by setting it to true

 

find_real_file.png

 

 

Hi Vinothkumar,

 

Thanks for the update!

 

I have made the option Hide on Service Portal as True. Still i'm able to search the record producers on Portal Page. But, if i click on the record producer it is saying "This item is not found or currently not available".

 

Is there any way to hide from the search list as well. I tried the below No Search option as well. But it is not working.

 

Regards,

Prem