Skip to content

This guide is for builders who decide what an application stores. By the end you will be able to create an entity, design the fields and form of its records, choose how its records are titled, speed up large lists with indexes, organise its quick filters, export its records, move it to another module, and archive or delete it. Changing an entity that already holds records is covered in its own how-to, Change an entity safely.

An entity is where your application keeps one kind of record — for example Asset Requests, Employees or Invoices. You decide which fields each record has (Asset type, Reason, Needed by), how the form looks, and who can see it. Each record you or your users add is an entry of that entity.

  • Every entity lives inside a module, the container for one application.
  • Entities can point at each other: an Asset Request can refer to the Employee who asked for it. See Link entities.
  • Besides ordinary entities you can build virtual entities, whose records are calculated from other entities. See Virtual entities.
  • Each entity has a name people see, which you can change at any time, and a normalized name — a short English machine name that queries, reactions and packages use to find it. The normalized name is fixed once the entity is created.
  1. Open Administration › Applications › Data Entities, or open your module and go to its Entities tab.
  2. Select Add Data Entity.
  3. Enter a Name in Arabic and English. It must be unique within the module.
  4. Check the Normalized name. It is generated from the English name; you can change it now, but not after the entity is created. Use English letters and avoid programming words such as new, class, default, if or return, which are not allowed.
  5. Choose an icon with Select Icon.
  6. In Choose Module, pick the module. When you start from a module’s Entities tab, it is filled in for you.
  7. In Data Entity Type, keep Normal Entity. (The options under Virtual Entity create a virtual entity.)
  8. Under Field Settings, enter the Single Name and Plural Name — for example Request and Requests. The product uses them in buttons and messages such as Add Request.
  9. Optionally, under Administration Access, choose the users and groups who may manage this entity.
  10. Confirm. The entity opens, ready for you to design its structure.
  1. Open the entity’s designer: select the three dots on the entity card, then Edit Entity. (Opening the designer requires Developer access to the module.)
  2. On the Structure tab, drag a field type from the palette onto the form. The field types guide explains what each type is for.
  3. Select the field to open its settings and configure it (below).
  4. Repeat for every field, then select Save at the top of the designer.

To stop colleagues from changing the entity while you work on it, select Lock Entity; select Unlock Entity when you are done.

Each field has its own settings panel. Every field has a name (Arabic and English) and a normalized name, unique within the entity. The other settings depend on the field type — for example whether the field is required, unique, repeatable or allows several values, its default value, and its validation rules. A field with many settings has a section list and a search box at the top of its panel: type part of a setting’s name to jump straight to it.

Group related fields in a block — for example an Address block with Street, City and Postcode. Make the block repeatable when a record can hold several of them, such as several addresses.

Records are shown in lists, cards and pickers by their Main title — usually the name or reference number — with an optional Sub title under it. Choose a field that identifies the record. Some rules apply:

  • The main title cannot be a field that holds several values or repeats.
  • The main title cannot be a sensitive or encrypted field, because titles are shown to everyone who can see the record. A sensitive field can be the sub title; it is masked there.
  • If the main title is a reference to another entity, that entity’s own title cannot itself be a reference.

You can also give fields other display roles, such as the picture shown on cards, so card and calendar views show the right field without extra layout work.

In Form Settings on the Structure tab, choose how many fields the form shows per row (one to four) and adjust grouping and order. The same layout is used when people add and open records.

TabUse it to
WorkflowsAdd the approval process a record goes through. See Workflows & approvals.
TimelineDecide whether and how the entity’s records post to the timeline.
RealtimeLet people hold an audio and video call from a record. See Hold a video call on a record.
IndexesSpeed up large lists, or make a combination of fields unique. See below.

Reactions, views, queries, buttons, reports and templates are managed from the entity’s own page, each on its own tab.

When you open an entity, its page has tabs for everything built on it — Entries, Queries, Views, Reactions, Buttons, Lists, Dashboard, Reports, Relations, Templates, Stores, Permissions and more. The tab you are on is part of the page address, so you can bookmark a tab, share it with a colleague, refresh without losing your place, and use the browser’s Back button to return to the previous tab.

Speed up large lists with an index Since 1.10

Section titled “Speed up large lists with an index Since 1.10”

