Hi there,
My requirements are:
So, do I need to "render" to html first and then PDF it?
Which Forge component can I use for this?
Thanks in advance
Uday
Hi Uday,
You can use https://www.outsystems.com/forge/component-overview/209/html2pdfconverter
The HTML rendering will happen server side. Also the generation of the PDF will happen server side.
Save the PDF in an entity with an attribute if data type Binary.
To email the PDF you can use OutSystems build in mail functionality.
Regards,
Daniel
Daniël Kuhlmann wrote:
Hello Daniel,
Thanks very much. My developer is saying he is encountering a compile error when he deploys code to the OutSytems Dev environment. I've asked him to post details here
Thanks again
Hi,
To make it work you needs to configure the server to make it work . please check the link to configure the PDF .
https://wkhtmltopdf.org/
https://www.outsystems.com/forums/discussion/17923/html2pdfconverter-faq/
I hope it will help you to get resolve the issues
Thank you,
Sudip
In addition to what Supid posted, please note that when you launch the HtmlToPdfConverter app in your environment, that on the screen presented there is an Installation Instructions page that contains detailed instructions on how to configure the component (basically you have to upload some binaries) and test it from the test page.
https://<your-environment-base-url>/HtmlToPdfConverter/InstallationIntructions.aspx
The tabs Image and Pdf can be used to test the installation.
I think my original issue is when I try to have a look at extension part of Html2PDF, there is a message for compiler error. It may not just for Html2PDF, but is it anything you can help us?
I hope all files of html to pdf converter .exc and other files are not properly install in your server. Thats why it is not compiling properly. Please follow the instruction given by htmltopdfconverter , it will work fine.
Hi Allan,
Do you have OutSystems OnPremise installation?
Also, do you have permission to create .dll files on your local drive system?
The error displayed is a permission error for Visual Studio to write a dll file to disk.