Skip to main content
Nintex Community Menu Bar

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

  • Jul 18, 2017 9:29 PM UTC
  • 5 replies
  • 32 views
  • Translate All

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
  • Jul 19, 2017 1:29 PM UTC

Forum|alt.badge.img+6
  • Author
  • Jul 19, 2017 2:55 PM UTC

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 ?‌

Translate

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 

Translate

Forum|alt.badge.img+6
  • Author
  • Aug 4, 2017 3:29 PM UTC

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.

Translate

Forum|alt.badge.img+7
  • Nintex Partner
  • Aug 5, 2017 11:36 AM UTC

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)

Translate