Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Email - Send With Document Problem

Avatar

Former Community Member
LCES with SP2



I am trying to use the Send With Document service in the middle of my process to send a copy of the form to a user. My forms are pdf forms and the type is XFAform in Workbench. My form submit button is XML Data Package (XDP).



I have been unsecessful in getting the form to attach to the email. Does anyone have any ideas on how to make this happen? I don't want to have to convert all of my form type to DocumentForm but if I have to I guess I will. It's a good sized process and I don't want to have to recreate the whole process.



Thanks in advance,



John
3 Replies

Avatar

Level 10
So you're just submitting the XDP back to your process.



You could use renderPDFForm from the Forms service to create a PDF from the data you just submitted.



Jasmin

Avatar

Former Community Member
How would I configure that? I normally would use @formURL and @inDocData in my render process but what about in my main process?



Input:

Form to Render: ?



Form Data: ?



URL Options: ?



Output:

Rendered Form: ?



Thanks,



John