1,how can i make documents to be viewed only by the people who got 2 roles in acl;2,@if(con1;act1;act0),how can i write 2 or more actions at the place act1?
Subject: 2 questions:about the role and @if
You can use the below formula in the action button of the view.
@if(@ismember(“[Role name]”;@userroles;False;True)
Make sure that u have to assign the role of the person in the ACL
Reg
Sethuraman Navakody
Subject: RE: 2 questions:about the role and @if
1,how can i make documents to be viewed only by the people who got 2 roles in acl;
I’m not sure what you mean:
Allow users who have at least one of two roles to view the document: Create a multi-valued Readers field and assign it with a “value” formula such as: “[role1]” : “[role2]”
Allow users to see the documents only if they are have both roles: You can’t; you would have to define another role that these users would be in.
2,@if(con1;act1;act0),how can i write 2 or more actions at the place act1?
@If(con1;@Do(act1a; act1b); act0)
Subject: RE: 2 questions:about the role and @if
I sign in to say thanks.For the 1st question,if i create another role,acl can’t .I used group to solve it because it can only use 75 roles in acl.
For the 2nd question, thanks too!
![]()