Re: Upload a file and modify its atributes generates two versions
From: Tako (mi_at_e.mail.com)
Date: 07/21/04
- Next message: shridhar: "How about search configure-non portal content"
- Previous message: Arnaud: "Re: Folder Items Part / Category Items Parts"
- In reply to: Tako: "Upload a file and modify its atributes generates two versions"
- Next in thread: Maurizio: "Re: Upload a file and modify its atributes generates two versions"
- Reply: Maurizio: "Re: Upload a file and modify its atributes generates two versions"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 21 Jul 2004 13:15:45 +0200
I have changed the form to upload files to the SPSv2, now first I modify
the properties of the file before upload it to the SPSv2, this works and it
does not generate two versions, but only works with Office file types, if
attempt to upload another file type (one Zip for example) the SPS does not
recognize the metadates.
Somebody knows any way to fix this? or a walkaround maybe?
Thank you very much.
Tako wrote:
> Hi group!
>
> I'm doing two things at the same time: uploading a file to
> SPS2003 and modifying its atributes.
>
> file = SPWeb.Files.Add....
> element = file.item
> element("customAtribute") = "value"
> element.update
>
> The problem is that the system generates 2 new versions of the
> document; one the the uploaded document and the other wtih the new
> atributes.
>
> Is anyway to change the atributes without generating a new
> version?
>
> Thank uuuu!!
- Next message: shridhar: "How about search configure-non portal content"
- Previous message: Arnaud: "Re: Folder Items Part / Category Items Parts"
- In reply to: Tako: "Upload a file and modify its atributes generates two versions"
- Next in thread: Maurizio: "Re: Upload a file and modify its atributes generates two versions"
- Reply: Maurizio: "Re: Upload a file and modify its atributes generates two versions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|