logologo
Get Started
Guide
Development
Plugins
API
English
简体中文
Get Started
Guide
Development
Plugins
API
English
简体中文
logologo
Overview

Data sources

Data source manager
Main data source

External data sources (Databases)

Overview
External MySQL
External MariaDB
External PostgreSQL
External MSSQL
External Oracle
Main vs External Databases
REST API data source
KingbaseES data source

Collections

Overview
General collection
Inheritance collection
File collection
Tree collection
Calendar collection
Comment collection
Expression collection
SQL collection
View collection

Collection fields

Overview
Field Validation

Basic

Single text
Long text
Phone
Email
URL
Integer
Number
Percent
Password
Color
Icon

Choices

Checkbox
Select
Multiple select
Radio group
Checkbox group

Media

Markdown
Markdown (Vditor)
Rich text
Attachment (Relationship)
Attachment (URL)

Date & Time

Overview
Date & time (with timezone)
Date & time (without timezone)
Unix timestamp
Date (without time)
Time

Geometry

Point
Line
Circle
Polygon

Advanced

UUID
Nano ID
Sort
Formula
Sequence
JSON
Collection select
Encryption

System info

Created at
Updated at
Created by
Last updated by
Space
Table OID

Associations

Overview
One to one
One to many
Many to one
Many to many
Many to many (array)

Development

Overview
Previous PageCalendar collection
Next PageExpression collection

#Comment Collection

#Introduction

Comment collection is a specialized data table template designed for storing user comments and feedback. With the comment feature, you can add commenting capabilities to any data table, allowing users to discuss, provide feedback, or annotate specific records. The comment collection supports rich text editing, providing flexible content creation capabilities.

comment-collection-2025-11-01-00-39-01

#Features

  • Rich Text Editing: Includes Markdown (vditor) editor by default, supporting rich text content creation
  • Link to Any Data Table: Can associate comments with records in any data table through relationship fields
  • Multi-level Comments: Supports replying to comments, building a comment tree structure
  • User Tracking: Automatically records comment creator and creation time

#User Guide

#Creating a Comment Collection

comment-collection-2025-11-01-00-37-10

  1. Go to the data table management page
  2. Click the "Create Collection" button
  3. Select the "Comment Collection" template
  4. Enter the table name (e.g., "Task Comments", "Article Comments", etc.)
  5. The system will automatically create a comment table with the following default fields:
    • Comment content (Markdown vditor type)
    • Created by (linked to user table)
    • Created at (datetime type)

#Configuring Relationships

To link comments to a target data table, you need to configure relationship fields:

  1. Add a "Many-to-One" relationship field in the comment table
  2. Select the target data table to link to (e.g., tasks table, articles table, etc.)
  3. Set the field name (e.g., "Belongs to Task", "Belongs to Article", etc.)

#Using Comment Blocks on Pages

Enable Comments Collection

  1. Go to the page where you want to add comment functionality
  2. Add a block in the details or popup of the target record
  3. Select the "Comments" block type
  4. Choose the comment collection you just created

#Typical Use Cases

  • Task Management Systems: Team members discuss and provide feedback on tasks
  • Content Management Systems: Readers comment and interact with articles
  • Approval Workflows: Approvers annotate and provide opinions on application forms
  • Customer Feedback: Collect customer reviews of products or services

#Notes

  • Comment collection is a commercial plugin feature and requires the comments plugin to be enabled
  • It's recommended to set appropriate permissions for the comment table to control who can view, create, and delete comments
  • For scenarios with a large number of comments, it's recommended to enable pagination for better performance