Hello all! I have an interesting problem. I have a screen that has a bunch of input information, and I would like to have my app, on button click, send an email of a picture of the current screen. I would like it to be saved as a PDF as well. Can anyone point me in the right direction?


Thank you!

Hi Andrew Sanders,

Maybe these steps can give you a direction for your solution:

1. The input data needs to be saved (data needs to be persistent for the next steps). 

2. Use the action that creates a PDF based on the HTML page. To do this you need to install and configure this forge component: https://www.outsystems.com/forge/component-overview/209/html2pdfconverter

3. The binary generated by this action, can then be sent attached to the email. To do this add a preparation to your email, and use the "Attach File" widget:

4. Consider to optimize this process by making this an async operation.

Let us know if this helps!

Hi Andrew Sanders,

Did you had your question answered? In case you solved, I'd suggest to mark this topic as solved!

Regards,