How to set export file name


I need to set the export file name, so that when the user exports, gets an Excel file with a name that says something. I know there is a way to do it through a button, but it would be better if I could set it up in the report’s definition

3 answers

Ian Sadovy Flexmonster September 14, 2017

Hello Alberto,
Thank you for the question.
Actually, you can set export file name only by passing it to the exportTo API call.
So, there is no option to set it in the config file.
Please let me know if you have any other questions.

Lukas Navratil September 14, 2017

I just want to add that it would be also useful for us to have some config option where we could set the default export filename (e.g. common for all export types, Flexmonster would just add extension based on the export type). Otherwise we would have to recreate whole export menu with our custom implementations that would just call API with proper export filename and Excel sheet name…

Tanya Gryshko Flexmonster September 15, 2017

Hello Lukas and Alberto,
Thank you for writing to us. We have added this request to our customers’ wish list. However, we are not able to provide you with an estimated timeframe for implementation of this feature. We will notify you about any updates on the subject. Let me know if you have other questions.

Please login or Register to Submit Answer