Attachments widget events

The Attachments widget uses events to process the list of documents that are attached to a work item.

For example, the Attachments widget publishes an outgoing event when a user opens a document in the list. The widget handles an incoming event to update the list of documents that are attached to a work item.