Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

read data from subfolder by jquery

$
0
0

Hello ,

 I have used the following code to read data from  SpList by jquery :

 var soapPacket = "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'> \
                           <soapenv:Body> \
                            <GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'> \
                             <listName>ArticlesList</listName> \
                             <viewFields> \
                              <ViewFields> \
                                  <FieldRef Name='Title' /> \
                              </ViewFields> \
                             </viewFields> \
                            </GetListItems> \
                           </soapenv:Body> \
                          </soapenv:Envelope>";

       jQuery.ajax({
                url: "http://hemapc:3030/_vti_bin/lists.asmx",
                type: "POST",
                dataType: "xml",
                data: soapPacket,
                complete: processResult,
                contentType: "text/xml; charset=\"utf-8\""
            });

        });

Now My List is has subfolders . How Can I read data from  specific subfolder by jquery ?


ASk


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>