The platform indexes the fields it needs automatically. When a large entity is filtered or sorted all the time by fields those automatic indexes do not cover, add a custom index. You can also use an index to make a combination of fields unique — for example one booking per room per day.

  1. Open Edit Entity and select the Indexes tab. It lists the System indexes (managed automatically), which you cannot change, and your Custom indexes — up to 10.
  2. Select Add index and enter a Name.
  3. Select Add field for each field to index (one to eight), and choose Ascending or Descending. Put the field you filter on most first; use Move field up and Move field down to reorder.
  4. Optionally tick Unique and fill Partial filter expression (see the recipe below).
  5. Select Save at the top of the designer. The index shows Building…, then Ready. If it shows Failed, read the message — usually existing records already break the uniqueness rule — fix the data and select Retry.

Recipe: make an optional field unique. A unique index must ignore records where the field is empty, otherwise the second record left empty is refused. For a text field with the normalized name code, tick Unique and type this into Partial filter expression (optional, MongoDB JSON):

{ "value.code": { "$type": "string" } }

The Indexes tab is not offered for core-module, request or virtual entities, and it is read-only on an entity installed from a package.

Group quick filters into tag groups Since 1.10

Section titled “Group quick filters into tag groups Since 1.10”

Saved queries marked as tags appear to people as one-click filters. When an entity has many of them, put them in groups — for example By status and By region:

  1. Open the entity’s Queries tab and select the Tag groups tab inside it.
  2. Select New tag group, enter the Tag group name and add the tags that belong to it. A tag can be in only one group.
  3. When you create or edit a tag query, you can also pick its group directly, or create one with New group.

Group names must be unique within the entity. Tag groups travel with the entity when you package it.

  1. Open the entity and, from its header menu, select Export Entries.
  2. Choose Excel (XLSX) or CSV.
  3. The file has one column per field (blocks are split into their fields) and contains the records the entity’s admin list shows. Above the export limit (10,000 records by default) the file is prepared in the background and sent to you when ready.

This quick export and the quick export from a view are the only exports that offer CSV. Exports through a document template produce whatever the template defines.

Move an entity to another module Since 1.10

Section titled “Move an entity to another module Since 1.10”

Only a system administrator can move entities.

  1. Select the three dots on the entity card (or open the entity’s header menu) and select Move to module.
  2. In Target module, choose the module. You can create a new one from the list.
  3. Select Move.

To move several at once, open the module and select Move entities from its header menu, select up to 50 entities, choose the target module and confirm.

What moves with the entity: its views, lists, sensitive-field settings and sidebar links. What does not: summaries and widgets on the old module’s pages and dashboard that show this entity are removed — the move dialog warns you. Rebuild them in the new module afterwards. Each moved entity keeps the permissions granted directly on it and gains the permissions of its new module.

Core-module entities, entities installed from a package and archived entities cannot be moved.

Archive an entity you no longer use: select the three dots on its card, select Archive and confirm. Archiving keeps the entity and its records, so you can bring it back later.

Permanent delete removes the entity and everything it owns — its records, views, pages, dashboard, reports, buttons, functions and grants — and cannot be undone. Only a system administrator can do it.

  1. Select the three dots on the entity card (or open its header menu) and select Delete.
  2. The Delete entity dialog lists everything elsewhere that still points at this entity — reference fields, mapped fields, virtual entities, reactions, views, pages and so on. Select Open on each, remove the link, and refresh the dialog. Delete stays disabled until nothing is left.
  3. Tick I understand that this entity and all its entries will be permanently deleted. and select Delete.

If the delete is interrupted, the entity stays archived and marked for deletion; select Delete again to finish. To delete a whole module with its entities, use the module’s own delete — see Modules.

Only ordinary, request and virtual entities can be deleted this way — not the platform’s own entities, core-module entities or entities installed from a package.

  • Quick edit follows the same rules. When someone changes one field straight from a list, the entity’s own validation rules — such as only one manager per unit — still apply, and the rule’s own message is shown if it fails.
  • Deleting a field cleans up after itself. Views that showed the field drop it when they are next saved, and indexes built on it are removed.
  • A view controls what a document template sees. A template exported from a view prints blank for any field the view does not show. Make sure the view displays every field the template prints.
  • Records of virtual entities follow their source. Permanently deleting records also removes the copies that virtual entities made of them.
  • Two people editing at once. If two people save the same record at the same moment, the second is told the record changed and must reload it.
ProblemWhat to check
The normalized name is refusedIt is already used by another entity, or it is a reserved programming word.
You cannot choose a field as the main titleIt holds several values, repeats, or is sensitive or encrypted.
Saving the structure shows Confirm Structure ChangesYour change affects existing records. See Change an entity safely.
An index shows FailedExisting records break the index’s uniqueness rule. Fix them and select Retry.
Delete stays disabledSomething outside the entity still points at it. Open and remove each link the dialog lists.
Move to module or Delete is missingOnly system administrators see them, and not on core-module or package-installed entities.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27