Create a Custom Entity

Create a Custom Entity
Section titled “Create a Custom Entity”HARi CRM is not limited to contacts, companies, and deals. You can create custom entities to track anything your business needs — products, projects, locations, contracts, support tickets, or anything else.
What is an Entity?
Section titled “What is an Entity?”An entity is a type of business record. Each entity has its own fields, forms, views, and permissions. Think of it as a table in a database, but presented as a user-friendly interface with forms, lists, and relationships.
Creating a New Entity
Section titled “Creating a New Entity”- Go to Settings > Schema
- Click + New to create a new entity
- Fill in the basics:
- Label: The name users will see (e.g. “Product”, “Project”, “Support Ticket”)
- Name: Auto-generated from the label (used internally, cannot be changed later)
- Plural Label: The plural form for list views (e.g. “Products”, “Projects”)
- Description: A brief explanation of what this entity tracks
- Icon: Choose an icon for the sidebar navigation
- Click Create
HARi creates the entity with default system fields (_state, _version, _created_by, _created_at, _updated_at) and a default form layout.
Adding Fields
Section titled “Adding Fields”After creating the entity, add the fields you need:
- Click the Fields tab on the entity settings page
- Click New Field for each piece of data you want to track
- Configure each field’s label, type, and options
For example, a “Product” entity might need:
- Product Name (Text)
- SKU (Text)
- Price (Currency)
- Category (Option Set)
- In Stock (Boolean)
- Description (Textarea)
See Add a Custom Field for detailed field configuration.
Setting the Display Name
Section titled “Setting the Display Name”The display name controls how records appear in lookups, links, search results, and relationships. For example, a Contact might display “Sarah Chen” while a Company displays “Acme Ltd”.
- In the entity settings header, find Display name
- Choose a Single field (e.g. the “Name” field) — or click Composite to combine fields
- For a composite display, click the fields in the order you want (e.g. First Name + Last Name)
- Click Apply composite, then Save
See What is a Display Field? for more details on composite display names.
Setting Up the Form
Section titled “Setting Up the Form”- Click the Form tab
- Organize your fields into tabs and sections
- Drag fields to reorder them — put the most important fields first
- Save the form layout
Creating Relationships
Section titled “Creating Relationships”Connect your custom entity to existing entities:
- Add a Lookup field that references another entity (e.g. a “Customer” lookup pointing to the Contact entity)
- This creates a two-way relationship: the custom entity shows the linked contact, and the contact shows a subgrid of related custom records
Configuring Permissions
Section titled “Configuring Permissions”By default, only admins can see new entities. To give your team access:
- Go to Settings > Permission Profiles
- Select a profile (e.g. “Sales Rep”)
- Find your new entity and enable the appropriate permissions (Create, Read, Update, Delete)
- Save
Setting Up Views
Section titled “Setting Up Views”The new entity starts with a default table view. Customize it:
- Navigate to the entity in the sidebar
- Click the column settings to add, remove, or reorder columns
- Save as a view for your team
Next Steps
Section titled “Next Steps”- Add a Custom Field for detailed field configuration
- Setup a Lookup Field to create relationships with other entities
- Customize Form Layout to design the record form