none
Cannot use ProcessBatchData without increasing version of processed item RRS feed

  • Question

  • Hello All,

     

    I need to update SPListItem using web.ProcessBatchData without create new version.

     

    I've tried to use this xml:

    <?xml version="1.0" encoding="UTF-8"?> 
    <ows:Batch OnError="Continue"> 
      <Method ID="1"> 
        <SetList>{some-guid}</SetList> 
        <SetVar Name="Cmd">Save</SetVar> 
        <SetVar Name="ID">{list-item-id}</SetVar> 
        <SetVar Name="owshiddenversion">{current-item-version}</SetVar> 
        <SetVar Name="urn:schemas-microsoft-com:office:office#Title">some title</SetVar> 
      </Method> 
    </ows:Batch>

     

    After execution of BatchData on this xml i've received new version ({previous-version} + 1) even without changing any visible item fields.

     

    Is it possible to use ProcessBatchData in the same way as SystemUpdate(false)?

     

    P.S. I need to update List item. Previous mentioned xml works perfectly on updating DocumentLibrary items...

    Thursday, March 3, 2011 11:13 AM

Answers

All replies