Lists.asmx, GetListItems folders

Ego faceret investigationis aliquis hodie circa list.asmx telam servitio dummodo ut pars SharePoint 2010 (et superius).  Potuit ut album items in radix folder (possidet nomina sub-folders), sed non posset items in sub-folders.  Ego respiciens in aliquo internets et suus mirae soletquaeri.  Tamen, Ad bene non posset de facili, "Si ego noui folder, quomodo illuc vasa folder?"  Ad esse honestum, Quia non habeo uelle experiri facile instar omnium mihi super hoc tempus risus.

Usque ad explicanda, Ego creavi a site nomine "blogging Missionibus" et consuetudo nomine album "Lorem List cum ulterius folders".  Ergo ego creavi nomine folders:

  • Anno 2005
  • Anno 2006
  • Anno 2007

Ego addidit paucos items ut folder "Anno MMVI".  Hoc est quod similis:

image

Amicus meus est non scribere sed usura C # Codicis Java, ita saponem involucrum quod vere opus erat.  Ut quod, Aliquid scripsi et frenum of usus jQuery fiddler ut HTTP actuali conuersatione.

Hic 'pertineret jQuery (Descripsi codice infra si vis ad effingo / crustulum):

image

Primo utrumque ponitur a key est <queryOptions> et <QueryOptions> node.  Secunda est quod clavem <Folder> node est URL quod client accessum habet.

Ut hoc sit alia, Sed hoc bene faceret propter me cum usura jQuery.

Hic est enim supra saponem involucrum:

<soapenv:Involucrum xmlns:soapenv =’http://schemas.xmlsoap.org / saponem / involucrum /’>                
  <soapenv:Corpus>
    <GetListItems xmlns =’
http://schemas.microsoft.com / sharepoint / saponem /’>
      <listName>Sub consuetudine album folders</listName>
      <viewFields>  
        <ViewFields>
          <FieldRef name = 'Title’ />
          <FieldRef name = 'EncodedAbsUrl’ />
        </ViewFields>
      </viewFields>
      <queryOptions>
        <QueryOptions>
          <Folder>
http://demoserver1/Blogging Scenarios / Libelli / Lorem List cum folders Sub / anno MMVI</Folder>
        </QueryOptions>
      </queryOptions>
   
</GetListItems>
  </soapenv:Corpus>
</soapenv:THECA>

Lorem circa ea ipsa figura credam mihi satis tractatum est <QueryOptions> et specificare nomen folder.  Enim me, EGO postulo ut intus et conturbaverunt eam <queryOptions> necnon specificare satis idonei URL pro <Folder> node.

Hic 'jQuery Nullam setup:

$(document).paratos(munus() {
       = erat soapEnv
           "<soapenv:Involucrum xmlns:soapenv =’http://schemas.xmlsoap.org / saponem / involucrum /’> \
               <soapenv:Corpus> \
                    <GetListItems xmlns =’http://schemas.microsoft.com / sharepoint / saponem /’> \
                       <listName>Sub consuetudine album folders</listName> \
                       <viewFields> \
                           <ViewFields> \
                              <FieldRef name = 'Title’ /> \
                              <FieldRef name = 'EncodedAbsUrl’ /> \
                          </ViewFields> \
                       </viewFields> \
                       <queryOptions> \
                         <QueryOptions> \
                           <Folder>http://demoserver1/Blogging Scenarios / Libelli / Lorem List cum folders Sub / anno MMVI</Folder> \
                         </QueryOptions> \
                       </queryOptions> \
                   </GetListItems> \
               </soapenv:Corpus> \
           </soapenv:THECA>";

</finem>

Scribet ad mea blog.

Sequi me in Twitter ad http://www.twitter.com/pagalvin

6 cogitationes on "Lists.asmx, GetListItems folders

  1. Daniel

    HI

    I am trying to display the documents under a specific folder using a SPD 2010 DataSource GetListItems

    Once I connect to to my web service and enter the guid for the document library
    I can modify the QueryOptions and enter the following piece of CAML
    Compliance Training\CompanyX.

    Only this does not return any results – removing the QueryOptions parameter returns all the documents in the root document library….

    Am I looking at passing some sort of view parameter and include the view guid.

  2. Bob Bolton

    Ok, looks like it stripped out the xml… just replace the pound signs below with chevrons.

    #queryOptions#
    #QueryOptions#
    #ViewAttributes Scope=’RecursiveAll’/#
    #/QueryOptions#
    #/queryOptions#

  3. Doug

    Fasciculumque gratias pro hoc stipes, Paulus. Ive 'been conatur ad consumere GetListItems via ColdFusion cfhttp, et non poterant involucrum jus. Tandem venit trans is stipes, tuis exemplis et operatus flawlessly. Gratias iterum.

  4. Doug

    BTW – tu scis quod resource enumerat omnia propria saponem involucra? Unum pro GetList Items edidit microsoft.com non aequas hie…

Aliquam

Tua inscriptio electronica non editis. Velit sunt insignis *