Custom UI action
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 06:22 AM
Hi Community,
I need to create a new UI Action with name "Revert Change(s)", the functionality:
if we change any field value, so before saving record, by clicking this button
button should revert all the changes we applied on incident table . i tried this:
thanks in advance!
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 11:18 AM - edited 06-27-2024 11:19 AM
@jimk32 Please remove "!current.update()" and add the script "action.setRedirectURL(current);". It will reload the page and changes will not be saved.
Mark this helpful if it works for you