Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

SharePoint Designer: Workflow: Copy document from library to library

  Asked By: Julianne Luna         Date: Jan 01, 2010      Category: Sharepoint      Views: 2209
 

In my Shared Documents library I have a
simple workflow as follows:

Copy item in Shared Documents to Document Library

then Delete item in Shared Documents

The workflow successfully copies the item to the Document Library and
deletes it from the Shared Documents library, BUT rather than creating a
new version of the document, it creates a new document with the document
name followed by a "time stamp" of types... i.e. GRU_DMC_ON still exists
and now I have GRU_DMC_ON(2009-01-05_8-33-27_90238) as well.

I could delete the original document but then I've lost all of my
version history!

Where have I gone wrong? What are my options?

Tagged:                

 

3 Answers Found

 
Answer #1       Answered By: Glenda Roth          Answered On: Jan 01, 2010       

All items in SharePoint, including documents, are tracked in the database
through the use of Globally Unique Identifiers. The two documents  in the
different libraries have different GUIDs, so when you copy  the document  from
SharedDocuments to Documents it doesn't create a new version, it creates  a new
document. This is by design and can't be changed using just SharePoint
Designer. To do this you would need to create a custom action in Visual Studio
and add it into sharepoint  designer.

 
Answer #2       Answered By: Jada Clemons          Answered On: Jan 01, 2010       

When I use the "Custom Send to Destination" feature, the Send
To successfully  copies the document  to the target library  and honors my
versioning. Is there someway to incorporate that within a SPD workflow?

 
Answer #3       Answered By: Brooke Lewis          Answered On: Jan 01, 2010       

That functionality isn't available out of the box in SharePoint. You could add
it, but only through custom code.

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].