Difference between revisions of "Advanced Logic"

From SmartWiki
Jump to: navigation, search
Line 13: Line 13:
 
''For example, you can disable the '''Delete''' button when viewing '''Contacts''' for [[Users]] in a specific [[Role|role]] by using the '''Advanced Logic''' setting on the [[Global Settings]] page.
 
''For example, you can disable the '''Delete''' button when viewing '''Contacts''' for [[Users]] in a specific [[Role|role]] by using the '''Advanced Logic''' setting on the [[Global Settings]] page.
  
 +
If you wish to hide the Link button within '''Transactions''', in the condition box enter the value 0.
  
'''Transactions'''
 
  
* Link Button
+
'''Advance Logic''' controls various object visibility. This is currently available for: - the '''Level 2 Copy''' button. - '''Hide Notes''' at '''Level One''', '''Level Two''' and '''Level Three'''.
  
'''Example''':
 
 
To hide the Link button, in the Condition box enter the value 0
 
 
 
'''Advance Logic''' controls various object visibility. This is currently available for: - the '''Level 2 Copy''' button. - '''Hide Notes''' at '''Level One''', '''Level Two''' and '''Level Three'''.
 
  
 
i.e. Put the following into the '''Condition''' box:
 
i.e. Put the following into the '''Condition''' box:

Revision as of 18:13, 13 May 2009

Advanced Logic gives System Administrators a higher level of control over the entire interface.

This feature allows control of the visibility and/or access to interface elements such as buttons or tabs based on administrator defined conditions.

AdvancedLogic.png


This feature is available in 3 places:

  1. Global Settings to establish system-wide rules.
  2. Universal Tracking Application's Setting's Page
  3. Transactions settings.

For example, you can disable the Delete button when viewing Contacts for Users in a specific role by using the Advanced Logic setting on the Global Settings page.

If you wish to hide the Link button within Transactions, in the condition box enter the value 0.


Advance Logic controls various object visibility. This is currently available for: - the Level 2 Copy button. - Hide Notes at Level One, Level Two and Level Three.


i.e. Put the following into the Condition box:

instr(concat(',','@me.rolelist@',','),',roleid#,')

For example, instr(concat(',','@me.rolelist@',','),',9999,') OR instr(concat(',','@me.rolelist@',','),',1111,') where 9999 and 1111 are role ids.

Additonal Examples:

  • @status@=’new’:if the status is set to ‘new'.
  • 1=0 :setting the condition to be false every time and thus controlling the display of the object.