- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
******************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
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'
I updated OOTB Save button for Existing record and it was gone from INC table
Before
After
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
we have workspace configuration tab in ui action record, disable that so that ui action will no longer visible in workspace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
******************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
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'
I updated OOTB Save button for Existing record and it was gone from INC table
Before
After
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
