Difference between revisions of "Advanced Logic"

From SmartWiki
Jump to: navigation, search
Line 12: Line 12:
 
To hide the Link button, in the Condition box enter the value 0
 
To hide the Link button, in the Condition box enter the value 0
  
[[Category:System Configurations]]
 
  
For samples of syntax to go in '''Condition box''', please see article [[Advance Logic |Advance Logic]]
+
'''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:
 +
 
 +
<nowiki>instr(concat(',','@me.rolelist@',','),',roleid#,')</nowiki>
 +
 
 +
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.'''
 +
 
 +
 
 +
[[Category:Global Settings]]

Revision as of 18:03, 13 May 2009

The Advanced Logic feature allows control of the visibility and/or access to interface elements such as buttons or tabs based on administrator defined conditions. This feature is available in the Universal Tracking Application's Setting's Page, the Global Settings Page and in the Transactions settings.

AdvancedLogic.png


Transactions

  • Link Button

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:

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.