Uploaded file names written to Word
I’ve created a workflow with a file upload control. Users will usually have more than one file to attach. The final step of the workflow is to write a Word Doc to a SharePoint library. I want to write the names of the attached files to the Word Doc using a MailMerge field. Well, I can get the file name of the first attachment to write, but if there are multiple files the others do not write to Word. Any suggestions? Thanks.
-
Hi Michael,
In your Word template, you'll want to add 3 merge fields, one prefixed with TableStart:, one for your upload control, and then one prefixed with TableEnd:. When you open your Word activity the upload control will show bold. Map that to your filename in the _MultiFile path of your schema.For example, my upload control is named fileAttachments.
See here for more info:
https://documentation.agilepoint.com/9010/troubleshooting/cloudenvInstructionsCreateRepeatingTablesWord.html
Please sign in to leave a comment.
Comments
2 comments