Send uploaded files via attachment: Difference between revisions

From SMTX Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 14: Line 14:
2. upload multiple files<bR>
2. upload multiple files<bR>


the trick is no leave the field 'filename' (under dynamic attachment) empty.
The trick is to leave the field 'filename' (under dynamic attachment) empty.
<br>
<br>
This will use the original filename, but will also add a number in front of it.
This will use the original filename, but will also add a number in front of it.

Latest revision as of 11:22, 8 February 2024

see test form in DEV :
https://dev.ssp7.smt-x.com/Forms/Admin/formDetail.aspx?tab=1&id=739&ActiveFieldId=15011
It contains 2 file upload fields:
1. single file : Upload1FileForm
2. Multiple files: Upload2FilesForm

This links into this process:
https://dev.ssp7.smt-x.com/Workflow/Admin/ProcessAddEdit.aspx?saved=true&genericid=433


that contains 2 action steps:
1. upload 1 file
2. upload multiple files

The trick is to leave the field 'filename' (under dynamic attachment) empty.
This will use the original filename, but will also add a number in front of it.
example:
file 'test2.txt' will become '3064.15011.1_test2.txt'