Group Editor
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?
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?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Looks like you have a syntax error in your expression: left quote is single and the right is double.
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.

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.



- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Sure, user-defined rules support complex conditions. Your rule should work fine:
IsCurrentUserMemberOfGroup('SP-Group-1') or IsCurrentUserMemberOfGroup('SP-Group-2')
Sure, user-defined rules support complex conditions. Your rule should work fine:
IsCurrentUserMemberOfGroup('SP-Group-1') or IsCurrentUserMemberOfGroup('SP-Group-2')
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests