In Lise I have a "reference" extra field. When I use an "uploads file" type field, the name of the file stored in the file manager is simply that of the file sent. So if two files have the same name there are no uploads. I would like to concatenate the value of the "reference" field with that of the filename. Example :
file name: test001.pdf
Reference: 12-11-2022akdfj
Renamed file name: 12-11-2022akdfjtest001.pdf
Then I would like the storage directory to differ depending on the category of the object. I guess you can do it with a hook and a udt...
If anyone has an idea or a clue....
