1

So imagine there's a SharePoint library full of business documents, complete with document versioning. One day, a committee decides that 'Document X' and 'Document Y' should really be one document and they're gonna keep the name 'Document Y.' Is there any way to tell SharePoint from the UI "hey, take Document Y and make it the newest version of Document X, retaining all of the history?"

1

Out of the box, no.

You could theoretically right custom ribbon / context menu actions that would allow you to do this.

http://msdn.microsoft.com/en-us/library/ie/gg552606.aspx#bk_createcustcomp

The SharePoint API would allow you to use the bytes from one file to save as a new version in a different file.

https://stackoverflow.com/questions/4117297/how-to-upload-a-file-as-a-new-version-to-a-document-library-using-the-object-mod

After you've updated the bytes, delete the old file and you would be good to go.

  • Thinking a little more you could download one file, rename it to the other file name, and upload it as a new version but I see this being very annoying for end users if its going to happen frequently. – SpartanDonut Jan 27 '12 at 15:28
2

Here is a way: Download all your various versions of the document to your computer. For example:

DocumentName X
DocumentName y
DocumentName z
  • Now Upload "documentName X" as "DocumentName"
  • Now Check out DocumentName (save in your local Drafts folder)
  • Now Open "DocumentName y" in Word/application and save as "DocumentName" over your sharepoint Draft.
  • Now check in the document and note in the comments it is version Y.
  • Now Check out DocumentName again (save in your local Drafts folder)
  • Now Open "DocumentName z" in Word/application and save as "DocumentName" over your sharepoint Draft.
  • Now check in the document and note in the comments it is version Z.

Hey presto: Done!

0

No.

You'd need to have some sort of status column that shows Document X as being decomissioned. You'd take the content of X ad it into Y and in the check in comments of Y, state that Doc X was merged in and to view that decomissioned document to view it's history prior to being merged into Y.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.