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