Skip to main content
Nintex Community Menu Bar

How To Overwrite Document Library File and Retain Document Properties

  • Sep 10, 2019 8:02 PM UTC
  • 2 replies
  • 39 views
  • Translate All

Forum|alt.badge.img+5

I have a need to manually overwrite a document file that is contained in a document library.  The problem is when I do this, SharePoint 2013 clears all the document properties for this document.  Is there a way to basically overwrite the document file and retain the document properties?

2 replies

Forum|alt.badge.img+7
  • Nintex Partner
  • Sep 11, 2019 6:59 AM UTC

How are you overwriting the document? Are you using the Copy-To-SharePoint action? You could query the library for the document and then when uploading the new document fill in the metadata from the previously queried result.

Translate

Forum|alt.badge.img+5
  • Author
  • Sep 11, 2019 7:45 PM UTC

Actually you basically gave me the idea that will work.  I can save all the properties to variables at the start of the workflow.  Then after each approval task I'll reset the fields that are needed to process the workflow from the variables.  Very messy and fugly solution but it works.  Thanks ieben!!

Translate