Linking widgets
A common feature in PCF pages is a ListView element controlled by a RowEditor iterator. PolicyCenter renders the list view as a table with multiple rows, with the iterator populating the data in the table rows. Frequently, the user clicks a button to activate certain functionality within the list view, for example, adding or deleting rows in the table.
In many cases, the PCF file is a parent page that contains embedded child PCF files that contain individual ListView elements. If this is the case, then you need to link the button on the parent PCF file with the iterator used to populate the child PCF files. To do so, you use the Link widgets command on the Page Config menu. This menu item provides a visual tool to link widgets on a parent page that spans multiple child PCF files. You use this particularly for explicit iterator references.
See also
Link two widgets
Procedure
-
Select a widget, for example a
CheckedValuesToolbarButtonwidget. -
Do one of the following:
- Select Link widgets from the Page Config menu.
- Right-click and select Link widgets from the context menu.
- Press Ctrl+L.
Studio changes the look of the mouse cursor to cross-hairs. Studio also changes the color of the target widget to light green.
- Click the widget to which you want to link. Studio links the two widgets.
