- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2024 11:46 PM
Hello,
I have created a custom Submit button in a scoped application for a table. When the user clicks on the submit button, it will update an existing field and redirect to the list view. To hide the OOB submit button, I added the condition current.getTableName() != 'x_gsp_check' to the out-of-the-box submit button. However, my client has requested not to change any existing OOB elements. I have heard that we can use the override option to achieve this. I would like to know how to configure this without changing the OOB submit button. Please assist me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2024 12:40 AM
@Khalid9030, ensure the action name and name of the ui action is the same.
This will override it and then you can change the script field to meet your requirements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2024 12:26 AM
Hello @Khalid9030 ,
Go to the global submit Ui action.
Change the table name to "x_gsp_check".
Insert and stay.
Now you have your own button that will override the global button.
Thanks
Jake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2024 12:35 AM
@Jake Sadler
the OOB submit contains the script include and as i mentioned above custom submit button is created on the scoped application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2024 12:40 AM
@Khalid9030, ensure the action name and name of the ui action is the same.
This will override it and then you can change the script field to meet your requirements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2024 12:47 AM
Thanks for the reply,
what about the save button? i can see the two save buttons one is at the time creating the new records and another one is updating the existing record. how can we do override in this situation?