Where can I locate files that I’ve uploaded for download?

0
Hello, I've been experimenting with Mendix to create an app where customers can upload files, which I then need to access and view. However, I'm having trouble figuring out how to retrieve this information from the Mendix database. I see that the data is stored in hexadecimal format, and I'm feeling a bit overwhelmed. I had planned to add a button that would become visible once a customer has uploaded a file, which I could then press to download the file.         Could you please help me understand how to access and download the uploaded files in Mendix? Any guidance you could provide would be greatly appreciated.
asked
1 answers
1

Hi,

In this case i would associate document to customer(account) entity which will be customer_document , when customer will upload document i will set this uploaded document to that association.

I would then create 1 page for customer ,in which there will be listview for all customers and you can give download button per customer and set its visibility condition as customer_document should not empty.

in that download button call a microflow with account entity as parameter , by this parameter retrieve its document and put a download action and download it.

answered