Page 1 of 1

Group Editor

Posted: 28 Apr 2017
by Mapleleaf
Hi,
I have a problem with the group editor.

I built a form for a special sharepoint-group called SB-BS.
When I pick the group SB-BS in the group editor as a sharepoint group everything works fine.
When I use a user-defined rule

IsCurrentUserMemberOfGroup('SB-BS'')

it doesn't work and the user gets the Form for all users. Rule validation says that the formula is valid.
Is there something wrong with my rule?

Re: Group Editor

Posted: 28 Apr 2017
by Dmitry Kozlov
Looks like you have a syntax error in your expression: left quote is single and the right is double.

Re: Group Editor

Posted: 04 May 2017
by Mapleleaf
OK. Sorry for that. I used single marks like this:

IsCurrentUserMemberOfGroup('SP-Group-Name')

The double mark was a fault when copying the code. Unfortunatly it still doesn't work, while it works when picking a single sharepoint-group from the other tab.

:?: :?: :?:

Re: Group Editor

Posted: 04 May 2017
by Mapleleaf
OK. The issue above is solved. It was a general problem with permissions on the list.

Now another question:

Is it possible to combine some rules e.g.:

IsCurrentUserMemberOfGroup('SP-Group-1') or IsCurrentUserMemberOfGroup('SP-Group-2') etc.

Re: Group Editor

Posted: 08 May 2017
by Dmitry Kozlov
Hi,
Sure, user-defined rules support complex conditions. Your rule should work fine:
IsCurrentUserMemberOfGroup('SP-Group-1') or IsCurrentUserMemberOfGroup('SP-Group-2')