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

AVEVA™ Plant SCADA

Create a Pop-up Window with Panes

  • Last UpdatedJul 13, 2023
  • 3 minute read

You can create a pop-up window that includes a set of panes.

In the example above, a button in the main content area launches a pop-up window called "Popup_1".

Popup_1 includes its own sets of panes:

  • P1_Header

  • P1_Content

  • P1_Footer.

The P1_Content pane is configured to display a page called "Page_2_Content", which in turn has two nested panes:

  • P2_Left

  • P2_Right.

When displaying content, you can address the panes in a pop-up window using the following dot (.) notation. For example, you could use the following to address the P2_Left pane:

Popup_1.P1_Content.P2_Left

To launch a pop-up window, use the Cicode function WinNewAt.

To create the required content for the window, perform the following tasks:

Create a page that will display in the pop-up window

  1. Open Graphics Builder.

  2. Create a page using the Style "situational_awareness" and the Template "blank".

  3. Display the Page Properties.

    From the File menu, select Properties.

    Or:

    Right-click on the page and select Properties.

  4. On the Appearance tab, use the View Area settings to define a size for the page that is appropriate to the pop-up window that will host it.

  5. Configure the remaining properties for the page as required.

  6. Click OK.

  7. Save the page.

If you want to include panes on the page, you will also need to perform the following steps.

  1. Display the Page Properties.

  2. On the Environment tab, Add a variable.

  3. Enter the following values in the Edit Property dialog box:

    Property: HasPanes

    Value: 1

    This setting instructs the workspace to initialize the panes, display their default content, and consider them when contextual updates occur.

  4. Click OK.

  5. Save the page.

    You can then add panes to the page using the procedure described in Create a Master Page for a Customized Workspace. Use the page you have just created, and start at step 3.

    Enable autofilling

    You can enable Autofill in a pop-up window. For example, you could use Popup_1 in the diagram above to display a report for a piece of equipment that is currently in context. To do this, you would use the following settings:

    • The pane P1_Content will have its Content Type property set to 'Report'.

    • The page Page_2_Content will have its Content Type set to 'Report'.

    • The pane P2_Left will have its Content Type property set to 'Report_Text'.

    • The pane P2_Right will have its Content Type property set to 'Report_Chart'.

    • Pages that appear in P2_Left (for example, "Report_1"), will have their Content Type set to 'Report_Text'.

    • Pages that appear in P2_Right (for example, "Chart_1"), will have their Content Type set to 'Report_Chart'.

    If you then want to display a report for a piece of equipment, you need to enter the names of the associated pages as a comma-separated list in the Content property for the equipment. In the example above, this would be "Page_2_Content, Report_1, Chart_1".

    For more information, see the following:

    See Also

    Workspace_ShowContent

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