I build a request form for new entry and a task form for rework purpose.
For rework, user is editing the data via the task form. I can reuse the textbox which I have created in Request form and copied & paste it in task form. The textbox reflect the same data in task form and request form. However, this seems not working for attachment component. The attachment is not reflected in task form.
How to handle the attachment component in request form and task form for such implementation?
Copying attachments from SharePoint items to task forms was always a hard thing to achieve. It might be possible but the effort is too high I think. When I need users to work with attachments I try to bring them to the initial request form by placing a link on my task forms. This way your attachments won't get split up onto task and request forms and it's still easy to achieve.
So basically my task form doensn't make much more than linking to the request form and grabbing a final comment before its completion.
Might this be an option?
Thanks for your reply. This might be the only choice if no other better & simple solution to go for.
I used the following work around to embed the workflow item attachments into task form.
1. Add a label control to Task Form with a CSS class name nf-Attachments added.
3. Replace the placeholders in the script with the workflow item id and List name references.
4. Save the form and publish. That's it. Give it a go.
Using the workflow you can get the name of the document attached from form data and create url for the document location and display that URL in rich text control on the task form.
Can you please show me how to proceed on this?