FSM Mobile Element and Property Configuration Conventions

This topic explains how Field Service Management (FSM) Mobile handles element and property configuration. It covers defaults, static values, null, empty strings, omitted properties, Boolean values, parent-child relationships, value property behavior, and date defaults. The topic excludes internal callbacks and temporary runtime state, such as search text or loading state.

For more information, see the following topics:

Use the following conventions when you configure FSM Mobile elements and properties:

Note:

The string "any" has no special configuration behavior. It can be ordinary text in a property that accepts text, such as a label or placeholder.

Parent-Child Relationships

parent creates a parent-child relationship between a table element and one of its column elements. Follow these requirements:

  • Set parent only on a direct child of a table element.

  • Set the parent value to the top-level table element's name.

  • FSM Mobile places the child in each parent table row instead of displaying it as a separate top-level element.

  • Don't use parent to nest ordinary elements, create nested tables, or reference an element that is not "type": "table".

Value Property Behavior

The value property behaves as follows:

  • A static value sets the initial default only when FSM Mobile creates a record. It doesn't reset or replace an existing record's value.

  • If value is an expression, FSM Mobile calculates or updates it when the expression runs in the applicable default or change context.

  • The element type must accept the expression result.

Suppressing Date Defaults

Use the following rules for date and datetime elements:

  • When "value" is omitted, date uses the current date, and datetime uses the current date and time.

  • To leave a date or datetime element blank on a new record, set "value": "". FSM Mobile also normalizes null to "", but the empty string is more explicit and matches the stored blank representation.

Boolean Configuration

Use the following rules for Boolean configuration:

  • Configure Boolean properties, such as required, disabled, hidden, readonly, multiple, and stepper, with the unquoted literals true or false. Quoted text is invalid, and Boolean expressions must evaluate to true or false.

  • For backward compatibility, FSM Mobile accepts the exact static checkbox value strings "T", "F", "true", and "false" and converts them to Boolean values. This exception does not apply to properties such as hidden and required, which require unquoted true or false. FSM Mobile doesn't recognize "True" and "False" for a checkbox value.

Related Topics

General Notices