Export SQL table in CSV document

clovismartins 11 Sep, 2018
Help me please.

I’ve one form that save data in SQL table (#cf_reg).
I´ve another form, that haves only a submit button, when clicked, it must export all data of table (#cf_reg) in a csv document.
Until that moment, the setup of second form have a read data and inside a CSV export, but I don’t remember how I configure this.
What I must fill in “Data provider” field of CSV event?
Can you help me? Export SQL table in CSV document image 1
GreyHead 17 Sep, 2018
Hi clovismartins,

The Data Provider should, I think, be the name of the data set created by your Read Data action. Adding a Debugger might help you diagnose this.

Bob
healyhatman 18 Sep, 2018
Data provider should be {var:read_data10}
Titles should be as it says name:Title so if you have a field called "client_id" in your read data you would do for example model.client_id:Client ID Number
This topic is locked and no more replies can be posted.