When a model that is based on a JSON, XML, or XSD file contains non-repeating output groups,
Intelligent Structure Discovery
adds a document identifier to each non-repeating output group.
For models that are based on other input types, you can add document identifiers to output groups manually.
For example, add document identifiers to a model if you want the Structure Parser transformation to join output groups that are based on the same input and then output them to a single target. You can also use the document identifiers to join groups with the Joiner transformation.
To add a document identifier to an output group, right-click the node that represents the group and select
Add a Document ID
. To remove the identifier, right-click the node and select
Remove a Document ID
.
In the model, document identifier fields appear in the
Relational Output
tab, in the following format:
<group name>_documentId
. For example, for a group named "organization" the document identifier field is
organization_documentId
.
In the Structure Parser transformation, a document identifier output field appears for each output group.