Link to home
Start Free TrialLog in
Avatar of ishancognite
ishancognite

asked on

Sharepoint 2010 Client object model

is it possible to update a file in document library (i mean replace with a new file). i don't want to delete the record and recreate again since i will loose all the meta data associated with that file. if possible can you please direct me in right direction or if possible can anyone provide code snippet(client object model)
SOLUTION
Avatar of svetaye
svetaye
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ishancognite
ishancognite

ASKER

Hi
thanks for you comment it helped me a lot. but i have a small issue. after i overwrite the file can i update the file name, if possible can you please direct me for possible solution
Thanks for your help
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks . when i try to update the file name it is coming up with version conflict error message any idea or how to resolve the issue.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes you are correct i managed to fix the issue .thanks for your help