# Insert Information into the SharePoint Repository

The connector's `insert` fetch action inserts information into a SharePoint repository. To use the `insert` action, you must construct some XML that specifies how and where to add each item, and the information to insert. You must add the XML to the action as the value of the `insertXML` action parameter. The exact structure of the XML depends on the type of item that you want to insert.

The XML contained in the `insertXml` parameter must be URL encoded before being used in the action command. For example:

    http://host:port/action=Fetch&FetchAction=Insert
                                 &ConfigSection=MyTask
                                 &InsertXML=[URL encoded XML]

The connector can insert items into the repository by ID or by path. Inserting items by ID is faster. To find the GUID of a site or list, or the ID of a list item, look in the metadata of documents that have been ingested from those items.

For more information about using the `insert` fetch action, refer to the SharePoint OData Connector Reference.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm