Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Access uploaded filename in email confirmation

Access uploaded filename in email confirmation 11 Monate 3 Wochen her #101136

  • stevelegare
  • stevelegares Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 58
  • Karma: 0
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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Access uploaded filename in email confirmation 9 Monate 1 Woche her #103339

  • dweisser
  • dweissers Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 205
  • Dank erhalten: 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
Letzte Änderung: 9 Monate 1 Woche her von DenisChenu. Begründung: Replace existing domain by example
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Access uploaded filename in email confirmation 9 Monate 3 Tage her #103830

  • stevelegare
  • stevelegares Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 58
  • Karma: 0
Thanks for your answer.
I will test it soon.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.174 Sekunden
Donation Image