Calculated Extended Attributes
As an Administrator, you can use calculated Extended Attributes to enter expressions that contain numerical and logical operators. You can enter expressions in an Extended Attribute that reference other Extended Attributes. This provides your organization with a way to derive the value of fields from calculations and values of other attributes rather than just the value a user enters on a form.
Calculated Extended Attributes are regular Extended Attributes with the Field Type set to Calculated. You add, edit and delete Calculated Extended Attributes in the same way as regular Extended Attributes with the exception that the Field Type of existing Extended Attributes cannot be changed once created.
Add a calculated extended attribute
-
Click Admin > Extended Attributes .
-
Click the Name of the object where you want to add the calculated Extended Attribute then click Add.
-
In Field Type, select Calculated.
-
In Return Type, enter the type of data to be returned by the Expression. You can select:
-
Number: Enter the number of decimal places you want your calculation to return in Decimal Places.
-
Text
-
Date
-
Boolean
-
Lookup: Create a lookup list to use in the calculation. To add an Option, enter a Value then click Add. To update an Option, select it, enter the Value, then click Update. To delete an Option, select it and click Delete.
-
-
In Expression, enter the formula to calculate the field value and the data used in the calculation. You can enter Expressions with:
You can select a function and click Add Function to Expression to add them to your Expression.
Your Expression can include standard Operators.
Use the Xml Name of fields surrounded by curly braces when using them in an expression. For example, {customfielda} + {customfieldb}. Select an object from Download XML Names to obtain a list.
-
Click Validate.
If the Expression is valid message does not display, review the message and edit the Expression before repeating this step.
-
When complete, click Submit.