Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I eventually found the magic query. It seems sub folders are only returned when you add a query based on date, i.e. this soap request works.</p> <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/"&gt; &lt;soapenv:Header/&gt; &lt;soapenv:Body&gt; &lt;soap:GetListItems&gt; &lt;!--Optional:--&gt; &lt;soap:listName&gt;969E0130-5727-4E7D-A908-B3A5BC447E24&lt;/soap:listName&gt; &lt;soap:viewFields&gt; &lt;ViewFields&gt; &lt;FieldRef Name='Title'/&gt; &lt;FieldRef Name='Created'/&gt; &lt;FieldRef Name='Author'/&gt; &lt;FieldRef Name='Body'/&gt; &lt;/ViewFields&gt; &lt;/soap:viewFields&gt; &lt;soap:query&gt; &lt;Query&gt; &lt;Where&gt; &lt;Geq&gt; &lt;FieldRef Name='Created' /&gt; &lt;Value Type='DateTime'&gt;2010-08-20T14:00:00&lt;/Value&gt; &lt;/Geq&gt; &lt;/Where&gt; &lt;OrderBy&gt;&lt;FieldRef Name='ThreadIndex' Ascending='true' /&gt;&lt;/OrderBy&gt; &lt;/Query&gt; &lt;/soap:query&gt; &lt;soap:queryOptions&gt; &lt;QueryOptions&gt; &lt;ViewAttributes Scope="RecursiveAll" IncludeRootFolder="False" /&gt; &lt;/QueryOptions&gt; &lt;/soap:queryOptions&gt; &lt;/soap:GetListItems&gt; &lt;/soapenv:Body&gt; &lt;/soapenv:Envelope&gt; </code></pre> <p>The essential parts are the query element with the date and the query option to specify the query is recursive.</p> <p>imho shouldn't need the query as it should return everything by default. </p> <p>The folder option listed in the other article didn't make any difference for me.</p>
    singulars
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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