Calculated field

This type of widget represents a field, where its value is calculated through a script or an aggregate query, depending on the field type choosen.

Settings

The available settings are described as below:

Label

This represents the human-readable widget name. It’s what appears in the UI when the header is displayed.

Name

This is the internal widget name, used as for database storage within entities.

The name must not contain special characters or spaces; only letters and numbers are allowed.

Type

The type of the field.

Multiplicity

Determines if it’s a single value or can be one or more.

  • One
  • Many

Value calculation

The calculated value for this field.

function(record, parentField, action) {
  return "My calculated value"
}