How to keep a link from a row inside a collection to a file
Hi,
I have an app where for a row of information, there is a file (or more than one files). Now, in order to link a row to the file(s), I need to add a column to my collection. AFter uploading a file to the db, I need to put a unique name of this file (which is the appery generated name) in this column for that row. This will help me in reading where I can read the row, read the 'filename' column and then download the correspodning file.
So, how do I get the filename generated by the appery when upload completes? IS there response for upload?
Also, is there a way to rename the file?
What if the file names provided by the user are duplicated?