+ Start a Discussion
siddarth rajsiddarth raj 

Generate csv on demand from Apex

Hello

I have a requirement to generate the csv file and to be downloaded on button click from user. No saving we wanted it just generated and download on the flow.

Could some please help if any one come across of it.

Thanks
Sid
Best Answer chosen by siddarth raj

All Answers

Amit Chaudhary 8Amit Chaudhary 8
This was selected as the best answer
siddarth rajsiddarth raj
Thanks Amit

It worked I have seen it some days ago and implimented similarly , the flaw with this is we have to render to format in which we wanted like pdf or csv or excel. 

It cant be downloaded from the same page. By the way Thanks for your response.

Regards
Sid