How can i hide list context menu based on condition not satisfied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2018 11:43 AM
Hi,
I have created a custom UI Action -List context menu for a custom table. In this UI Action, I've provided a condition to the UI Action.
But when condition is not satisfied the List context menu, I can view list context menu action and when clicked I get the message "Security does not allow the execution of that action against the specified record".
Instead of displaying a message, I would like to hide the UI Action when the condition is not satisfied? How can I achieve it.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 11:26 AM
Hi Felipe,
Images are broken. Could you please send me ? I did not understand what the parameter "task_ci" means in that context. Since "current" object is not available, what is the parameter to send to the script include ?
Regards
Fabrício