GitHub Connector 24.2

# AddField

The `<AddField>` element adds a field to the document metadata.

The content of the field can be manipulated by child operations such as `<AddField>`, SetValue, and SetAttribute.

The field is added to the document in the current field context. This means it is possible for subsequent operations to interact with and modify the new field. The NewField element can be used as an alternative to ensure the field is inserted after other operations have finished.

Attribute | Description
--- | ---
`name` | The name of the new field.
`value` | The value of the new field.

The following example adds a field named "newField", and then adds an attribute to the field:

    <FieldStandardization>
        <AddField name="newField" value="newValue">
             <SetAttribute name="newAttribute" value="true" />
        </AddField>
    </FieldStandardization>

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

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: IDOL GitHub Connector 24.2

Topic Title: AddField