Download xls file on the fly

Hi there,

How to download a csv / xls file on the fly?

thank you

Hi Brrr,


Can you provide more insights on what you are trying to achieve.

the most common pattern is something like this.


Br

hi Sir,

I have an application to upload an excel file, however the user need the simplest excel - an excel file with some titles in columns, without data - and i need to download this file without needed to save it in a database.

regards

Solution

brrrr wrote:

hi Sir,

I have an application to upload an excel file, however the user need the simplest excel - an excel file with some titles in columns, without data - and i need to download this file without needed to save it in a database.

regards


You have two options there:

1-> create a template on your Excel with the column names, upload it to the resources, and download it following the pattern that i showed above. 



Or you can do something like this


The platform will use your labels on the entity to give the names to your columns.

Br


Solution

Thank you very much Sir,

u rock!