Creating TGML graphic pop-ups

You can call any TGML graphic page as a pop-up. This topic describes the steps to add a pop-up to a device or component, and includes an example to illustrate how to create a TGML graphic pop-up.

To create a TGML graphic pop-up:

  1. Open the Graphics Editor: Go to StartPower OperationGraphics Editor.
  2. Go to File > New > Graphic.

  3. Create a TGML page in a new Graphics page, as per your requirement. The following example demonstrates a developed TGML graphics page that will be invoked as a pop-up. By default, this page is saved under PLS_Include:
  4. C:\ProgramData\Schneider Electric\Power Operation\v2024\User\PLS_Include\TGML\Templates\Generic Popup

    All TGML graphics pages should be saved under either ..\PLS_Include\TGML or ..\PLS_Include\TGML\Templates\Generic Popup.

    To invoke a pop-up, drag and drop a PopUp snippet over the components.

    For example, in the following image, a Pop-Up snippet was dragged and dropped onto the Control button. In the Object pane, the PopUp file Link has been updated to Templates\Generic PopUp\!Control PopUp|PLS_Include.


    NOTE:
    Newly created TGML graphic pop-ups can be used for all the devices.

    When the user clicks on a breaker in the PO Web Applications, the pop-up displays the same for all the components, but the values will be different based on the breaker.

To create a component and bind it to an item:

The following steps demonstrate how to create a component and bind it to an Item name.

  1. From the top menu bar, click Rectangle, draw on the workspace, and click the Objects tab.

  2. Go to the TGML > Right click on Rectangle, click New, and select Bind.

    The following screen is displayed:

  3. Double-click Bind and then type the required item name.

  4. Right click on Rectangle, click Group as, and select Component.

  5. Rename the component as %Name%. As the device details are inherited from the parent, this action will make the TGML graphic concept work.

  6. NOTE: If the direct bind name is used without a component, rename the bind to %Name%.BindName. Refer to the following image:

    While initiating the instance for the PopUp,%Name% will be replaced with the device name only in these two cases.

For an example of how to create a PopUp snippet, see PopUp snippet example.