The Attachments widget provides the following outgoing events that are broadcast and
wired to the other widgets on the page. The data that is included in the payload of a broadcast
event is processed by any widget that has a corresponding handled event. The data that is included
in the payload of a wired event is processed by the handled event in the target widget to which the
published widget is wired.
Document opened event
| Description |
The user opened a document or an initiating
document was opened when the widget loaded. |
| Event ID |
icm.OpenDocument |
| Type |
Broadcast |
| Payload |
- contentItem
- An ecm.model.ContentItem object that represents
the document that was opened.
- action
- An ecm.model.Action object that represents
the Open action.
|
Document selected event
| Description |
The user selected a document. |
| Event ID |
icm.SelectDocument |
| Type |
Wired |
| Payload |
- document
- An ecm.model.ContentItem object that represents
the document that was selected.
|