Distributed Connector 23.4

# InsertXML

The `InsertXML` parameter specifies XML to determine how and where to add each document, all the metadata, and optionally, a file to insert for each document. Some connectors expect a file to be provided.

The data should be provided in XML format. For example:

    <insertXML>
      <insert>
        <reference>reference</reference>
        <property name="propname" value="propvalue"/>
        <!-- ... -->
        <metadata name="fieldname" value="fieldvalue"/>
        <!-- ... -->
        <file>
          <isfilename>true/false</isfilename>
          <ownfile>true/false</ownfile>
          <content>filename/base64file</content>
        </file>
      </insert>
      <!-- ... -->
    </insertXML>

Most of the tags are optional.

- `ownfile`. If `ownfile` is `true`, this file is deleted after it has been inserted. By default, this is `false`.
- `isfilename`. If `isfilename` is `true`, the content tag contains the full path to the file. If `isfilename` is `false`, the content tag contains the entire file base64 encoded. The `ownfile` tag is ignored in this case.
- `insert`. The `insert` tag can be omitted if a single document is being inserted.
- `reference`, `property`, `metadata`. The usage of these tags depends on the connector used.

For more information about how to construct the InsertXML, refer to the documentation for the connector performing the insert.

Copyright 2023 Open Text
Version 23.4 | Last updated September 2023

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 Distributed Connector 23.4

Topic Title: InsertXML