FlexAttr Object Formats
Include Page | ||||
---|---|---|---|---|
|
FlexAttr Object Properties
Required properties are in bold.
Property | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default | string | Specifies the default value for the field. If set, this value will be pre-populate on the mobile device. | |||||||||
Desc | object | This property contains a list of descriptions of the flex attribute for each required language. Each member pair consists of the language identifier (left side) and the text for the language (right side). | |||||||||
FlexAttrID ID | string | The unique identifier associated with this flex attribute definition. This is a customer defined value and as such the customer must maintain uniqueness. If a flex attribute ID is reused it essentially overwrites the existing definition with the same ID. | |||||||||
InputType | string | Identifies the type of input field for the FlexAttr. Valid values are:
| |||||||||
IsActive | boolean | Identifies if this flex attribute definition is active. If true , then the mobile application will continue to allow the data to be collected. If false , the definition will remain for historical reporting however, the mobile application will no longer prompt to collect the data.Valid values are:
| |||||||||
IsReq | boolean | Identifies if this FlexAttr is required to be filled in. Valid values are:
| |||||||||
Label | object | This object contains the label text for one or more languages. Each member pair within the object defines one language where the left side specifies the language code and the right side of the pair contains the label text for the language. | |||||||||
Max | decimal | Identifies the maximum value that can be entered for the custom field. If this property if not specified then no maximum value will be enforced. | |||||||||
Min | decimal | Identifies the minimum value that can be entered for the custom field. If this property is not specified then no minimum value will be enforced. | |||||||||
Precision | integer | Identified the maximum precision length for decimal custom field. If this property if not specified then no precision will be enforced. | |||||||||
Rules | object | Rules will be implemented in a future release. | |||||||||
Selections | collection | This object contains a collection of selection choices when the
|