1
votes

I am developing a workflow which involves a chain of tasks. This chain is started atomatically on the creation of a specific list item. The workflow creates a new "readonly" list item in another list to hold all the information and creates a new task item to collect more info. This new task then updates the "readonly" list item with its new data and creates the next task in the chain.

The initial list item can have attachments. How can I transfer or otherwise link these attachments to the new readonly list item ?

I only have sharepoint designer and cant implement this in code due to corporate IT restrictions. (or can I?)

1

1 Answers

1
votes

Ok well I have a plan and nobody has even looked at this question yet.

I will edit the NewForm.aspx and include javascript to capture the fileupload fields in a PreSaveAction. Then call updateListItems Web Service with javascript to create items in an Attachments list. Creating these items triggers a workflow that concatentaes the attachment names together with the URL of the attachment directory for the original list. Then all I need to do is grab the Id from the original list item when its created and add that back into the concatenated links to finish them. Then each task in the chain can pull out the concatenated list of links back to the original attachments.

easy

Lets see how it goes! Anybody any other ideas?