/
Duration

Duration

The duration field is used for time durations measured in hours, minutes, and seconds.

Field creation properties:

  • Label: To display on UI

  • Name: To save at backend, instance prefix will append in case of custom object

  • Required: You can set this field as required or mandatory. So, the record cannot be saved without entering the value in this field

  • Unique: If the field is set as unique then more than one record cannot be saved with the same value in this field

  • Minimum Time Duration <> Minimum: Set the minimum duration which can be entered while record creation

  • Maximum Time Duration <> Maximum: Set the maximum duration which can be entered while record creation. This can’t be less than the provided minimum duration

  • Time Format <> Format: This defines in which format the duration can be entered and displayed. However, the duration will be saved in the standard format supported by the database i.e., milliseconds

  • ReadOnly <> Read-only: You can set this field as read-only. Users can put the value in this field only while record creation

  • Sortable: Value in fields can be sorted in ascending or descending order on the listview if this is set as true

  • Default Value: You can set a default value to the field which can be updated or changed while creating the record

  • Help Text: This text will be visible at the top right corner of the field as a popover

  • Description: You can give the description of the field while creation

  • Access Feature

    • Queryable: Query can be performed on this field

    • Creatable: Record can be created with value in this field

    • Editable: Value in this field can be edited

Related content

Time
Time
More like this
Duration Field
More like this
Date/Time
Date/Time
More like this
Date
Date
More like this
Integer
Integer
More like this
Text
Text
More like this