Team Shared Entity Changed

An Adaptable Event which fires whenever an Active Shared Entity changes.

TeamSharedEntityChangedInfo

The Event Info contains a TeamSharedEntityChangedInfo object:

PropertyDescription
sharedEntityObject containing the Shared Entity that has changed

This wraps a SharedEntity object that is defined as follows:

PropertyDescription
ChangedAtLast time when the object was changed
ChangedByLast User who changed the object
DescriptionDescription of object being shared
EntityActual Adaptable Object being shared
EntityDependencyIdsIds of direct entity dependencies
ModuleAdaptable Module to which object belongs
RevisionRevision - incremental for 'Active', always 1 for 'Snapshot'
TimestampWhen the object was shared
Type'Snapshot' (for 1-time sharing) or 'Active' (for continuous sharing between local state & Team Share)
UserNameUser who shared the object

Event Subscription

Subscribing to the Event is done the same as with all Adaptable Events:

api.eventApi.on('TeamSharedEntityChanged', (eventInfo: TeamSharedEntityChangedInfo) => {
// do something with the info
});

More Information