Our client has a form forged in the depths of Hell. They want this data extracted, so it's been set up to save as a *.CSV. All is well.
Turns out, the gentleman who is supposed to interpret the data doesn't have access to the solution, so what they want, is for me to figure out a way to send an email or upload to FTP, every time the form is submitted.
I'm very sceptical to this. Is this somehow possible to do with standard DW functionality, or do we need to involve the backend monkeys? I feel I should just go out and get a batch of bananas right away, but it sure would be neat if it could be handled frontend.
The form is set up in the old form module, as the client feel it's easier and more flexible, but they do have both form modules installed with extended.
Developer forum
E-mail notifications
Sending form CSV to email. Or something.
Nikki Strømsnes
Posted on 24/05/2012 10:25:02
Replies
Nuno Aguiar
Posted on 24/05/2012 10:51:26
Hi Nikki,
You should easilly accomplish this by simply:
http://www.yourwebsite.com/Files/Filer/FormData/Form_formname_check_in_fileManager.csv
Nuno
You should easilly accomplish this by simply:
http://www.yourwebsite.com/Files/Filer/FormData/Form_formname_check_in_fileManager.csv
Nuno
Nikki Strømsnes
Posted on 24/05/2012 12:55:37
Hmm... Pardon my ignorance. Could you please elaborate?
The problem is not creating the CSV. I want to have it automagically sent to a email-address when someone submits new data to it.
The problem is not creating the CSV. I want to have it automagically sent to a email-address when someone submits new data to it.
Nuno Aguiar
Posted on 24/05/2012 13:09:14
This post has been marked as an answer
Hi Nikki,
No, automatically sent to the e-mail is something you won't be able to do.
A client of ours has an old form, and what he does is to loads the URL and download the updated csv file, whenever he receives a new e-mail from the forms module. I believe he that the URL in his browsers's favorites toolbar.
Nuno
No, automatically sent to the e-mail is something you won't be able to do.
A client of ours has an old form, and what he does is to loads the URL and download the updated csv file, whenever he receives a new e-mail from the forms module. I believe he that the URL in his browsers's favorites toolbar.
Nuno
Votes for this answer: 0
Nikki Strømsnes
Posted on 25/05/2012 12:44:36
Yeah, that's what I feared, but it was worth a shot, even if it was a long shot. Backend Monkey Team dispatch!
Cheers, Nuno. :)
Cheers, Nuno. :)
Jais Edelmann
Posted on 06/07/2012 15:10:18
Isent there an event/notificationsubscriber you can hook up to and just create a method with asmtpclient and mailmessage and fire off the method eachtime the event/notification subscriber is hit?
Morten Bengtson
Posted on 09/07/2012 10:29:58
Hi Jais,
In the "new" Forms module you can implement an extension to handle the form save event. You do that by creating a class that inherits from Dynamicweb.Modules.DataManagement.FormSaveProvider
You can find the documentation for Data Management Extensibility here:
http://developer.dynamicweb-cms.com/downloads/documentation.aspx
/Morten
In the "new" Forms module you can implement an extension to handle the form save event. You do that by creating a class that inherits from Dynamicweb.Modules.DataManagement.FormSaveProvider
You can find the documentation for Data Management Extensibility here:
http://developer.dynamicweb-cms.com/downloads/documentation.aspx
/Morten
You must be logged in to post in the forum