Skip to main content
Nintex Community Menu Bar

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

  • July 18, 2017
  • 5 replies
  • 19 views

Forum|alt.badge.img+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

bamaeric
Nintex Partner
Forum|alt.badge.img+15
  • Nintex Partner
  • July 19, 2017

Forum|alt.badge.img+6
  • Author
  • July 19, 2017

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 ?


Forum|alt.badge.img+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 


Forum|alt.badge.img+6
  • Author
  • August 4, 2017

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.


Forum|alt.badge.img+7
  • Nintex Partner
  • August 5, 2017

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)