Hi, using webform on all of the websites i have created.
I was looking for a answer to my question but can't find it anywhere.
Is it possible to rename attachment to one of the field values?
I need this to automate documents input for our inhouse software. As files received with specific document name are automaticly can be saved and inserted to requared file.

Regards
Kos

Comments

quicksketch’s picture

Category: feature » support
Status: Active » Fixed

Generally, no, this isn't possible. You *could* make your own exporter via hook_webform_exporter_info_alter() which inherits from one of the existing exporters but overrides the set_headers() method (which is responsible for naming the file). So it *is* possible, but generally out of the scope of the normal abilities of the module. The specific needs of this feature probably means it won't be included in the main project itself, so I'm marking this issue as fixed as a support request.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.