AnsweredAssumed Answered

Nested fn-IsMemberOfGroup

Question asked by bgarrett on Dec 29, 2016
Latest reply on Dec 30, 2016 by bgarrett

I am working on a form that has multiple panels hidden based on SharePoint groups. I know you can't use more than 2 on an expression in control settings. But I have read about using rules to hide the panel with an expression such as:

not(or(fn-IsMemberOfGroup(xx),fn-IsMemberOfGroup(xx),fn-IsMemberOfGroup(xx)))

I have 5 groups that these panels will be based off of, some panels will require up to 4 groups being able to view it. This condition works sometimes and other times it doesn't. Sometimes I have to rearrange the order of the groups to make it work. Sometimes it hides what it's supposed to but a random label will still be visible. And sometimes it just doesn't want to work with me at all!!! Anyone have any suggestions!? Thank you!

Outcomes