Fileupload directory on create

Hello,
I am using Fileupload to upload property listing gallery images but I need to upload the images inside the listings/{id} folder but as the record is not created yet then I don't have the id to move the files to. Please let me know if there is any tip or trick to make it work on create?

Thank you
Was this page helpful?