I want to show / hide some controls based on the membership of the current user. the group i need to check is different per item, i need to check it based on a property (CountryName).
When i put the fn-ismemberOfGroup function in the expression as fn-IsMemberOfGroup("Norway"), it works fine. when i use the following expression the item property is never used, fn-IsMemberOfGroup("CountryName") however when i user a Common property it works fine.
Further i tried to use the fn-IsMemberOfGroup("CountryName") using a rule but that didn't work out either. Is it possible to use this function with a rule or expression at run time and put in a dynamic group name?
Solved! Go to Solution.
When i use the common variable instead of a named/hardcoded groupname it works fine.
Do you know if it is on the planning to support the named controls or item properties?