Buy Now
Sign in

A button to save in CSV

barredespace , December 14 2017
Answered
B
barredespace
Hi,

I am totally new to ChronoConnectivity and may be missing something obvious but I read a lot of posts and couldn't find a clear answer to my problem.
I try to create a list with a button (or a link) to export it in CSV format.
I read this post in particular but still no joy.

What I achieved so far :
[*]My list is displayed all right with the right titles and sortable columns,
My export function is good which I checked by triggering it in my index event,
Both button and plain link trigger a download but the resulting file is empty a part from columns titles[/*]

Here are some screenshots :







I suspect I missed something in the link parameters, URL and/or content…

Any help appreciated,
thank you
--
Pascal
admin
Hi Pascal,

The "export_CSV" event is a new page, it does not appear that you have read the records first before calling the "export_csv" function, please try to do that.

Best regards
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
B
barredespace
Ah ! Ok ! Thanks ! It's working now.
(feeling a bit stupid right now)

Regards,
--
Pascal