***INCLUDING ATTACHMENTS IN CSV***
Hello, I’m using the CSVee plugin to manually export data from my Freeform form submissions. Those form submissions live in a table called, “exp_freeform_entries” and my code looks like this:
{exp:csvee filename=“call_registration.csv” fixed_width=“200” group_id=“1|6” query=“SELECT first_name, last_name, call_email, phone1, questions, mailinglist, template FROM exp_freeform_entries WHERE template=‘callregistration’”}
I trying to figure out how to include links to attachments that were submitted with the form, but attachments live in a separate table: exp_freeform_attachments. Is it possible to adjust my SQL query to call more than one table?
***AUTOMATING***
I’m calling the CSVee plugin manually by visiting the page/template in a browser. Can I automate this somehow w/a CRON job? I’m not familiar w/ CRON, but understand its used to clean directories, back-up data, etc. Is it ever used to emulate a page visit? That’s the only way I can think of to automate a CSVee export.
Thank for any help you can offer.