Let the platform do the work

Dependency Actions

Overview

The following sections outline the available SugarLogic dependency actions.

Dependency Parameters

Dependency definitions will generally contain most, if not all, of the parameters displayed in the table below. The following sections will outline each dependency action as well as dependency specific parameters.

Parameter Type Description
hooks  Array

 The views to execute the trigger on. Possible values are: "edit", "view", "save" and "all".   If you include 'save' or 
'all' then SugarCRM will try to save the calculated value to the database.  So if your dependency is display only then only include the views that it will show up on.

trigger  String  Optional. The trigger for the dependency. Defaults to 'true'.
triggerFields  Array  The list of fields to watch for change events. When changed, the trigger expressions will be recalculated.
onload  Boolean  Whether or not to trigger the dependencies when the page is loaded.
actions  Array  The list of dependencies to execute when the trigger expression is true.
notActions  Array  The list of dependencies to execute when the trigger expression is false.