How to Hide the Out-of-the-Box Save Button in the Source-to-Pay Workspace Based on State?

hamatu
Tera Contributor

We are investigating whether it is possible to hide the standard Save button (OOTB Save button) in the Source-to-Pay workspace based on the record’s status.

 

Is it possible to modify the out-of-the-box (OOTB) Save button using UX Client Scripts and GlideAjax?

 

Is it impossible to hide the OOTB Save button using client scripts or UX Client Scripts without modifying the HTML via DOM manipulation?

 

Also, if it is possible to hide it using UX Client Scripts and GlideAjax, I would appreciate it if you could explain how to do so.

 

If you know of a method, I would appreciate your guidance.

 

Thank you in advance.

 

hamatu_0-1791352316287.png

 

2 ACCEPTED SOLUTIONS

Dr Atul - LNG
Tera Patron

Hi @hamatu 

 

Technically I hv no solution for this now, but from process side I think it is not a good or valid use case. Save Button given by design and ootb to help agent to stay on page or form instead of opening it again from start 

If you remove save Button then how agent will save a record? There is no way so keep this button and avoid any technical debt.

****************************************************************************************
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
******************************************************************************************

View solution in original post

Ankur Bawiskar
Tera Patron

@hamatu 

As already informed by me you should control the visibility of the button using Table level WRITE ACL

if you still want to hide then check the OOTB UI action "Save" on global table and try to hide by updating conditions in both the UI actions as this

Existing Condition && current.getTableName() != 'yourtable name'

Screenshot 2026-10-07 113648.png

I updated OOTB Save button for Existing record and it was gone from INC table

Before

before showing save button in SOW.png

After

after save button gone.png

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

5 REPLIES 5

kalangiraghva
Tera Contributor

we have workspace configuration tab in ui action record, disable that so that ui action will no longer visible in workspace. 

Ankur Bawiskar
Tera Patron

@hamatu 

if user doesn't satisfy Table.None WRITE ACL then they won't see the Save button

Why to hide that button?

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Dr Atul - LNG
Tera Patron

Hi @hamatu 

 

Technically I hv no solution for this now, but from process side I think it is not a good or valid use case. Save Button given by design and ootb to help agent to stay on page or form instead of opening it again from start 

If you remove save Button then how agent will save a record? There is no way so keep this button and avoid any technical debt.

****************************************************************************************
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
******************************************************************************************

Ankur Bawiskar
Tera Patron

@hamatu 

As already informed by me you should control the visibility of the button using Table level WRITE ACL

if you still want to hide then check the OOTB UI action "Save" on global table and try to hide by updating conditions in both the UI actions as this

Existing Condition && current.getTableName() != 'yourtable name'

Screenshot 2026-10-07 113648.png

I updated OOTB Save button for Existing record and it was gone from INC table

Before

before showing save button in SOW.png

After

after save button gone.png

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader