IBM Seedlist Connector 25.1
IBM Seedlist Connector Help

# NewField

The `<NewField>` element builds a new field but does not immediately change the document metadata. Normally the AddField element is preferred because it is simpler to use and immediately adds the new field in the current field context.

You can use the `<NewField>` element to ensure that subsequent standardizer operations do not interact with and modify the new field. The `<NewField>` element creates the field in virtual document metadata, separate from the actual document metadata. The content of the field can still be manipulated by child operations like AddField, SetValue, and SetAttribute.

Add the new field to the document by referencing its `id` attribute in the `srcId` attribute of a `<Move>` operation. Alternatively, define a `<Move>` operation with a `destId` attribute as a child operation of the `<NewField>` element.

Attribute | Description
--- | ---
`id` | An identifier for the new field.
`name` | The name of the new field.
`value` | The value of the new field.

The following example adds a field named "newField" with the value "newValue":

    <FieldStandardization>
        <NewField id="fieldID" name="newField" value="newValue">
             <SetAttribute name="newAttribute" value="true" />
        </NewField>
        <Move srcId="fieldID" />
    </FieldStandardization>

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery IBM Seedlist Connector 25.1

Topic Title: NewField