Appboard/2.5/builder/widgets/actions/change diagram context

The "Change Diagram Context" Action was created for the Diagrammer Widget for users to change the model of the diagram in the Widget without having to create a separate Widget for separate models.


How To Create a Change Diagram Context Action

For instructions on adding an Action to a Widget, see the general instructions in How To Create an Action in a Widget.


How To Configure a Change Diagram Context Action

Perform the following steps to configure a "Change Diagram Context" Action:


  1. Follow the instructions above to create the Action in the Widget Actions panel.
  2. Name: Enter a name for this Action. For convenience, a default name is provided. The Name is not used anywhere else in AppBoard, and only displayed on this configuration page.
  3. On selection of:
    1. Select "any" or "specific" for the type of data selection by the User that will trigger the Action. When selecting "specific", perform the following additional steps:
      1. Click the Filter button. The Filter Editor is displayed.
      2. Click Add Rule to create one or more rules that indicate what data should trigger the Action, when selected.
      3. Click Close to save the Filter settings.
    2. Select the Data Source name. When the Widget is run, selection of data in this Data Source will trigger the Action.
  4. Change Diagram Widget: Select the name of the Diagrammer Widget that will be changed with this action.
  5. Select either "To use Diagram Model:" or "To use Diagram Model by name from selected property:"
    • Select "To use Diagram Model:" to choose the previously created model you would like the Diagram to change to.
    • Select "To use Diagram Model by name from selected property:" to choose a property.
  6. Click "Close" to complete the creation of a "Change Diagram Context" Action.


Sample Use Case

When showing a network diagram, one might want to have some subnet nodes that when clicked cause the diagrammer to switch to a new diagram depicting the subnet graph -- acting like a topology drill in.