AnsweredAssumed Answered

How to create document in Sharepoint using oData conn

Question asked by naveenkumar.gowda923748 on Nov 6, 2016
Latest reply on Jul 5, 2018 by k.zhao250782

I am tying to create document in share-point and get this error -Embedded message: Invalid slug header for BLOBs. Slug headers must be server- or web-relative URL of the file. Server

 

Below is the input passed to create connector, can anyone provide me example?

 

<?xml version='1.0' encoding='UTF-8'?>
<ns1:Documents xmlns:ns1="http://connector.boomi.com/odata" xmlns:ns2="Microsoft.SharePoint.DataService">
<ns1:DocumentsItem>
<ns1:Properties>
<ns2:ContentTypeID>***122</ns2:ContentTypeID>
<ns2:Name>Boomi</ns2:Name>
<ns2:Title>Folder1</ns2:Title>
<ns2:Id>121212</ns2:Id>
<ns2:ContentType>Folder</ns2:ContentType>
<ns2:Created>2016-11-06T17:10:31</ns2:Created>
<ns2:Path>/it/AandR/ICC/Documents/Interfaces/Boomi</ns2:Path>
</ns1:Properties>
</ns1:DocumentsItem>
</ns1:Documents>

Outcomes