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

AVEVA™ Asset Information Management

Create Query Forms

  • Last UpdatedNov 14, 2023
  • 5 minute read

To create a Query Form:

  1. Ensure that you have got the QueryFormCreation permission.

  2. Select the Query Forms icon in the Global Navigation Bar.

  3. Select the Create button from the bottom of the Query Form dialog.

    The Query Form Designer appears.

    Knowing the Query Form Designer

The Query Form Designer is a web-based tool built into AIM Dashboard that allows those with the appropriate permission to create pre-defined searches based on certain applicable types.

The Query Form Designer tool. The image is labelled with numbers that correspond to the table that follows.

The following table describes the various buttons or elements available on the Query Form Designer:

Icon

Description

Function

1

Configuration

The open Configuration menu.

Enables you to set specific options for this Query Form.

Specification

Description

No. of Columns

The number of columns shown in the Form View

Ignore Empty Values

If this check box is selected, then the clash should not occur and empty values must be ignored.

Compare as Numbers

If this check box is selected, then the clash does not occur for 3.6 and 3.60 as both are considered as identical.

For numbers, leading and trailing, spaces and zeros (trailing when after the decimal point) are ignored and if a number match is made, then no clash occurs.

2

Applicable Class Types

Enables you to select the classes of objects this Query Form should apply to.

3

Add

The Add button is selected and a list of field types are shown.

Selecting this displays a list of possible field types that can be added to the Query Form.

4

Default field

One default field is always added to a Query Form (ID). ID is the tag, document ID or other identifier used to uniquely identify an object within AIM. When you select the ID fields in a Query Form, they open a new tab within AIM Dashboard.

5

Save

Selecting this opens the Save Dialog.

6

Cancel

Selecting this closes the Query Form Designer without saving.

Selecting Applicable Classes

You must select the type of objects that the Query Form should search.

To select the applicable classes for a Query Form:

  1. Select the Applicable Types drop-down list to see all possible class types.

  2. Select the appropriate class type (for example, Equipment) from the list of values.

    The applicable types drop down list.

    After a class has been selected, you may add others by choosing the next from the list of Applicable Types.

    To remove a class, you may select thesymbol to remove it.

    Adding Fields to a Query Form

    To add a field to the query form:

    1. Select the Add button to display possible field types.

      The Add button and query form fields list both labelled in the UI.

      The following table lists the Query Form Fields and their descriptions.

      Query Form Fields

      Description

      ID

      Object identifier which will be selectable and will open in a new tab.

      Name

      The object’s name

      Context

      The object’s AIM context

      Revision

      The object’s revision label

      Type ID

      The object’s type identifier

      Type Name

      The object’s type name

      Alias

      The object’s aliases

      Incidental Type ID

      The type ID for its incidental class.

      Type Scheme

      The scheme type

      Lifecycle

      The object’s current lifecycle

      Attribute

      An attribute to display

      Related Item

      Display a related item (if present)

      Blank Field

      A blank space

    2. After you have added a field type, it places a new field onto the Query Form Designer.

    3. To remove a field type, select thesymbol next to it.

      Every field has a label. The default label is always the individual field types identifier. For example, ID is always default to the text ID. However, you can change the label.

    4. To do the label, select the Modify Label checkbox.

      After that, the label becomes editable.

      A label ready for editing.

      Depending on the type of field, there may be different options, as described in the following table:

      Options

      Description

      List Values

      Populates a drop-down list of values.

      Modify Label

      Enables you to change the displayed label.

      Match All

      Verifies the values of all the attributes with this name that belong to an object and its datasets, and only produces a match if they all have the same value.

      For example, use this option to find all objects where the attribute does not yet have a value either on the object or in any of its dataset by specifying an empty value and the Match All option.

      Note: Different Field Types may ask for additional information.

      Lifecycle

      Lifecycle requires the selection of a lifecycle group.

      The Lifecycle Select Group drop down box highlighted.

      Attribute

      Attribute requires selecting the source of the attribute. Item is the currently selected object’s own attributes, otherwise you must select a dataset that may be attached to the class object in which the attribute exists. Then you must select the individual attribute to display.

      In the following example, the item’s own attribute is being returned and the attribute is Action.

      Attribute selection options.

      Related Item requires selection of an association type and a class of object that may be related to the current class. You will then be asked to add fields from the associated object class to display.

      The Count Only checkbox enables you to return only the number of results rather than the values.

      Example Related Item options.

      Saving the Query Form

      After the query form has been built to your specifications, you can save the query form.

      To do so:

      1. Select the button to open the Save Query Form dialog.

        The Save Query Form dialog.

        Note: The Type cannot be changed.

      2. Type a unique ID for this query form. This is required.

      3. Type a Name that will represent this query form in the list of Query Forms. This is optional.

      4. In the Description text box, type a short description about this query form and its purpose. This is optional.

      5. Select the button to complete the save action.

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