AnsweredAssumed Answered

How to use fn-IsMemberOfGroup

Question asked by sanderomeijn90 on Oct 6, 2017
Latest reply on Oct 10, 2017 by sanderomeijn90

Hello,

 

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?

 

Outcomes