getAllActivities
Subscribe to the real-time activity log feed. Emits the full list of ActivityRecord objects whenever the feed changes.- Params:
config?:ActivitySubscribeConfigdocumentIds(string[]) — Filter activity logs to specific document IDs.featureTypes(ActivityFeatureType[]) — Filter by feature type:'comment','reaction','recorder','crdt','custom'.actionTypes(string[]) — Filter by action type; use exported action type constants for type-safe values.
- Returns:
Observable<ActivityRecord[] | null>
- React / Next.js
- Other Frameworks
Using Hook — org-wide feed:Using Hook — document-scoped feed:Using API:
createActivity
Create a custom activity log record for non-Velt events. UsedisplayMessageTemplate with {{variable}} placeholders and supply values in displayMessageTemplateData.
- Params:
CreateActivityData - Returns:
Promise<void>
- React / Next.js
- Other Frameworks
Using Hook:Using API:

