3

In a SharePoint 2013 Document Library (version with x.x version enabled!) I have a PDF document, let's call it doc1.pdf which I want to replace by a new version.

The new document I have is called doc2.pdf .

I did not find a way yet to upload doc2.pdf and overwrite doc1.pdf. How can I do that?

It seems that I can only overwrite the existing document, if the new one has the same name as the existing one. ?!

5

I know this is not quite an answer you may be looking for, but why not rename doc2.pdf to doc1.pdf and then rename it in SharePoint itself?

  • 1
    Thanks! This looks like a very ugly workaround and is quite error-prone... :-( – mBBe Jul 10 '14 at 14:39
  • 1
    We could do that if SharePoint told us that there was another document in that library with that same name. it doesn't there's the big problem. Thanks – user31437 Jul 10 '14 at 16:29
2

Name the file you want to upload doc1.pdf. Go to "Upload" like you are adding a new file to the SharePoint folder. However, make sure the checkbox is selected "Add as a new version to existing files". This will overwrite the current doc1.pdf but keep your versioning.

1

To avoid getting rid of data associated with the original file, you can open the file in "Open in Windows Explorer", then you can overwrite the file there. With a PDF, it maintains the ancillary information. CAUTION: It does NOT maintain with .doc files (which is annoying).

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.