# 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 Remote Connector Reference.

NOTE: SharePoint 2010 limits the size of files that you can upload to 3 MB. However, you can change this limit, for example by running some Powershell commands on the SharePoint Server:

    $ws = [Microsoft.SharePoint.Administration.SPWebService]::ContentService

    $ws.ClientRequestServiceSettings.MaxReceivedMessageSize = 104857600 #100MB

    $ws.Update()

After running this script, restart IIS.

_FT_HTML5_bannerTitle.htm