To establish communication between widgets, most ECM widgets publish events and handle events. For example, if you click a button on a widget, the widget publishes an event to send data to another widget. The widget that receives a published event has a corresponding event to handle the incoming data. The data that is published or handled by an event is called a payload.
The process of defining event communications between widgets is called wiring widgets. Many of the ECM widgets are automatically wired to the other ECM widgets on the page. That is, when you add IBM® ECM Widgets to a page, the published and handled events that support automatic wiring are connected without any action on your part. For example, the step processor widgets that you add to a step processor page are automatically wired to the Step Completion widget. The Send Work Item event that is published by the Step Completion widget is automatically configured to send its payload to the Header, Work Data, and Attachment widgets. Each of these widgets contains a Receive Work Item handled event, which processes the payload received in the Send Work Item event.
Certain ECM widgets, such as the Content List widget and the In-basket widget, are not automatically wired. You can manually wire these widgets as needed for your application. In addition, you can manually wire all events that are exposed by ECM widgets to widgets from other sources. For example, you can send a workflow field with a company ticker symbol to a widget from another vendor that displays stock quotes.
Payload types : ECM Widgets 18.104.22.168
The payload types define the format of data that is passed between widgets when events are fired. If you wire or develop widgets, you must know the payload types that are used by the events so that you can subscribe to events or publish events.
Parent topic: ECM Widgets : ECM Widgets 22.214.171.124