Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a client that communicates with SharePoint via SOAP messages. I call Lists.asmx#GetListItems to get List Items with grouping query applied:

<query>
 <Query>
  <GroupBy UseIndexForOrderBy="TRUE">
   <FieldRef Name="Created" Ascending="True"/>
  </GroupBy>
 </Query>
</query>

The result is a array of z:row items:

<rs:data ItemCount="14">
 <z:row ows_MetaInfo='' ows__ModerationStatus='0' ows__Level='1' ows_Last_x0020_Modified='1;#2012-02-19 16:22:29' ows_ID='1' ows_UniqueId='1;#{F7DC50F8-14C4-476D-B672-ASDASDASD06}' ows_owshiddenversion='1' ows_FSObjType='1;#0' ows_Created_x0020_Date='1;#2012-02-19 16:22:29' ows_ProgId='1;#' ows_FileLeafRef='1;#test_1.txt' ows_PermMask='0x7ABABABA' ows_Modified='2012-02-19 16:22:29' ows_FileRef='1;#PATH' ows_DocIcon='txt' ows_Editor='2;#author' />
 <z:row .../>
 ...
</rs:data>

As far as I know grouping intended for dividing the array on sections, each section should have header. But when the service returns the rows, there is no sections.

How would I know which section (group) current row belongs to?

P.S. Array of rows WITH section headers. That's what I want (e.g."DOB Month: (01) JAN (97): Array of rows WITH section headers. That's what I want (e.g."DOB Month: (01) JAN (97)"

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.