Prerequisites
You needmappers.view to open mappings, try them, and check them against Nobly Insight. You need mappers.manage to create, save, publish and delete them. To change a shared lookup table, you also need document-type-rules.manage.
Before you start, agree on three things with the people who own the destination:
- the incoming properties the sending system delivers
- the Nobly Insight document types the documents should become
- each type’s keywords and keyword groups
The mapping list
Open Document mappings in the menu. The list shows each mapping’s name, how it decides the document type, how many field rows it has, and its status.
The document mappings list. Policy documents is published as version 2 and its draft has changes that are not yet published. Customer service letters is a classic mapper that has not been upgraded.
The editor
The editor is laid out in the order a mapping is evaluated. The document type comes first, then the document date, then the field rows. Keyword records and the advanced settings sit below them. The Try it, Versions and JSON tabs follow at the end. Try it shows the result of a sample document as you edit. It is described in Try, check and publish a mapping.
A mapping for documents from a policy administration system. Three rules decide the document type, the document date is read from the Created property, and eleven field rows fill the keywords, the last of them an expression.
Document type
Choose how the mapping decides the document type:Rules
Rules are tried from top to bottom, and the first rule that matches wins. Choose Edit rules to change them.
Editing the rules. Each rule has conditions under When all of, and a document type under Then. A rule can also set field values directly.
- When all of lists conditions on incoming properties. The operators are:
- is any of (one or more values, joined by or)
- contains
- matches regex
- exists, which checks whether a property is present or absent Comparisons ignore letter case unless you select Match case. A rule without conditions always matches, so put a catch-all rule last.
- Then sets the Document type. It can also set field values directly with Set field, for example a subtype keyword that follows from the same decision. To give such a field several values, add the same field name again.
- Keep evaluating lets later rules match as well, so that they can add field values or override the document type.
Document date
dd-MM-yyyy. Without formats, any ISO 8601 date is accepted. Set a time zone for values that carry no offset. Without one, they are read as UTC.
Fields
Add one row per keyword the document should get. A row says:- where the value comes from
- how it may be changed
- what happens when the value is empty
- which documents the row applies to

The Sensitivity row expanded. It looks up the incoming Confidentiality code in a shared table, and uses Internal when there is no value.
Where the value comes from
Changing the value
Under Then change it — in order, add changes that run one after the other:When the value is empty
If the value is empty has three choices:- Leave the field out: the default
- Use a default: a value you enter
- Stop the document with an explanation: the run fails, and nothing is sent to Nobly Insight
N/A that a sender writes instead of leaving a field blank. A value that is only whitespace after the changes also counts as empty.
Which documents a row applies to
Applies to limits a row to Only these document types or to Custom conditions. In a condition,$documentType is the document type the mapping resolved. Use it for keywords that only some of your document types have. A row that writes a keyword the type does not have makes the upload fail. The check against Nobly Insight shows such rows before anything is uploaded.
Several rows for the same keyword
Two rows for the same keyword are variants. They are tried from top to bottom, and the first row that writes a value wins. A row that comes out empty and leaves the field out lets the next row try. Use variants for a fallback, such as a different source for one document type.Shared lookup tables
A lookup can use Rows on this field, or a shared table that several mappings and Modify property steps use. A shared table is maintained once: a change reaches every mapping that names it with the next document, without publishing the mappings again. On a row that uses a shared table, choose Open the shared table to edit it. The table opens in the rule editor, with one rule per row: the rule matches an incoming value and sets the result. You needdocument-type-rules.manage to save changes, and a save takes effect at once, without a draft.

The shared lookup table Sensitivity codes in the rule editor. Each rule matches one incoming Confidentiality code and sets the Sensitivity value.
Keyword records and pass-through
The Keyword records and advanced section holds three settings.
Keyword records, pass-through, and values that count as empty.
- Keyword records: an incoming property group becomes a keyword record of the type you choose. Name the keyword for each property in the group. A property without its own entry takes the name a field row gives it. Records only form from property groups the sender delivers; see Incoming items.
- Incoming properties no row reads: with pass-through off, only your rows reach Nobly Insight. A keyword the document type does not have is then an error you get to see. With pass-through on, every unread incoming property is also sent as a keyword of the same name, and keywords the document type does not have are dropped silently. New mappings start with pass-through off. Classic mappers behave as if it were on.
- Values that count as empty: see When the value is empty.
Where each keyword goes
A mapping names keywords, not their place in the document type. When the document is uploaded, each keyword is placed where the target document type keeps it: standalone, in a single-instance group, or in a multi-instance keyword record. The same keyword can be standalone on one document type and part of a group on another, so one row serves every document type. You only need a keyword record for data that repeats, such as several policies on one document.How a mapping is evaluated
- The incoming properties are read. The mapping never changes them.
- The document type is decided.
- The document date is decided.
- Whatever the matching rules set is written. Then the field rows run from top to bottom, and a row may use the values of rows above it.
- Pass-through, if switched on, and keyword records come last.
