Difference between revisions of "Advanced Logic"

From SmartWiki
Jump to: navigation, search
Line 5: Line 5:
 
[[Image:AdvancedLogic.png]]
 
[[Image:AdvancedLogic.png]]
  
 
+
==Location==
 
This feature is available in 3 places:
 
This feature is available in 3 places:
 
# [[Global Settings]] - to establish system-wide rules.
 
# [[Global Settings]] - to establish system-wide rules.
Line 16: Line 16:
 
  The '''Links''' button allows a Transaction to be linked to UTAs when viewing the Transaction.
 
  The '''Links''' button allows a Transaction to be linked to UTAs when viewing the Transaction.
  
 +
==Overview==
  
  
Line 33: Line 34:
 
'''instr(concat(',','@me.rolelist@',','),',9999,') OR instr(concat(',','@me.rolelist@',','),',1111,')'''                                where 9999 and 1111 are role ids.
 
'''instr(concat(',','@me.rolelist@',','),',9999,') OR instr(concat(',','@me.rolelist@',','),',1111,')'''                                where 9999 and 1111 are role ids.
  
'''Additonal Examples:'''
+
==Sample Condition Statments==
* '''@status@=<nowiki>'</nowiki>new<nowiki>'</nowiki>''':if the status is set to <nowiki>'new'</nowiki>.
+
 
 
* '''1=0 ''':setting the condition to be false every time and thus controlling the display of the object.'''
 
* '''1=0 ''':setting the condition to be false every time and thus controlling the display of the object.'''
 +
 +
* '''<nowiki>'@opportunity.typename@'<>'Template Name'</nowiki>
 
* '''<nowiki>'@opportunity.statusid@'='765'</nowiki>
 
* '''<nowiki>'@opportunity.statusid@'='765'</nowiki>
 
* '''<nowiki>'@opportunity.statusid@' In ('765','766')</nowiki>
 
* '''<nowiki>'@opportunity.statusid@' In ('765','766')</nowiki>
 
* '''<nowiki>'@opportunity.statusid@' Not In ('765','766')</nowiki>
 
* '''<nowiki>'@opportunity.statusid@' Not In ('765','766')</nowiki>
* If you want a statement that is never true put 1=0 into the condition box.
 
  
 
[[Category:Global Settings]][[Category:Universal Tracking Application]]
 
[[Category:Global Settings]][[Category:Universal Tracking Application]]

Revision as of 16:40, 28 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

Location

This feature is available in 3 places:

  1. Global Settings - to establish system-wide rules.
  2. Universal Tracking Application's Setting's Page - for rules specific the each UTA.
  3. Transaction Types page - for both People and Company Transaction Types


Advanced Logic on Transaction Types only has one control:
It allows you to show/hide the Links button for individual Transaction Types.
The Links button allows a Transaction to be linked to UTAs when viewing the Transaction.

Overview

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.


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.

Sample Condition Statments

  • 1=0 :setting the condition to be false every time and thus controlling the display of the object.
  • '@opportunity.typename@'<>'Template Name'
  • '@opportunity.statusid@'='765'
  • '@opportunity.statusid@' In ('765','766')
  • '@opportunity.statusid@' Not In ('765','766')