Skip to main content

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.

The Custom Fields & Configuration section, with the Ontology designer, Relations, Normalisers and Graph review tiles at the end

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​

The Ontology designer: the search box and numbers at the top, the resolution order on the left, the template cards on the map and the view options at the bottom
AreaWhat it shows
Search the mapFinds templates, fields and relations by name. Press / to start typing.
NumbersTemplates, Registers, Relations, Role fields and Checks. Each number is also a filter (see below).
Resolution orderEvery 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 cardsThe 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.
LinesThe 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 optionsShow all templates, Derived edges, Attribute fields and Legend.
Zoom controlsZoom 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 Registers number selected: the register templates stay bright and the other templates fade

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.

The legend: template kinds, field roles, relations and the keyboard keys

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.

The details of the Risk Register: the fields, outgoing and incoming counts, rows, relations, fields in the graph, saved paths and paths from here
SectionWhat it shows
HeaderThe template's type and its step in the resolution order.
Fields, Outgoing, IncomingHow many fields the template has, and how many relations go out from it and come in to it.
RowsHow many rows the template holds that the user can read.
Navigation roleThe role the template plays when the related records are browsed, when one is set in the builder.
RelationsEach relation that touches the template, with the template at its other end. Select one to see its details.
Fields in the graphThe fields with a graph role or a link, and how many attribute fields there are besides. Select a field to see its details.
ChecksThe graph checks for this template, when it has any.
Saved pathsThe saved paths that start at this template (see below).
Paths from hereEvery 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.

Paths from here for the Risk Register: Risks and Issues one step away, and templates three steps away

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 map focused on the Risk Register, with Neighbours and 2 steps on the focus bar and the templates visited above it

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.

The details of the RAISES_RISK relation: Risks and Issues to Risk Register, defined in Risks and Issues > Risk Title, kind Field graph role
RowWhat it shows
HeaderThe relation code, its label and the templates at each end.
Defined inThe template and field that create the relation.
KindHow the relation is made: Linked column, Field graph role, Document link field, Attach to register (template setting), or Derived by the engine.
LinksHow many links the relation has and how many of them are confirmed.
Inverse labelThe 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.

The Saved paths section, with one saved path, its description, its route and the Preview with a record, rename and delete buttons
ControlWhat it does
Preview with a recordRuns 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

StepWhat to do
1Open New > Custom Fields & Configuration > Ontology designer.
2Press / and type the template's name in Search the map.
3Press Enter to move the map to the match.
4Select the template's card. Its details open on the right.
5Select Edit in builder.

How to rename a saved path​

The Rename saved path dialog, with the Name and Description fields
StepWhat to do
1Open New > Custom Fields & Configuration > Ontology designer.
2Select the template the saved path starts at.
3In Saved paths, select the Rename (pencil icon) of the path.
4Change the Name, the Description, or both.
5Select Save.

How to delete a saved path​

StepWhat to do
1Open New > Custom Fields & Configuration > Ontology designer.
2Select the template the saved path starts at.
3In Saved paths, select the Delete (bin icon) of the path.
4Select Delete to confirm.

Troubleshooting​

IssueDetail
The Ontology designer tile is not shownThe tile needs the View Graph Ontology permission.
A template is not on the mapThe 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 buttonIt is derived by the graph engine and cannot be edited.