Disable 'Save' button / ui action in workspace

Azhar Tamboli
Tera Contributor

How to remove workspace save ui action, for a specific table upon creation of new record?

I came across a requirement where I need to remove the OOTB save button and replace with a custom button where it opens a modal asking to provide a justification

 

Question - How to disable OOTB save ui action, I have added new custom ui action with justification, can anybody help me with that? 

Thanks in advance 


So red needs to be disabled and yellow is mine new custom one

AzharTamboli_1-1699962382011.png

 

 

1 ACCEPTED SOLUTION

Mohan Mallapu
Kilo Sage

@Azhar Tamboli   

Here you go , 
1.Simply open the OTTB 'save' ui action  where workflow check box are enabled,  then right click on the header and click insert and stay,
2.Change the table name according to you requirement (here that is risk table).
3. Remove the conditions & script ( both should be empty).
4. In the UI action, Uncheck all the visible option( we should not check any visible option).
5. In the workspace section , Uncheck everything.
6. save the UI action and check in the work space.
I have tried it the above in my PDI and it is working as expected.


Mark my answer Helpful & Accepted if I have answered your question.

Thanks,
Mohan

View solution in original post

7 REPLIES 7

Azhar Tamboli
Tera Contributor

@Mohan Mallapu  Thanks, although the save button is not visible in ui actions of table. it is somethoing default for all records in workspace, hard to find for me

 

@Azhar Tamboli   to find the OOTB Save UI action which is visible in workplace, please follow the below steps.

1. open the UI Action table -- > Create a filters like below
  Name =  save and Table = global and workspace form button = true 
2 . based on the above condition you can find the global Save  UI action which is visible in all the workplaces. 
3. Open the UI action which was created by ''admin'' and then follow the steps which i have already given.

if you haven't find the ui action based on above conditions, here is the global save ui action link : https://yourPDIID.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=6787ab060bb303008e64aabcb4673abf

Mark my answer Helpful & Accepted if I have answered your question.

Thanks,
Mohan

harshav
Tera Guru

OOB save button is on the global table and if you want to override it on specific table then create an UI action on that table and add an action name "sysverb_update_and_stay" in the column