Threads
Threads: Built-In Messaging System Overview
The messaging system provides a way to manage discussions within the platform:
- Create Threads: Initialize threads for any object in the system, allowing for structured conversations tied to specific items or topics.
- Send Notifications: Automatically dispatch notifications to all thread subscribers whenever new activity occurs, keeping participants informed.
- Manage Subscribers: Add or remove subscribers to threads, giving you control over who receives updates and participates in the discussion.
API
New message
authenticated
Data Objects:
[app].[comment_set]
Properties:
comment_status- optional status of comment
| HTTP | |
|---|---|
Notes:
comment_status,comment_url,comment_subjectis optional- Warning
comment_email_subjectchanged tocomment_subjectin v2260
Delete message
authenticated
Note
Only the author of the message can delete it.
List messages in thread
sys_comments
Data objects:
[app].[comment]- data object[app].[comment_list]- business object for comments
Thread subscribers
sys_subscribers
Data object:
[app].[subscriber]- subscribers
| HTTP | |
|---|---|
Thread subscriber create
sys_subscribers
Note
You can add only subscribers registered in the system.
Data object:
[app].[subscriber_set]- subscribers
| HTTP | |
|---|---|
Thread subscriber delete
sys_subscribers
| HTTP | |
|---|---|
UI
v_comment.js- comment component
Settings
- path for templates:
www\templates\ - default template:
mail-template.md - Template variables:
[[kv.v.api.client]][[kv.v.owner.name]][[kv.v.****]][[username]][[comment_modified_by]][[comment_text]][[comment_url]]