1. Default Values

    Default Values

    Attribute definitions on Objects and Lists support default values which are used to pre-populate Record and Entry values.

    There are two kinds of default value: static and dynamic.

    Static values are raw values that are used directly without transformation. For example, you might want to always fill the “Deal Status” property on new Entries .in your “Sales” List to the value “Lead”.

    Dynamic values are used to generate values on the fly, depending on context. For example, you might want to fill in an “Owner” property to the current user, or set a due date to one week in the future.

    Static values are supported on all Attribute Types. The identifier property on default values must match the type of the Attribute. These types are documented in our endpoint reference docs.

    Dynamic values take the form of a string. The currently supported list of dynamic value identifiers, broken down by Attribute Type, is as follows:

    • actor-reference

      • current-user

    • timestamp, date

    Other Attribute Types do not currently support dynamic default values.