Remove Approve Button in List Context Menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2016 02:45 PM
Hi All,
I want to hide/remove the Approve button in List Context Menu when the State is No Longer required and also for particular approval_admin user.
I have given the condition:
cuurent.state == 'requested' && gs.hasRole('approval_admin') (With this Condition, The Approve Button should only be visible when the State is Requested)
But I see Approve button Option in List Context Menu after the State has changed to No Longer Required.
I have seen several questions on this issue in the Community but I did not find any luck in solving the issue. I would really appreciate if someone gives a right answer.
Thanks,
GK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2016 07:35 AM
You cannot use the current object in list context menu UI Action conditions.