Hi,
How do I address in LPL code the condition where I don't want certain actors (roles) to see a menu item in LPL.
For example, Requester menu - hide the create requisition menu item if user has role "Requester_ST". We want to force the users to use the RSS LPL menu and sub menu options - shopping lists, etc. and not the create requisition form.
The visible when below produces an error - Expected a field or inline computation.
CreateRequisition //visible when (not actor.context.FinanceEnterpriseGroup.MenuVersion3)
visible when (!== (actor has role "Requester_ST"))
action is Requisition.Unreleased.Create
I know all of this goes away with WebApp consolidation and UI Access Control, but curious now since we just went live with RSS LPL and end users are still selecting "Create Requisition" when told not too. Need to hide for certain roles.
Thanks.
Jeff