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

AVEVA™ Engineering

Create a Flexible Explorer Template Definition

  • Last UpdatedApr 10, 2024
  • 4 minute read

The Flexible Explorer Template definition (PBSTPL) element represents the root of a single Project Breakdown Structure (PBS) and appears in the resulting hierarchy as a root node. A PBSTPL element must be created below a Flexible Explorer Template World (PBSWLD) element.

To create a PBSTPL element, on the Home tab, in the Create group, select Create from the displayed drop-down list select PBSTPL: Flexible Explorer Template definition. A PBSTPL element is created and displayed in the Dictionary Explorer.

When a new element is created in the dictionary hierarchy using the Dictionary Explorer and if the Current Element Editor window is open, it automatically updates to display the default attributes for that element.

Note: If the Current Element Editor window is not open, right-click in any Explorer window and select Current Element Editor.

After the creation of a new PBSTPL element, use the Current Element Editor window to populate the attributes in the Current Element Editor.

Note: Dependent upon the attribute, other related attributes are enabled or disabled accordingly.

Full Name

The full name of the element is populated by the application and cannot be modified.

Name

Input a valid short name for the element in the text box, special characters are not allowed.

Description

Input a brief description of the element (can contain up to 120 characters of text).

Flexible Explorer Text

Input a value to specify the display text on the root node of the hierarchy.

The text can contain any of the attributes of the element such as Name and Description, or any other valid PML1 expression.

For example:

NAMN + ' - ' + DESC

The syntax places a dash (-) between the name and description of the element.

Another example is:

<ISNAMED ? NAMN : TYPE + ' ' + STRING(TYSEQUENCE)>

The syntax uses the NAMN attribute if the element is named, otherwise uses the TYSEQUENCE attribute.

Pseudo attributes can also be used in the text field.

Alternatively, click to display the FlexibleExplorer Expression Editor window. Refer to Create a Flexible Explorer Expression for further information.

Flexible Explorer Sorting

Select a sorting method from the drop-down list for the node. The available options are:

  • None.

  • Same as on Parent.

  • Default set on toplevel.

  • Natural Alpha Numeric.

  • Database Sequence.

  • Natural unless Type Forces Sequence.

Flexible Explorer Context Menu

Context menus can be defined via a PML expression and look for standard CAF menus defined in the UIC files. A set of menus can be defined to allow the system to use the first menu found. The user can define special menus for particular element types. For example:

'AVEVA.PBS.Element_' + TYPE + '.Menu' > AVEVA.PBS.Element.Menu > AVEVA.PBS.Default.Menu

In this example, the system searches for a context menu called 'AVEVA.PBS.Element_' + TYPE + '.Menu' (for example, AVEVA.PBS.Element_PIPE.Menu). If that is not defined, the system searches for AVEVA.PBS.Element.Menu and if that is not defined, it searched for AVEVA.PBS.Default.Menu.

Alternatively, click to display the FlexibleExplorer Expression Editor window. Refer to Create a Flexible Explorer Expression for further information. Context menus can be defined via a PML expression and look for standard CAF menus defined in the UIC files. A set of menus can be defined to allow the system to use the first menu found. The user can define special menus for particular element types. For example:

'AVEVA.PBS.Element_' + TYPE + '.Menu' > AVEVA.PBS.Element.Menu > AVEVA.PBS.Default.Menu

In this example, the system searches for a context menu called 'AVEVA.PBS.Element_' + TYPE + '.Menu' (for example, AVEVA.PBS.Element_PIPE.Menu). If that is not defined, the system searches for AVEVA.PBS.Element.Menu and if that is not defined, it searched for AVEVA.PBS.Default.Menu.

Alternatively, click to display the FlexibleExplorer Expression Editor window. Refer to Create a Flexible Explorer Expression for further information.

Flexible Explorer Icon

Input a value to specify the display icon for the node in the hierarchy. The icon can be assigned statically by inputting the icon name or dynamically generated with a PML1 expression. If no icon is specified, the icon representing the object type displays, for example EQUI.

Note:
The icon must exist in the resource file with name AvevaSharedIcons.recources

Alternatively, click to display the FlexibleExplorer Expression Editor window. Refer to Create a Flexible Explorer Expression for further information.

The Dictionary Explorer automatically updates to display the specified name for the element.

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