UI action showing after condition, but "Action not authorized" message is displayed after clicking on it

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2022 12:19 AM
Hello,
I have a related list on a contract called Entitlements. That related list has 2 UI actions, "Add" and "Remove" which are actually copies of "New" and "Edit" button but with slightly different conditions.
I have read different threads and changed the action names of the buttons but it still shows the message, so now I've changed the action names back to what they were.
On the contract form I have a checkbox called "Differential". My requirement is that If that checkbox is false, the buttons should appear.
My condition for the "Remove" UI Action is the following:
If I add the condition "&& current.contract.u_differential == false" to the current one, I can see the button on the related list, but when I click on it, the message "Action not authorized" appears.
I don't understand why it works perfectly before the added condition and it doesn't afterwards.
Any ideas?
Thank you,
Elena

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2022 03:09 AM
can you check if you have same UI action name anywhere in the Instance and try to rename the UI action name as mentioned in the KB article.
Regards
Sulabh Garg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 03:09 PM
was your issue resolved?