Is it possible to Update Sharepoint List Without "ID" ? : c#

Posted by Pari on Stack Overflow See other posts from Stack Overflow or by Pari
Published on 2010-03-11T08:39:08Z Indexed on 2010/03/22 6:21 UTC
Read the original article Hit count: 441

Filed under:
|

Hi,

I want to Upload File on Sharepoint and while apploading only i want to add all properties of Uploaded Document.

We get ID field only when Document is uploaded on Sharepoint. Is there any other way to Update List without passing ID Field.

Example:

<Batch OnError="Continue" ListVersion="1" 
ViewName="270C0508-A54F-4387-8AD0-49686D685EB2">
   <Method ID="1" Cmd="Update">
      <Field Name="ID">4<Field>
      <Field Name="Field_Name">Value</Field>
   </Method>
   <Method ID="2" Cmd="Update">
      <Field Name="ID" >6</Field>
      <Field Name="Field_Name">Value</Field>
   </Method>
</Batch>

Refering Link

I am using Sharepoint Web Services.And Uploading Document in Chunks.**

© Stack Overflow or respective owner

Related posts about c#

Related posts about sharepoint2007