Create a View#

A View is a model type that is used to provide an input form. A view instance does not store any data entered on its form on the system. Attributes and operations (workflows or tools) on these attributes can be defined.

Users with access to this model type for customization can manage views.

  1. Choose the hierarchy level for the model.

  2. Open the Views list view.

  3. Click Add on the button bar to open the Views input form.

  4. Enter a Name for the Attribute.

  5. Click Add adjacent to Attribute Properties to expand the selection.

  6. Enter one or more attributes (click Add as required to create other instances for the same attribute) where:

    1. Name - Used as reference target.

    2. Friendly Name - Optionally an alternative field label.

    3. Description - Optionally a documentation description of the attribute that also shows as a tool tip and on the on-line help page.

    4. Data Type - Choose from the drop-down-list. The selection modifies the available attribute properties for Array and Object data types. For a String data type, a number of options are available:

      • Maximum Length.

      • Version.

      • String Format - The selected String Format acts as an input filter on the string data in the data model.

      • Is Password? - if the data type will be used to enter a password. In this case the value will be masked on forms.

      • Is Mandatory? or Is Read-Only?.

        Note

        For fields that are marked read-only, these require an additional GUI Rule to provide this functionality. Since views are not designed to be updated, data in such fields would be for informational purposes.

      • Validation Regular Expression - that the string should meet. For example, “[a-z]{4}” without quotes specifies 4 characters in the range a to z in small case.

      • Default Value.

      For example, the format “Date (“YYYY-MM-DD”)” requires delimited numeric text input data in the specified format and input fails if the format does not meet the format).

      If the selected String Format is URI, additional controls are available to select a data-, domain- or device model (Target) attribute (Target Field) to be accessible in the created data model as a drop-down list of the Target Field attributes available in the Target model.

      For data type: Anything, Boolean, Integer, Null, Number, choose if the attribute Is Mandatory? or Is Read-Only? or has a Default Value. For each required input control to be available on the form, add an Attribute Properties entry of the required Data Type.

  7. Click Add adjacent to Choices and enter a Value and Title as required. Click Add to open up multiple instances if required.

  8. Click Add adjacent to Workflows to expand the selection, and enter the required Operation and Workflow parameters. Click Add as required to open additional instances of the required values.

  9. Click Save on the button bar when complete to save the created View.