Ontology Designer
The Ontology designer shows the custom field templates as a map: each template is a card, and each relation between templates is a line. It is drawn from the templates themselves each time it opens, so it never holds a separate copy. Users open it to check how the templates link up before they rely on those links, for example in Docwize Atlas.
The map itself cannot be edited. A template or field is changed in the template builder, which opens from the map with Edit in builder. The only things changed on this screen are saved paths, which can be renamed or deleted.
Access via New > Custom Fields & Configuration > Ontology designer.
Who configures this
Users with the View Graph Ontology permission. The Relations and Normalisers tiles beside it need View Graph Relation Types and View Graph Normalisers. See Permissions for how to assign it.
The row and link counts on the map count only the rows and documents the user can read.
The map
| Area | What it shows |
|---|---|
| Search the map | Finds templates, fields and relations by name. Press / to start typing. |
| Numbers | Templates, Registers, Relations, Role fields and Checks. Each number is also a filter (see below). |
| Resolution order | Every template on the map, in the order the graph resolves them: a register comes before the templates that point at it, and fields run in builder order. If templates depend on each other in a loop, the panel names them. |
| Template cards | The template's name, type (Grid or Grid Link), number of fields and rows, its fields that link to another template, and Show attribute fields for the rest. |
| Lines | The relations between templates. A solid line is defined on a field; a dashed line is derived by the graph engine. A label on the line names the relation and how many links it has. |
| View options | Show all templates, Derived edges, Attribute fields and Legend. |
| Zoom controls | Zoom in, zoom out and fit the whole map. |
| ? and Refresh | ? shows the short tour of the screen again. Refresh reloads the map, for example after a template was changed in another tab. |
The map leaves out templates that have no graph role, no link field and no register setting, because they take no part in the graph. The templates number then reads, for example, 47 of 78 templates. Turn on Show all templates to draw them too.
Keyboard: / searches, F fits the map, + and − zoom, the arrow keys step through the templates in resolution order, and Esc steps back out of the last thing opened.
Search and filter the map
Type in Search the map to find a template, field or relation. The box shows how many matches there are. Press Enter to move the map to each match in turn; the arrows beside the count move forwards and backwards.
Select a number to light up that part of the map and fade the rest. Registers lights up the register templates, Relations the templates that a defined relation touches, Role fields the templates with fields that have a graph role, and Checks the templates with graph checks. Select Templates to show the whole map again. If the filter names a template that is not drawn, Show all templates turns on.
The Checks are the same graph checks the template builder shows, for example a relation that is set up but has no links yet.
The legend
Legend explains the card icons, the field roles and the two kinds of line.
Template details
Select a template card, or a template in Resolution order, to move the map to it and open its details on the right.
| Section | What it shows |
|---|---|
| Header | The template's type and its step in the resolution order. |
| Fields, Outgoing, Incoming | How many fields the template has, and how many relations go out from it and come in to it. |
| Rows | How many rows the template holds that the user can read. |
| Navigation role | The role the template plays when the related records are browsed, when one is set in the builder. |
| Relations | Each relation that touches the template, with the template at its other end. Select one to see its details. |
| Fields in the graph | The fields with a graph role or a link, and how many attribute fields there are besides. Select a field to see its details. |
| Checks | The graph checks for this template, when it has any. |
| Saved paths | The saved paths that start at this template (see below). |
| Paths from here | Every template that can be reached from this one in up to 3 steps. |
The buttons at the bottom are Edit in builder and Focus. Edit in builder opens the template in the template builder; the map reloads when the builder closes.
Paths from here
Each path names the template it reaches, its navigation role, how many steps away it is, and the relations it follows. When there is more than one way to reach a template, the path shows how many other routes there are.
Preview with a record runs the path for one row of the template: choose a row under Pick a record, and the related records the path reaches open in a window over the map.
Focus
Focus shows only the selected template and the templates around it. Choose Neighbours for the templates one relation away, or 2 steps for two relations away. Select Exit focus, or the × on the focus bar, to see the whole map again.
The bar above the focus bar lists the last templates visited since the map was opened; select one to go back to it, or select the back arrow to go back one.
Relation details
Select a relation in a template's details, or its label on the map, to see where it comes from.
| Row | What it shows |
|---|---|
| Header | The relation code, its label and the templates at each end. |
| Defined in | The template and field that create the relation. |
| Kind | How the relation is made: Linked column, Field graph role, Document link field, Attach to register (template setting), or Derived by the engine. |
| Links | How many links the relation has and how many of them are confirmed. |
| Inverse label | The label for the relation read from the other end. |
Edit in builder opens the field that defines the relation. A relation of kind Derived by the engine, such as a row's link to the document it was extracted from, is computed by the graph engine, so it has no Edit in builder button. Relation codes and labels are set up in Relations.
Saved paths
A saved path is a route from a template through one or more relations, saved under a name so it can be run again. Saved paths are made from Where it leads in the related records views. The description of a saved path is also the question Oliver matches it to, for example "Risks at a location".
The Saved paths section of a template's details lists the paths that start at that template.
| Control | What it does |
|---|---|
| Preview with a record | Runs the saved path for one row of the template, as in Paths from here. |
| Rename (pencil icon) | Changes the name and description of the saved path. The route stays the same. |
| Delete (bin icon) | Removes the saved path for every user. Records and links are not changed. |
A saved path installed by a plugin shows the plugin's name. It cannot be deleted: its bin icon is Deactivate, and the path is removed when the plugin is uninstalled.
How to find a template and open it in the builder
Example: Finding a template in the Ontology designer and opening it in the builder
| Step | What to do |
|---|---|
| 1 | Open New > Custom Fields & Configuration > Ontology designer. |
| 2 | Press / and type the template's name in Search the map. |
| 3 | Press Enter to move the map to the match. |
| 4 | Select the template's card. Its details open on the right. |
| 5 | Select Edit in builder. |
How to rename a saved path
| Step | What to do |
|---|---|
| 1 | Open New > Custom Fields & Configuration > Ontology designer. |
| 2 | Select the template the saved path starts at. |
| 3 | In Saved paths, select the Rename (pencil icon) of the path. |
| 4 | Change the Name, the Description, or both. |
| 5 | Select Save. |
How to delete a saved path
| Step | What to do |
|---|---|
| 1 | Open New > Custom Fields & Configuration > Ontology designer. |
| 2 | Select the template the saved path starts at. |
| 3 | In Saved paths, select the Delete (bin icon) of the path. |
| 4 | Select Delete to confirm. |
Troubleshooting
| Issue | Detail |
|---|---|
| The Ontology designer tile is not shown | The tile needs the View Graph Ontology permission. |
| A template is not on the map | The map leaves out templates with no graph role, link field or register setting. Turn on Show all templates. |
| A relation has no Edit in builder button | It is derived by the graph engine and cannot be edited. |