i evaluate Nintex Workflow/Forms 2013 and have the following requirement:
In Request Data Action two documents have to be uploaded. These documents have to be copied to a document library. While copying i want to add some metadata ("DocumentType"...) to the documents.
In this post
Vadim Tabakman mentioned the new feature "Multiple Attachment controls in the form".
I thought: Hey, cool!
I use a Nintex Form with two attachment controls to distinguish between document types.
Upload with attachment control 1 = metadata "DocumentType" = summary
Upload with attachment control 2 = metadata "DocumentType" = full text
So far so good.
But Request Data Action uses only one variable for the attachments.
In this way a differentation by attachment controls is not usable.
I'm wondering where is the benefit of multiple attachment controls?
Or how can I meet my requirement?
Solved! Go to Solution.
Bumping this one up. I have the same requirement.
I note you can name the Attachment controls. Perhaps there's a way of associating the name of the attachment control with the attachment that comes from it.
Anyone of the many people smarter than me think of a way of doing this?
I found another post you mentioned using the CSS Class in the attachment control to access it with JS. Is there a way of using this to perhaps rename the attachments (in this case a photo) to help identify where they came from.
In my case I have "Approach", "Car Park" and "Front of Store".
Is there a way you can think of where I have 1 or more attachments renamed into a format like
119 just being an example ID in this case.
just to understand correctly, is the main concern just to identify which file is uploaded by which attachment control?
or really to rename attached file name, so eg. you upload pic999.jpg to 'Approach' control and you want to somehow (automatically?) rename it by that control to Approach1.jpg?
are you looking for pure form solution or could it be done with workflow?
Identifying which file is uploaded by which attachment control is the aim. Naming the file was purely an example that came to mind as the attachment would have no metadata that could be applied whilst in the form.
Form and workflow will work as a solution also.
I've designed the form in O365 for Nintex mobile, but could be on-prem also if required.
so, name all the attachment controls on the form to easily identify them.
when you submit a form, each attachment control will get created respective XML element (by control name) in hidden FormData column. elements values will be semicolon separated list of file names.
ie, with single query XML action you can what you ask for
FormData's XML might look like this
<?xml version="1.0" encoding="utf-8"?>
How can I find or query the "hidden FormData column"?
because this is what I need exactly, my requirements is to send different emails with different attachments base on the control name.
use the Query XML action and the "FormData" column is under Item Properties.
Cassy Freeman covered it in her blog.