Changes

Jump to: navigation, search

Advanced Logic

192 bytes removed, 18:18, 13 August 2014
no edit summary
''For example, you can disable the '''Delete''' button when viewing '''Contacts''' at Level 1 for [[User]]s in a specific [[Role|role]] by using the '''Advanced Logic''' setting on the [[Global Settings]] page.
:[[Image:AdvancedLogicDCAdvancedLogicDCAugust2014.PNGpng|link=]]
''In the above example, users who are in {{roleid}} 1234 the role "Program Director" or {{roleid}} 1235 "Applicant" will be prevented from deleting contacts at Level 1{{l1}}.'' If the object being controlled is a button, the contents of the '''Caption''' field will replace the text on the button::[[Image:Advanced_Logic_Caption.PNG]]:[[Image:Advanced_Logic_Button.PNG]] The '''Message''' field is not currently used, it is there to allow future functionality
==Sample Conditional Statements==
* True for when current user is in the role IDs 1234 ''Program Director'' or 1235''Applicant'': instr('@me.rolelistinRole(Program Director)@',',1234,') OR instr('@me.rolelistinRole(Applicant)@',',1235,')
* False for when current user is in both IDs 1234 the roles ''Program Director'' and 1235''Applicant'': instr('!@me.rolelistinRole(Program Director)@',',1234,')=0 AND instr('!@me.rolelistinRole(Applicant)@',',1235,')=0
8,849
edits

Navigation menu