Enable save button globally but there are custom ui actions on few tables resulting in 2 save button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2022 04:13 AM
We have a requirement to enable save button globally , I have followed knowledge article from ServiceNow (https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0720548) and added context menu save button as form button but on few tables, custom save button was already created and resulting in 2 save buttons on few forms. Normally custom ui actions at table level will over ride global ui action but it is not happening. Any idea why? and best solution to fix this across multiple tables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2022 04:25 AM
Hello @RC19 , try appending a condition in global save button for the existing visibility condition to exclude your custom tables
current.getTableName()!="your_custom_Table";
Hope this helps
Mark my answer correct if this helps you
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2022 06:35 AM
Hello Mohith,
Thanks for your reply. May be we can do this but the count of tables on which custom ui action created is more i.e., around 50+ so any more suggestions ? and will it be like if the ui actions are created on different scope than the global one then it wont over ride that global one ? any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2022 06:42 AM
@RC19 i dont think it will over ride .
but if both the UI actions are serving the same purpose of saving the form then can you deactivate the custom one and keep the OOB one ?