Properties that can be passed into the constructor for data/FieldExtension!FieldExtension.

interface FieldExtensionProperties {
    failureMode?: FailureMode;
    field?: string | Field | FieldProperties;
    format?: string;
    formatSettings?: FormatSettingsProperties;
    id?: string;
    searchable?: boolean;
}

Hierarchy (view full)

Properties

failureMode?: FailureMode
field?: string | Field | FieldProperties

The Esri Field object being extended.

format?: string

The field format specifier. This is a standard .NET-style format string containing a {0} placeholder that will be replaced by the actual field value.

formatSettings?: FormatSettingsProperties

Settings that affect how values are formatted. Depending on the type of field, some or all of these settings may not be applicable.

id?: string

The unique ID to assign to the entity. If not specified, one will be generated.

searchable?: boolean

Whether the field is searchable or not.