How to Set Custom File Name When Exporting Data in Mendix?
0
Hi everyone, I am using the Export Module in Mendix to generate Excel files, but the exported file gets a random name like Export14655110430099452685.xlsx. I want to set a meaningful file name that includes the data module name and the date, such as CustomerData_2025-02-25.xlsx. How can I achieve this in Mendix? Is there a way to modify the FileDocument object to set a custom name before downloading the file? Any guidance or example microflows would be greatly appreciated! Thanks in advance!
asked
Pushpendra Nayak
1 answers
1
Hey Pushpendra,
Changing the name of FileDocument(or specialization entity) will do the job.