OpenText Core Content Connector 24.1

# Insert an Item

To insert an item into OpenText Core Content, your XML must include the following properties:

Type | Required | Name | Description
--- | --- | --- | ---
Property | Yes | `cmsCategory` | The category to apply to the new item.
Property | Yes | `cmsType` | The type to apply to the new item.
Property | Yes | `parentFolderId` | The parent folder for the new item.
Property | Yes | `name` | The name of the new item.

Following are some examples:

    <insertXML>
      <insert>
        <reference>InsertTest</reference>
        <property name="cmsCategory" value="folder"/>
        <property name="cmsType" value="cms_folder"/>
        <property name="parentFolderId" value="7ce18401-2064-4ace-9fbe-44d6147ee427"/>
        <property name="name" value="Test Folder"/>
      </insert>
    </insertXML>

    <insertXML>
      <insert>
        <reference>InsertTest</reference>
        <property name="cmsCategory" value="file"/>
        <property name="cmsType" value="cms_file"/>
        <property name="parentFolderId" value="7ce18401-2064-4ace-9fbe-44d6147ee427"/>
        <property name="name" value="image.jpg"/>
        <metadata name="mimetype" value="image/jpeg"/>
        <file>
          <type>file</type>
          <displayname>image.jpg</displayname>
          <content>D:\Images\image.jpg</content>
        </file>
      </insert>
    </insertXML>

Copyright 2023 Open Text
Version 24.1 | Last updated December 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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL OpenText Core Content Connector 24.1

Topic Title: Insert an Item