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

Jack Littlewort
Giga Guru

There is an override field on the UI Action form. You would need to find which UI Action record corresponds to the one on the workspace and then put that in the override field. There are about 6 oob save ui actions so it might be trail and error

JackLittlewort_0-1699963283598.png

 

There are multiple 100+save buttons, also if I filter with table no save button visible for sn_risk_risk table, also not for task table so not sure which save action to choose

Hi @Azhar Tamboli 

 

I.e. reason we avoid this. May i know why you want to hide this. If it is not causing any issue to users, let keep it the way it is. Trouble shoot for hiding taking more time than keep it as it.

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

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

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