Skip to content

Activity Stream

The Activity Stream widget displays a list of unstructured activities associated with a specific object and channel. Users can view existing activities and, depending on configuration, may also add new activities.

Activity Structure

Each activity consists of:

  • Text content describing the activity.
  • A timestamp indicating when the activity occurred.
  • The user who performed the activity.
  • Optional attachments (files or links).

Object and Channel Identification

  • ObjectIdXPath: Specifies the XPath expression to retrieve the object ID from the data model.
  • ChannelIdXPath: Specifies the XPath expression to retrieve the channel ID from the data model.

Both ObjectIdXPath and ChannelIdXPath are required properties. They uniquely identify activities; activities with different object IDs or channel IDs are treated as separate streams. Using different channel IDs allows for separating activities even if they relate to the same object.

Example

1
2
3
4
<ActivityStream XPath="" SectionName="">
    <ObjectIdXPath>MyObjectId</ObjectIdXPath>
    <ChannelIdXPath>MyChannelId</ChannelIdXPath>
</ActivityStream>

This example shows an Activity Stream widget configured to use the MyObjectId and MyChannelId elements from the data model to identify the relevant activity stream. Remember to replace these placeholders with the actual XPath expressions corresponding to your data model.