Xpath Constrian on Drop down Widget

1
I am trying to put a Xpath constrain [System.user='[%CurrentUser%]'] on Drop down widget to restrict  the enumeration list according to Current user but it is not accepting the Xpath contrain.
asked
1 answers
0

You cant constrain an enumeration with Xpath directly, there are other ways to restrict users of seeing specific enum values. See https://forum.mendix.com/link/questions/31 for some ideas.

If you are not trying to constrain an enumartion directly but through a referenced value that is linked to a user, you could use [YourModule.YourAssociationtoUser = '[%CurrentUser%]']

answered