The following sections outline the available SugarLogic dependency actions.
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.
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.
|| Optional. The trigger for the dependency. Defaults to 'true'.
|| The list of fields to watch for change events. When changed, the trigger expressions will be recalculated.
|| Whether or not to trigger the dependencies when the page is loaded.
|| The list of dependencies to execute when the trigger expression is true.
|| The list of dependencies to execute when the trigger expression is false.
The SugarLogic ReadOnly action, located in ./include/Expressions/Actions/ReadOnlyAction.php, is used to determine if a field is editable or not based on a formula.
The SugarLogic SetOptions action, located in ./include/Expressions/Actions/SetOptionsAction.php, is used to set the options list of a dropdown field based on a formula.
The SugarLogic SetPanelVisibility action, defined in ./include/Expressions/Actions/PanelVisibilityAction.php, is used to determine the visibility of a record view panel based on a formula.
The SugarLogic SetRequired action, located in ./include/Expressions/Actions/SetRequiredAction.php, is used to determine if a field is required.
The SugarLogic SetValue action, located in ./include/Expressions/Actions/SetValueAction.php, is used to set the value of a field based on a formula.
The SugarLogic SetVisibility action, located in ./include/Expressions/Actions/VisibilityAction.php , is used to determine the visibility logic of a field based on a formula.
Last modified: 2021-02-17 02:44:13