Changes

Jump to: navigation, search

Advanced Logic

238 bytes removed, 18:18, 13 August 2014
no edit summary
'''Advanced Logic''' gives [[System Administrator]]s a higher level of control over the entire interface.
This feature allows control of the [[visibility ]] and/or access to [[Interfaces|interface]] elements such as buttons or tabs based on [[Administrator|administrator]] defined conditions.
[[Image:AdvancedLogicAdvancedLogicAugust2014.png|link=]]
==Location==
==Overview==
'''Object''': The object that is being controlled.<br />
'''Condition''': A logical statement that when true will make the object statement true, and when false will make the object statement false.
''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==
* Using role name vs. role id
'!@me.inRole(Organization Contact)@'
rather than
'instr('@me.rolelist@',',10733,')=0'
* 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
==See Also==
 
To see the options available for Advanced Logic settings, visit our [[Advanced Logic Options]] page.
 
* [[Boolean Operators]]
* [[UTA Settings Page]]
* [[inRole]]
For help constructing logical statements for '''Advanced Logic''':
{{Template:DeterminingIDs}}
 
To see the options available for Advanced Logic settings, visit our [[Advanced Logic Options]] page.
[[Category:Global Settings]][[Category:UTA Settings]][[Category:Universal Tracking Application]][[Category:Advanced Logic]]
8,849
edits

Navigation menu