How to read the current version of spfile in spdocument library in MOSS 2007?
Hi ,
my name is kumar, i am moving to spfiles from one document library to other document libray with versions and metadata. my spfile contains versions like 0.1,0.2,1.0,2.1,3.0,3.1 but i am unable read and move the current version of the spfile.
Please help me on this.
Thanks and regards
kumar
dinta.kumar@hotmail.com
February 17th, 2011 7:19pm
I believe we cannot do this OOB, can be done using programming.
Use SPListItemVersionCollection &
SPListItemVersion to do this using object model
--Cheers
Free Windows Admin Tool Kit Click here and download it now
February 17th, 2011 7:35pm
> my name is kumar,
1. Never post your question more than once.
You either post it as a new thread (as here) or you post it as a reply in an existing thread. You do *not* do both. That cause parallel threads and wastes peoples' time. I have deleted that duplicate. It should not be necessary.
2. Please change your display name. The present one is a problem description not a display name.
(Click on your name in this post and then at the top-left their is an edit profile button (or similar name).
Moderator
SP 2010 "FAQ" (mainly useful links):
http://wssv4faq.mindsharp.com/default.aspx
WSS3/MOSS FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
Both also have links to extensive book lists and to (free) on-line chapters
Modwrator Note: This is hardly an answer to the question, Prasath.
February 17th, 2011 8:03pm
Hi Mike,
I've not proposed your reply as answer, not sure how it is happening automatically. I was not even logged in at the time it was Proposed as Answer. Even my "Recent Activity" list does not show this activity. Changed my login password today.
--Cheers
Odd: But no problem for me (I just found it amusing!).
Free Windows Admin Tool Kit Click here and download it now
February 18th, 2011 5:19am
Hi Mike,
I've not proposed your reply as answer, not sure how it is happening automatically. I was not even logged in at the time it was Proposed as Answer. Even my "Recent Activity" list does not show this activity. Changed my login password today.
--Cheers
February 18th, 2011 5:21am
Hi,
I am reading all versions of the file by using object model and storing the new document library. when i check the version histroy is different from the reading version.
ex: previous versions link 0.1,0.2,1.0,1.1,1.2 after restoring version like 0.1,0.2,0.3,1.0,1.1.
Please help me.
Regards
Kumar
dinta.kumar@gmail.com
Free Windows Admin Tool Kit Click here and download it now
February 18th, 2011 10:39am
Anything you do using the object model is a Programming question and goes to the Programming forum.
**and change your Display Name**
ModeratorSP 2010 "FAQ" (mainly useful links):
http://wssv4faq.mindsharp.com/default.aspx
WSS3/MOSS FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
Both also have links to extensive book lists and to (free) on-line chapters
February 18th, 2011 10:55am