Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Form

  • Last UpdatedJun 25, 2024
  • 5 minute read

Use Form as a basic container to place other containers and controls.

Properties

The properties for the form are grouped under the following tabs:

Basic

Property

Description

Name

Name that identifies the form. This value is also used for the title of the form.

XML Node

XML node mapped to the form. Use this value to map a list to a form and a form to a workflow.

The default value is the value for the Name property without the spaces.

Note: If you edit this value later, then it might affect the mapping between forms, lists, and workflows.

Description

Description for the form.

Show Save Button

Show or hide the save button for the form.

  • Select Yes to show the save button for the form.

  • Select No to hide the save button for the form.

    The default value is Yes.

Save Button Text

Text for the save button of the form.

The default value is Finish.

Appearance

Property

Description

Label Position

Position of the label for the child control.

  • Select Default to allow the system to align the label for the child control. The system aligns the label to the left of the child control.

  • Select Left to align the label to the left of the child control.

  • Select Top to align the label to the top of the child control.

  • Select Right to align the label to the right of the child control.

  • Select Bottom to align the label to the bottom of the child control.

  • Select Suppress to hide the label for the child control.

    The default value is Default.

Note:
- This property is applicable only if the Label Position property for the child control is set to Default.

- For example, if the Label Position property for the child control is set to Default and the Label Position property for the Base Form is set to Top, then the label for the child control is aligned to the top of the child control.

Label-Control Area

Area occupied by the label and the control in percentage.

  • Select Default to allow the system to set the label and the control areas.

  • Select Custom to specify the label area. The control area is automatically set based on the label area.

    The default value is Default.

Note:

- If the value is Default and the control is placed on a container control, then the value of the Label-Control Area property of the container control determines the area of the label for the control.

- This is applicable only when the Label Position is set to Left or Right.

Auto-size Window

Allow or deny the system to automatically size the window to the available screen size on form load.

  • Select Yes to allow the system to automatically size the window to the available screen size on form load.

  • Select No to deny the system to automatically size the window to the available screen size on form load.

    The default value is No.

Note:

- When the Auto-size Window is set as Yes, the following forms appear as screen size on form load:

- Preview form
- Fill form
- Invoke form
- Reports
- Submitted form
- Pop-up form, where the form is set as Pop-up


- For a form set as Inline form, the Auto-size Window property not applicable.


- When the Auto-size Window is set to Yes, and Maximize the window on load of Invoke Form activity is set to No, the Auto-size Window value overrides the Invoke Form activity value.

- While creating a list item, the Auto-size Window property is not applicable even if the Auto-size Window property for the list associated form is set to Yes.

Desktop View Only

Turn off the UI adjustment based on the screen width.

  • If the value is set to Yes, the view generated for the Form is not responsive, even if the value of the Adapt UI property at the container level is set to Yes.

  • If the value is set to No, the view generated for the Form is responsive. You can change the responsiveness at the container level using the Adapt UI property.

    The default value is No.

Delay the Loading of Containers

Display contents when the container controls are accessed.

  • Select Yes to display the content of the container controls only when the controls are accessed.

  • Select No to always display the content of the container controls.

    Consider a scenario where Delay the Loading of Containers option is enabled and a Data Grid with Behavior property is set as Data Source. When a script is used for the Options property to add options for Drop-down control, data will not be loaded in the drop-down control until the data grid is loaded.

    For more information on Options property, see Options.

Note:
- This property is applicable only if the Desktop View Only property is set to Yes.
- This property is not supported in Work Tasks Pro App.

Advanced

Property

Description

ID

Reference identification code for the control. This value is automatically generated and cannot be changed.

Submit Form with Enter Key

Allow or deny a user to submit a form by pressing the Enter key.

  • Select Yes to allow a user to submit the form by pressing the Enter key.

  • Select No to deny a user to submit the form by pressing the Enter key.

    The default value is Yes.

Note:
- This property is applicable only if the Button Type property of Button control is set to Submit.
-If there are multiple Submit buttons in the form, then the submit action with Enter key is performed on the first Submit button.
- If the Submit button is the first control in the form, then point the cursor to the input controls and then press the Enter key to submit the form.

Forms Parameters

Form-level variables for use in workflows.

For information about using Forms Parameters, see Forms Parameters.

MQTT Topics

Access external data through MQTT for use in forms.

  • Click the Add button to add MQTT topic. Then click the Settings button to configure the topic.

    For more information, see MQTT Topic Configuration.

Enable Action Bar

Enable or disable Action bar during run-time.

  • Select the No check box if you do not want the Action bar to be enabled.

  • Select the Yes check box if you want the action bar to be enabled.

    When you select Yes, the Action Bar section appears.

    For information about enabling action bar, see Action Bar.

Scripts

Property

Description

On Form Load

Run a script when a form is loaded.

For more information, see scripting guidelines for On Form Load event

TitleResults for “How to create a CRG?”Also Available in