Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Disable all catalog items from submitting from backend

Prudhvi Raj4
Tera Guru

Hello Team,

 

I have a requirement to disable the user to submit catalog items from backend they should only submit from portal. I can write a Onsubmit catalog client script and restrict it but the issue here is we have around 400+ catalog items so want to check is there any other way to do this? or need to create catalog client script for each catalog item? Please suggest.

 

Thanks,

Prudhvi

1 ACCEPTED SOLUTION

Prince Arora
Tera Sage

@Prudhvi Raj4 

 

You can do one thing, you can create a variable set and write onSubmit client script on that and add that variable set in all the items as follows.

 

PrinceArora_0-1687970269321.png

 

 

Click "Edit" on "included in" and add all catalog items in that

View solution in original post

2 REPLIES 2

jMarshal
Mega Sage

How are they accessing the catalog in platform ("backend") as it is currently? - you can restrict that access...for instance, set the visibility of the 'catalog' module in UI16 nav menu to require a role they don't have (like 'admin')...

Prince Arora
Tera Sage

@Prudhvi Raj4 

 

You can do one thing, you can create a variable set and write onSubmit client script on that and add that variable set in all the items as follows.

 

PrinceArora_0-1687970269321.png

 

 

Click "Edit" on "included in" and add all catalog items in that