Can Contain | ( <property> | <properties> )* |
Allowed In | <app>, <properties> or <property> (only within <topic>) |
Name | Required | Description | ||
datatype | yes | The datatype for this property. This defaults to string. Valid datatypes include: string number boolean date timestamp = currently only available within topic payloads enum = an enumerated list of valid values. You set the values that users can select from in the possiblevalues attribute. any = any valid datatype is accepted for this property. object = a complex property only allowed within topic payloads. This is the default type for topic payloads. | ||
defaultvalue | An optional default value to use for this property if it is not otherwise specified. | |||
isinput | Determines whether this property is treated as an input parameter for the app (true). This defaults to false. This attribute is used in combination with the visibility attributed to determine access to the property in different contexts. See Controlling Property Access and Visibility for details. | |||
label | An optional label to display to users for this property.
| |||
name | yes | The name of this property. | ||
possiblevalues | A short list of a valid values, separated by commas, for this property. This only applies if datatype = ’enum’.
| |||
required | Determines whether this property must be supplied true or not for the app to run successfully. This defaults to false.
| |||
tooltip | A short, optional description to use as a tooltip or hint to users for this property.
| |||
validation | For string properties, the basic validation rules to apply when users enter a value. Valid validation rules include: any = no validation is applied. This is the default. alphanumeric = must be an alphanumeric character. alpha = must be an alphabetic character. numeric = must be a number.
| |||
visibility | Can be visible, read-only or hidden. This determines visibility and user access to a property, in combination with the isinput attribute in several different contexts. See Controlling Property Access and Visibility for details. |
Note: | These attributes do not control programmatic access to app properties. |
Note: | In earlier releases, this use required that the property have its visiblity hidden. This is no longer required. Instead, you can hide input forms for apps in workspaces in Mashboard. See Hiding Input Forms for Apps in a Workspace for instructions. |
Note: | In earlier releases, this use required that the property have its visiblity hidden. This is no longer required. |