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

AVEVA Enterprise SCADA

Add groups to a form

  • Last UpdatedApr 24, 2025
  • 2 minute read

The SubGroup element is used to create a group in a form. A SubGroup element must exist within a Group element.

To add groups to a form

  1. Navigate to the following directory and open the XML file for the form to which you want to add groups (as per our example, the file in question is farms.xml or farms.Alter.xml.

    %DNADataRoot%\ADE\config\ADE\DBEdit\Schema\[baseline | custom]

  2. In the file, locate the Group element under which you want to add the groups Input and Scale using the SubGroup element:

    <DataSetTable

    Name="farms"

    <Group

    Name="Input">

    <SubGroup

    Name="Control"

    Label="Control"

    IsArray="false"

    ToolTipText="Control related functions">

    <Field

    Name="input"

    RowLabel="Has Input"

    ColumnLabel="Has Input"

    ToolTipText=""

    IsCheckBoxString="true"

    CheckBoxStringFalseString="no"

    CheckBoxStringTrueString="yes"

    CheckBoxStringIndeterminantString=""

    TabOrder="120"

    IsRequired="false"

    IsReadOnly="false"

    IsVisible="true"

    DisplayWidthToUse="Minimum">

    </Field>

    </SubGroup>

    <SubGroup

    Name="Scale"

    Label="Scale"

    ComesAfter="Control"

    IsArray="false">

    <Field

    Name="flag_@alminh"

    RowLabel="Off-Normal Alarm"

    ColumnLabel="Off-Norm Alm"

    ToolTipText=""

    IsCheckBoxString="true"

    CheckBoxStringFalseString="no"

    CheckBoxStringTrueString="yes"

    CheckBoxStringIndeterminantString=""

    TabOrder="510"

    IsRequired="false"

    IsReadOnly="false"

    IsVisible="true"

    DisplayWidthToUse="Minimum">

    </Field>

    </SubGroup>

    </Group>

    </DataSetTable>

    For information on the attributes used in the SubGroup element, refer to SubGroup element attributes.

  3. Save and close the file.

  4. On the desktop, double-click the Windows PowerShell for DNA shortcut.

    Windows PowerShell for DNA opens.

  5. Execute the DBEditDisplaySchemaMerge command (refer to Merge all DBEdit XML files).

    The new Group and SubGroup elements appear on the form.

  6. Open the Advanced Database Editor (ADE), and verify that the tabs, groups, and columns are in the desired order.

  7. Add other elements to the Group element as needed.