How to deactivate or hide 'Save as Draft' on catalog items

Community Alums
Not applicable

How to deactivate or hide 'Save as Draft' on catalog items that's enabled automatically on Washington DC.

I know we can set Hide 'Save as Draft' field to true on the catalog items, but I want to know if there's any other way to do it instead of updating each and every item.

1 ACCEPTED SOLUTION
9 REPLIES 9

HrishabhKumar
Kilo Sage

Hi @Community Alums ,

In ServiceNow, if you want to deactivate or hide the "Save as Draft" option on catalog items globally without updating each item individually, you can consider using UI Policies or Client Scripts.

 

1) UI Policies: Create a UI Policy that targets the "Save as Draft" field on catalog items and sets its visibility to false. This will hide the field from the UI.

 

2) Client Scripts: Write a client script that runs on the catalog item form and hides the "Save as Draft" field programmatically.

 

Both of these approaches allow you to apply changes globally without needing to update each catalog item individually. However, ensure to thoroughly test these changes in a non-production environment before deploying them to your live instance.

 

Thanks,

Hope this helps.

If my response proves helpful please mark it helpful and accept it as solution to close this thread.

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

Make this properties as false, if it doesn't exist then create it and make it false

glide.sc.enable.save_as_draft.portal

 

And the below to True

glide.sc.disable.save_as_draft

 

-Anurag

This is what i was searching, there must be some property. @Anurag Tripathi how you come to know about this, any document link?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************