The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to Overwrite Update button function

Nirmala B
Giga Contributor

I have created customized table. In that I have to Overwrite Update button function. I'm not able to find the Update button in UI action list. Anyone help in how to overwrite function of Update button. 

1 ACCEPTED SOLUTION

bernyalvarado
Mega Sage

Hi @Nirmala B 

The UI action that you're looking for is here:

https://yourinstanceurl/nav_to.do?uri=sys_ui_action.do?sys_id=42df02e20a0a0b340080e61b551f2909

 

As others have mentioned, make sure you're aware of what you're doing. Don't modify this record but rather change the table field to your custom table and then do "Insert and Stay" so you can start working on the UI action with the additional operations you want to do in top of the out of the box update logic.

 

Thanks,

Berny

View solution in original post

12 REPLIES 12

Hey Nirmala,

you can give condition in condition field like below screen shot.

 set the condition to false Or Can Try current.getTableName()!='custom_table'

find_real_file.png

or you can give roles in require roles

find_real_file.png

kindly mark Correct and Helpful if applicable.

Regards,

Indrajit.

Hey Nirmala,

If this solves your issue you can mark answer Correct  so that thread gets closed and moved into solved to help others.

Kindly Mark Correct and Helpful if applicable.

Regards,

Indrajit.

Nirmala B
Giga Contributor

Hi @Indrajit 

Thank you for the response. It helped me in solution but it would be better if you could tell me how to hide update button only for my custom table on condition.

Example: If A=='true'{hide the update button of my table}