How to export data to CSV?

So, looking through the forums for several years HOW DOES ONE USE the EXPORT CSV Action?
I’m working a php & mysql project.

The path selector using the Folder icon does not work the way I’m sure was intended.
If I try using the Folder icon to pick the folder I have made in the project /csvexport the OPEN (and save the choice ) does not activated.

Getting past that problem I typed in the path to the folder I had tried to choose by the folder icon component.
I assumed would not use the actual File Name and .csv extension type – as in /csvexport/trainingsform.csv.-- since Wappler specifies only PATH.

But, the subsequent output debug showed me

/dmxConnectLib/modules/export.php",“line”:29,“message”:“Data is not an array.”,“trace”:"#0

Since I selected the Wappler API component that also gave a choice of the Delimiter I assumed that the code in this api knew what to do with the output of a multiple row Wappler query that had no special conditions or filters applied.

I cannot tell from the years of Forum posts about problems with this whether this is a once existing bug that was fixed or whether it needs the user to devise their own code solution.

Community Page
Last updated: