Est-il possible d'ajouter une pièce jointe à un nouvel élément de liste avec UpdateListItems?Ajouter une pièce jointe avec UpdateListItems?
J'ai essayé ce savon, mais pas de dés ....
peut partager quelqu'un avec moi la structure SOAP appropriée pour obtenir ce fait?
<SOAP-ENV:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<ns0:Body>
<ns1:UpdateListItems>
<ns1:listName>Some Calendar</ns1:listName>
<ns1:updates>
<Batch OnError="Continue" ListVersion="1">
<Method ID="1" Cmd="New">
<Field Name="ID">New</Field>
<Field Name="Title">Some Title</Field>
<Field Name="EventDate">2010-11-01 07:30:00</Field>
<Field Name="Attachments">
<Value Type="Attachments">/tmp/details.xml</Value>
</Field>
</Method>
</Batch>
</ns1:updates>
</ns1:UpdateListItems>
</ns0:Body>
</SOAP-ENV:Envelope>
Merci!