Custom Fields
Extend entities with custom metadata fields.
Overview
Custom fields allow organizations to add custom properties to standard entities without modifying the codebase.
Supported Entity Types
| Entity | Custom Fields Support |
|---|---|
| Employee | ✅ |
| Task | ✅ |
| Project | ✅ |
| Contact | ✅ |
| Invoice | ✅ |
Field Types
| Type | Description | Example |
|---|---|---|
| Text | Single-line text | "Department Code" |
| Textarea | Multi-line text | "Notes" |
| Number | Numeric value | "Employee ID" |
| Date | Date picker | "Certification Date" |
| Select | Dropdown options | "Shirt Size" |
| Checkbox | Boolean toggle | "Remote Worker" |
| URL | Web link | "Portfolio URL" |
Creating Custom Fields
- Go to Settings → Custom Fields
- Click Add Field
- Configure:
- Entity type
- Field name and label
- Field type
- Required/optional
- Default value
- Options (for Select type)
- Save
Implementation
Custom fields are stored as JSON in the entity's customFields column:
{
"customFields": {
"department_code": "ENG-42",
"remote_worker": true,
"portfolio_url": "https://example.com"
}
}
API Usage
Include custom fields in API requests:
POST /api/employee
{
"firstName": "John",
"customFields": {
"department_code": "ENG-42"
}
}
Related Pages
- Employee Endpoints — employee API
- Task Endpoints — task API