Hi, I have a strange problem with trying to move a number of files progammatically from one document library to another.
I have a workflow running in sharepoint, which throughout the progress of the workflow, updates a word document stored in a document library, titled "CR". Within the CR library there may also be a folder title "CR X" where x is
the number of the document. This folder contains any files which have been attached to the CR document. I.E, excel files, pictures etc.
When the workflow completes, the document should be moved to another document library called "Archived" which has a folder named after the year, i.e 2010, which inside that, contains a folder called the name of the document. All the attached
documents should also be moved to this folder.
So for example, a document structure could be
Should, when the workflow completes end up looking like:
parentweb\parentsite\Archived\2010\CR 2\CR 2.doc
I have got the first part working fine, where the document is moved to the archive directory. But I cannot move all the attachment files. The loop I have to get the files and move them will wo
View Complete Post