Welcome, Guest
Username: Password: Remember me

TOPIC: Access uploaded filename in email confirmation

Access uploaded filename in email confirmation 1 year 1 month ago #101136

I was wondering if I can access the filename of an upload file question in a confirmation email?

I put the {INSERTANS:214687X11X94} tag but it returns an array with all datas (ext, size, filename, etc.).

Can I access only the filename in this array?

Thanks.
The administrator has disabled public write access.

Access uploaded filename in email confirmation 10 months 2 weeks ago #103339

  • dweisser
  • dweisser's Avatar
  • OFFLINE
  • Bronze Donor
  • Posts: 205
  • Thank you received: 5
  • Karma: 5
I know this is an older post, but...
Have you tried storing the name of the file once uploaded in a hidden question using Expression Manager?
I know the email templates can reference that easily enough. Combining it with the server location of the image file will allow you to present not only the name of the image but the image itself in your email template.

Example:
<img src="http://www.example.com/survey/upload/surveys/527453/images/{HiddenQuestion.shown}" />

I hope it helps,
David
Last Edit: 10 months 2 weeks ago by DenisChenu. Reason: Replace existing domain by example
The administrator has disabled public write access.

Access uploaded filename in email confirmation 10 months 1 week ago #103830

Thanks for your answer.
I will test it soon.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.149 seconds
Donation Image