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.