Removing Widget Connections

You can remove any widget connection in Backoffice when you no longer need them. The widgets.xml file provides support for connection removal.

Context

There are 2 possible ways of removing widget connections through the widgets.xml. You can remove the connection by name, or by the source widget ID, or by the target widget ID.

Procedure

  1. Specify the widget connection name you want to remove in the widgets.xml file by:
    • Connection name:
      <widget-connection-remove name="connectionName" />
      As a result, the connectionName is removed.
    • Source and/or target widget ID:
      <widget-connection-remove sourceWidgetId="sourceWidgetId" />
      As a result all widget connections with the sourceWidgetID as a source are removed.
    • Output socket of the source widget and/or input socket of the target widget IDs:
      <widget-connection-remove sourceWidgetId="sourceWidgetId" outputId="outputId" targetWidgetId="targetWidgetId" />
      As a result, all widget connections with the sourceWidgetID as a source, the outputID as the output socket, and the targetWidgetID as a target widget are removed.

    When you remove widget connection by name, the other parameters are not relevant.

    You must specify:
    • sourceWidgetID if you want to specify the outputID.

    • targetWidgetID if you want to specify the inputID.

    The following example shows invalid usage:
    <widget-connection-remove outputId="outputId" targetWidgetId="targetWidgetId" />
  2. Go to the Application Orchestrator in Backoffice and choose Reset Everything.