Link, look up, or combine? Choosing the right tool
Section titled “Link, look up, or combine? Choosing the right tool”This page is for builders deciding how a field gets its values, or how one entity reaches another’s data. OSOS offers several tools that look alike on the form — a pick-list is a pick-list — but behave very differently once the application grows. Choose by asking what the values are, not how the field looks.
The tools at a glance
Section titled “The tools at a glance”| Tool | What the values are | Who maintains them | Typical use |
|---|---|---|---|
| Category field | A few fixed options defined on the field itself, each with a colour | The builder, in the entity designer | A rating from 1 to 5, a priority, a ticket’s resolution type |
| List + Reference field | A named set of values (text, numbers, dates, or records of an entity), flat or a hierarchy, that many fields can point at | Whoever may edit the list, in Administration › Applications › Lists | Nationalities, competencies, a category tree |
| Reference to an entity | Records with their own fields, lifecycle and access | The people who use that entity | The employee who asked, the product a ticket is about, a department |
| Proxy virtual entity | Another entity’s records, re-exposed — possibly fewer of them — under another name or in another module | Nobody: the platform keeps it in step with the source | One module using another module’s data |
| Joiner virtual entity | One row per source record, carrying fields from records linked to it | Nobody: calculated | A list showing each request with its requester’s department and the asset’s category |
| Aggregate virtual entity | Records from several source entities brought together in one entity, field by field | Nobody: calculated | One All open items list drawing from incidents, requests and changes |
Two things are not on this list on purpose:
- Number Enum is a field type the platform uses for its own entities. It is not offered in the entity designer, so you cannot use it in an entity you build.
- A virtual entity does not hold totals. An aggregate entity brings records together; counts and sums come from statistic queries and aggregates and grouping.
Decide in four questions
Section titled “Decide in four questions”- Do the values have details or a life of their own — their own fields, their own workflow, their own access? → Reference to an entity.
- Are the same values used by more than one field or entity, or are they a tree? → a List, and Reference fields that point at it.
- Is it a handful of fixed options that only this field uses? → a Category field. (For two or three answers shown as a toggle, a Switch may be simpler.)
- Do you need another entity’s records as a whole — in another module, joined with linked records, or merged from several entities? → a virtual entity: proxy, joiner or aggregate.
If more than one answer fits, take the earlier one: it keeps the data in fewer places.
How to build each one
Section titled “How to build each one”- Category field — drag Category onto the entity’s Structure tab and add the options under Add options. Since 1.10 a Category can take several options per record (Multiple), and people can add options from the form if you allow it. See Category field.
- List — open Administration › Applications › Lists, select New List, choose the Data Type and add the values. Then add a Reference field and, as its data source, choose the list. See Lists in Administration.
- Reference to an entity — add a Reference field and choose the entity; add an Incoming relation on the other entity to see the link from its side. See Link entities.
- Virtual entity — Administration › Applications › Data Entities › Add Data Entity, and in Data Entity Type pick Virtual Proxy Entity, Joiner Virtual Entity or Aggregate Entity. See Virtual entities.
Worked example
Section titled “Worked example”Recruitment: lists for shared values, a reference for jobs
Section titled “Recruitment: lists for shared values, a reference for jobs”The Recruitment system shows all three lookup tools side by side:
| Field | Tool | Why |
|---|---|---|
| Required qualifications on Jobs, Key skills on Job applications | Reference to the Competencies list | The same competencies are used by jobs and applications; one list keeps them identical |
| Nationality, Residence, Education on Employees and Job applications | References to the Nationalities, Residence and Educational qualifications lists | Shared by two entities; HR maintains the values in one place |
| Vacancy on Job applications | Reference to the Jobs entity | A job has its own fields, workflow and status — it is a record, not a value |
| Department on Jobs | Reference to the organization units entity | Departments already exist as records the platform manages |
| Location, Years of experience required on Jobs | Category | Used only by this one field |
| Marital status on Job applications | Category (Married, Single) | Two fixed options, one field |
Customer Support: Category for a field-only choice
Section titled “Customer Support: Category for a field-only choice”In the Customer Support system, Evaluation score (1 to 5) is a Category: only this field uses it. If the company later adds a Products entity that several modules need, the support module should reach it through a proxy virtual entity rather than a reference field into the other module — see Naming conventions.
Anti-patterns
Section titled “Anti-patterns”- The same Category in five entities. Each copy drifts — someone adds Remote to one Location field and not the others. Make it a list and point Reference fields at it.
- An entity created just to hold four fixed values. It needs views, access and packaging for no benefit. Use a Category (one field) or a list (shared).
- A list of things that have a life of their own. If the values need their own fields, approval or owners, they are records: make an entity.
- A joiner where a relation tab would do. To see a project’s tasks on the project, add an Incoming relation and show it on the record’s details. Build a joiner only when you need the combined rows as a list of their own.
- A reference field into another module. It ties the two modules together for deletion, moving and packaging. Use a proxy entity.
Related pages
Section titled “Related pages”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