I have a number of Users in a table and I want each to have their own upload folder, I do this in the HTML editor by uploading to a folder and then adding a further extension using the "User ID" from the database. Can I do this in the HTML5 Uploader?
I want to use the user ID from a database table that is included in the upload form (I am also insert a record in a database as well, the form has the value in a hidden field that is then used in the Upload server Action. What I want to do is upload and image into a common folder and then direct it to a folder that is titled as the User ID (1, 2 , 3 ....)
I am not, I am using the form as part of the server connect upload. I need to direct the photo to a folder on the server, the folder on the server relates to the client user ID, I have multiple clients and their associated ID is what I want to use in the upload path, I need to get this from the user ID.
You just need a query, which filters your users and a repeat step after the query, which uses the query name as a value. Then just put everything inside this repeat ... and the query bindings will be accessible form there ...
Hi Toedor - I am obviously missing something here, all works fine except picking up the user ID from the database source for the path in the repeat. I have set the output as the User ID from the selection that I assume is coming from the query but that is not included in the upload file path. I have images of my settings to see if that help pin point what I am doing wrong but cannot attach them anymore. I can send images to you if you can let me have an address if that will help.