Skip to main content

1. Add the Activity Log Component

Add VeltActivityLog to render a pre-built, filterable timeline of all Velt and your custom app activities (comments, reactions, recorder, CRDT) grouped by calendar date.

2. Create a Custom Activity

  • Frontend API: Use createActivity() to push your own events into the activity feed. Supply a displayMessageTemplate with {{variable}} placeholders and provide values in displayMessageTemplateData.
  • Backend REST API: You can also use Add Activities API to create activities.
Using Hook:
Using API:

3. Subscribe to Activities

If you are using the prebuilt components, you can skip this step.
Call getAllActivities() to receive a real-time stream of activity records. The observable emits the full list whenever the feed changes.
Using Hook:
With filters:
Using API:

REST APIs

You can also manage activities server-side using the REST API:
  • Get Activities — Retrieve activity records filtered by document, feature type, action type, or user.
  • Add Activities — Create new activity records for custom or application-level events.
  • Update Activities — Update existing activity records by ID.
  • Delete Activities — Delete activity records by document, target entity, or specific IDs.