Note that there are some explanatory texts on larger screens.

plurals
  1. POiPhone : Sharepoint GetListItemChangesSinceToken method returns item recursively
    primarykey
    data
    text
    <p>I'm integrating sharepoint web services with my iPhone app. Done with <code>GetListCollection</code> and <code>GetListItems</code> services integration. While trying with <code>GetListItemChangesSinceToken</code> service for sync purpose instead of using <code>GetListItems</code> service, I'm getting all the items of the document library in the response which means it pulls out all the items recursively from that doc library, whereas I need only the items specific to that library (not the subfolder items)</p> <p>This is my Folder Hierarchy</p> <p>Testing -> Testing 1(SF), Testing doc1(D), Testing doc2(D) -> Testing 2(SF), Testing1 doc1(D)</p> <p>SF - SubFolder; D - Document</p> <p>The Soap message I'm using is :</p> <pre><code>NSString *soapMessage = [NSString stringWithFormat: @"&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema- instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"&gt; &lt;soap:Body&gt; &lt;GetListItemChangesSinceToken xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\"&gt; &lt;listName&gt;%@&lt;/listName&gt; &lt;queryOptions&gt;&lt;QueryOptions&gt; &lt;IncludeMandatoryColumns&gt;TRUE&lt;/IncludeMandatoryColumns&gt; &lt;DateInUtc&gt;TRUE&lt;/DateInUtc&gt; &lt;Folder&gt;%@&lt;/Folder&gt;&lt;/QueryOptions&gt; &lt;/queryOptions&gt; &lt;/GetListItemChangesSinceToken&gt; &lt;/soap:Body&gt;&lt;/soap:Envelope&gt;",listName,pathRef]; </code></pre> <p>The parameters which I'm passing to get the items of first level folder (Testing) are <code>listName</code>: Testing <code>pathRef</code>: Testing</p> <p>This request returns all the items in the Testing folder(Testing 1(SF), Testing doc1(D), Testing doc2(D), Testing 2(SF), Testing1 doc1(D)) whereas I need only the items specific to that folder (Testing 1(SF), Testing doc1(D), Testing doc2(D)).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload