SharePoint Remote Connector 12.13

# 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 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL SharePoint Remote Connector 12.13

Topic Title: AddField