Forums

CSV,XLS EXPORT+ATTACH2email

mdma 10 Feb, 2016
Hello everyone,

i better ask:
what is needed to make a simple form for selecting and exporting DB_a or DB_b and the selected via email.

1.)dropdown with DB_a/DB_b and Submit.=this is the form in "General".
2a.)in "Setup" -> "onLoad" i have a [Render Html]
2b.)on_Submit first there is an [Event Switcher] for the dropdown.
2c.)in the [Event Switcher] on_DB_ a: [export csv from DB a] +[Email], on_DB_ b [export csv from DB b]+[Email]

A)in CF5 is custom code needed for exportCSV to server FIRST?
only THEN it can be attached to email in the next step?

B.)there is no email sent by this way...it has to be lastone in on_Submit.
(how to dynamically make an attachmant based on event?
GreyHead 10 Feb, 2016
Hi mdma,

As far as I can see the standard action only supports immediate download of the file so it can’t be attached to an email. I have a beta version of a CSV Export [GH] action with more options. I will PM you a download link to try it.

Bob
mdma 12 Feb, 2016
1 Likes
Thank alot Bob!
I already have looked a tiny bit into your mighty custom action,
I have to learn, what else can be done with it,
especially preprocessing csv, joining ...

Very promissing, it will take some time to test and understand what is possible to configure.
This topic is locked and no more replies can be posted.