Changes

Visibility Condition

6 bytes added, 20:06, 13 August 2014
no edit summary
* To make a Contact field visible only to the contact and to System Administrators (''[[roleid]]'' 12345):
"@me.userid@"="@userid@ " OR @me.inRole(System Administrator)@
* To make a field visible to a role (''[[inRole]]'' Reviewer):
* To hide the field for new Level 1 records until they have been saved once
"@opportunityid@">0
* For an '''OR''' condition use two pipes (|)
'"@status@' " = '"Closed' " || "@me.fullname@"="Jane Doe"
''The above field will be visible either if the status of the record is ''Closed'', OR if the user viewing the record is named ''John Doe''.''
* For an '''AND''' condition use two ampersands (&)
'"@status@' " = '"Closed' " && "@me.fullname@"="John Doe"
''The above field will be visible only if the status of the record is ''Closed'' AND the user viewing the record is named ''John Doe''.''
* You can also use a combination of these, using brackets to control the order of validation:
( '"@status@' " = '"Closed' " || '"@status@' " = '"Cancelled'") && ("@me.fullname@"="John Doe" || "@me.fullname@"="John Deer" || "@me.fullname@"="Dear John")
''The above field will be visible only if the status of the record is either ''Closed'' OR ''Cancelled'', AND the user is one of the 3 named users.''
0
edits