Skip to main content

getAllActivities

Subscribe to the real-time activity log feed. Emits the full list of ActivityRecord objects whenever the feed changes.
  • Params: config?: ActivitySubscribeConfig
    • documentIds (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>
Using Hook — org-wide feed:
Using Hook — document-scoped feed:
Using API:

createActivity

Create a custom activity log record for non-Velt events. Use displayMessageTemplate with {{variable}} placeholders and supply values in displayMessageTemplateData.
Using Hook:
Using API:

useDummyData

Load placeholder activity data for testing and prototyping. When enabled, the VeltActivityLog component renders sample activities without requiring a backend connection.