Changing the behaviour of the Related Records UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2024 04:19 AM
Hello!
I have an ask about changing the behaviour of a custom UI Actionform button called related records.
The ask is: if the incident record state is closed and a problem record has already been linked under the incident as a related record, then when the problem option is selected in the related record UI Action form button, an alert message will appear notifying the current user: "A problem record has already been linked. Please check before changing." (does not disable the ability to edit the linked problem record!)
So far I have made the following changes to the UI Page html script for the UI Action button. However, I'm not experienced in Jelly and it doesn't do what I want it to. All help and suggestions are welcome!