Issue Feature Rejected

#88763Dynamic creation of upload folder for upload field

Bernhard Eckl 07/15/19, 15:52 updated 04/08/25, 18:50

Description

I would like to have uploaded files in a special folder, e.g. with the value of the last name field. Like this:
saveToFileMount: ’1:/user_upload/{lastname}/‘
({lastname} should be replaced with field value of lastname)

I have done this before with formhandler:
finishedUploadFolder = private/blabla/DS[year]/[nachname]-[vorname]/
createNonExistingFolder = 1

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Georg Ringer commented and changed status New Rejected 04/08/25, 18:50

    Hey Bernhard,

    going through older issues and I am closing this one. This is certainly a nice feature but I see this in the userspace and not in the CMS because there are so many edge cases to consider like:

    • what if the field is not filled
    • how to handle if multiple fields are used
    • how to handle duplicates which might occur

    feel free to provide an extension which could provide such feature.

    if you got any questions, feel free to contact me