Entity templates
Pre-built entity blueprints that create entities, fields, tables, and optional form layouts in one click.
Available templates
The plugin ships with entity templates for common use cases:
- Contact (CRM) — name, email, phone, company (relation), notes
- Project — name, description, status, start/end dates, lead (user field)
- Ticket — title, description, status, priority, assigned to, resolution
Installing a template
POST /pfm/v1/meta/templates/{templateSlug}/install
This creates:
- The entity with all its fields
- The database table (reconciled)
- Optional auto-numbering configuration
- Optional form layout with sections
You can override the entity slug via slug_override parameter.
Template format
Each template is a JSON file defining:
entity— slug, labels, icon, permissionsfields— array of field definitions with types and configsnumber_sequence(optional) — auto-numbering configurationform_layout(optional) — initial form sections and field placement
After installing a template, go to the Form Designer to
customise the form layout, then use the Reconciler to verify the
table structure matches.
customise the form layout, then use the Reconciler to verify the
table structure matches.