开发者

Is it possible to Update Sharepoint List Without "ID"?

开发者 https://www.devze.com 2022-12-22 09:47 出处:网络
I want to Upload File on Sharepoint and while apploading only i want to add all properties of Uploaded Document.

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>

Re开发者_如何学Gofering Link

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


This is not possible. First the file should complete uploading, then it will have properties that can be set! (otherwise properties may be set for non-existing files, in case that the file fails to upload.)

0

精彩评论

暂无评论...
验证码 换一张
取 消