AnsweredAssumed Answered

using a post form in a dashlet

Question asked by chrisokelly on Jun 5, 2012
Latest reply on Feb 4, 2014 by tverlaine
Hi,

I am working through creating a dashlet to submit tickets to our helpdesk from a Share dashlet. Essentially, the endpoint of the alfresco/share extension is for an email  to be sent.
I have created the dashlet itself, which registers and displays without error. I have the form on the dashlet but at current it does not submit anywhere.
I know I can create a webscript to send the email relatively easy by creating a mail action executor.
What I cannot figure out is how to get the data from the form to the webscript that will send the mail. I originally tried to add the mail action code onto the form's submit button's onclick event. I should have known that wouldn't work (client side) but haven't been able to find info on passing data between webscripts in Alfresco/share.

I haven't posted the code here, in this case, because I don't see it being useful as of yet (its not that I have tried something that isn't working, I just don't know where to start) but I can if needs be

Outcomes