Hello,
-- I am very new to Orbeon. So far I love the possibilities offered by this application. I have been quite successful creating conditional Form elements and sending an email. The send email contains an xml and pdf attachment of the filled out form. I managed to control attachments as well. The body will constist of the "Please find attached the form in PDF and XML format." Message preconfigured within resources.xml What I cannot seem to accomplish, is to figure, how to send the supplied form data (preferably stripped of empty form fields) as HTML or Plain Text within the email Body. The background to this is, I want to use these forms i.e. to provide structured incident/ problem reports, where the entered values populated within the subject and body can serve as keywords to trigger automatism within a ticket system (otrs). I have searched google, orbeon wiki and this mailing, without much success. Maybe because I am missing to much background information to interpret the given information. Any suggestion into the right direction would be very much appreciated. Please be aware that I am yet an utter novice :) Best regards, MoBIoS You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
If I need to provide more information please let me know.
I hope someone can help me out and push me into the right direction. Thank you very much in advance. Regards, MoBIoS |
Administrator
|
Hi MoBIoS,
Sorry for the delay! Currently, as you've noticed, Orbeon Forms doesn't support filling out a template with information coming from the data entered by users, and sending that "filled out template" by email. But you could change the Orbeon Forms' code to implement this. As you can see in the code linked below, right now the body of the email is just composed of that text taken from the resources, but that code is in XSLT and has access to the data, so it shouldn't too hard to change it to "fill out a template", if this is what you need. https://github.com/orbeon/orbeon-forms/blob/tag-release-4.8.2-ce/src/resources/apps/fr/email/email-form.xpl#L241 Alex On Tue, May 5, 2015 at 12:04 AM, MoBIoS <[hidden email]> wrote: > If I need to provide more information please let me know. > I hope someone can help me out and push me into the right direction. > > Thank you very much in advance. > > Regards, > > MoBIoS > > -- > View this message in context: http://discuss.orbeon.com/Send-Form-Data-as-Email-Body-tp4659862p4659869.html > Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com. > > -- > You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > To post to this group, send email to [hidden email]. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Thank you very much for your response.
I will have a look at the code form email-form.xpl and resources.xml and see If I can change it to fit my needs. I will keep this topic up to date. |
Administrator
|
Sounds good; and you'll let us know how it works out, or if there is
anything we can do to help along the way. Alex On Tue, May 5, 2015 at 11:15 PM, MoBIoS <[hidden email]> wrote: > Thank you very much for your response. > I will have a look at the code form email-form.xpl and resources.xml and see > If I can change it to fit my needs. I will keep this topic up to date. > > > -- > View this message in context: http://discuss.orbeon.com/Send-Form-Data-as-Email-Body-tp4659862p4659876.html > Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com. > > -- > You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > To post to this group, send email to [hidden email]. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |