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

AVEVA™ Work Tasks

Label

  • Last UpdatedJun 25, 2024
  • 4 minute read

Use Label control to show a label in your form. You can use labels to add information in your form.

Properties

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

Basic

Property

Description

Name

Name that identifies the control. This value is also used for the label of the control.

XML Node

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

  • Prefix with @ to use the value of the control as an attribute with the immediate parent node. For example, @FirstName.

  • Use / for a parent-child node configuration to uniquely identify a control in a form with multiple containers.For example, Employee/FirstName.

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

Note:
- If you use / to denote a parent which is not a container and the parent is at the same level as that of the child, then the XML node for the control is not generated.
- If you edit this value later, then it might affect the mapping between forms, lists, and workflows.

Description

Description for the control.

Tooltip

Message that appears when the pointer hovers over the control.

Display Text

Text for the control.

Appearance

Property

Description

Visible

Show or hide the control.

  • Select Yes to show the control.

  • Select No to hide the control.

    The default value is Yes.

Label Position

Position of the Name for the control.

  • Select Default to allow the system to align the Name. The system aligns the Name to the left of the control area or as specified by the container control.

  • Select Left to align the Name to the left of the control area.

  • Select Top to align the Name to the top of the control area.

  • Select Right to align the Name to the right of the control area.

  • Select Bottom to align the Name to the bottom of the control area.

  • Select Suppress to hide the Name for the control area.

    The default value is Suppress.

Note:
- If the value is Default and the control is placed on a container control, then the value of the Label Position property of the container control determines the position of the Name for the control.
- For example, if the value is Default and the control is placed on a Base Form with Label Position property set to Top, then the Name is aligned to the top of the control area.

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.

Alignment

Alignment of the Display Text with respect to the form.

  • Select Default to allow the system to align the Display Text. The system aligns the Display Text to the left of the form or as specified by the control.

  • Select Left to align the Display Text to the left of the form.

  • Select Right to align the Display Text to the right of the form.

  • Select Center to align the Display Text to the center of the form.

Width

Width in pixels for the control.

The default value is 0.

Note: If the value is 0, then the width of the control is set as per the default values.

Height

Height in pixels for the control.

The default value is 0.

Note: If the value is 0, then the height of the control is set as per the default values.

Retain Space

Reserve or remove space when the control is hidden.

  • Select Yes to keep space when the control is hidden.

  • Select No to remove space when the control is hidden.

    The default value is No.

Show Line

Show or hide a line below the text for the control.

  • Select Yes to show a line below the text for the control.

  • Select No to hide a line below the text for the control.

    The default value is No.

Advanced

Property

Description

ID

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

Include in Summary

Allow or deny a user to view the value in the Summary of a Base Form.

  • Select Yes to allow a user to view the value in the Summary of a Base Form.

  • Select No to deny a user to view the value in the Summary of a Base Form.

    The default value is No.

Note:
- This property is applicable only when the control is used on a Base Form with Repeating property set to True, and the form is viewed on a small form factor mobile device.
- For information about Summary of a Base Form, see Base Form.

Scripts

For information about using scripts, see scripting guidelines for Label control.

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