How can I copy a Document to another Document library and maintain Versioning?


Badge +6

How can I copy a document from one document library to another document library and save versioning? The Copy to SharePoint action DOES NOT save versioning. Emily Billing


5 replies

Userlevel 5
Badge +13

Hi Emily.  These links might help:

http://vadimtabakman.com/nintex-workflow-move-documents-and-preserve-version-history.aspx

https://www.youtube.com/watch?v=ss-j-AoBtpw

https://community.nintex.com/thread/11027

Badge +6

The youtube video was extremely helpful and when I tested it, it worked. However it is not what I need. I am needing to copy and not move the document at this point in time. Do you happen to know what the copy + document code would be ?

Badge +1

Hi Emily, just thought I would chime in on this, however I think that the only way to do this would be to use the Powershell action in Nintex. I have found that other than powershell, the only tool that can copy documents with versions is ShareGate. I do not think that there is a way to automate ShareGate, like with Nintex. 

Here is a thread on copying Documents with versioning in Powershell. Copying Documents With Version History 

Badge +6

You are correct. We do own Sharegate....which is awesome by the way! With Sharegate, our SharePoint developer is able to schedule a job to run that will be able to utilize Sharegate and copy documents from one library to another and maintain the versioning.

Badge +7

Well, in the past we wrote a custom action for nintex to achieve just this. Basically you need to re-create all versions by copying every single version.

For the hard-core techies: maybe god-ol' Frontpage extensions author.dll could preserve versions: https://msdn.microsoft.com/en-us/library/office/ms440627(v=office.14).aspx. (just a thought, haven't tried this yet)

Reply