How to generate a pdf from a template?
Question

Hi, 

Anyone have any idea, how can I generate a PDF document from a template where you must fill in some keywords  with information entered into a form? thans


For example, fill the keywords of this letter


Champion

Hi German Quintero,


You can use this extension from Forge: https://www.outsystems.com/forge/component-overview/209/html2pdfconverter

You can put your template as a webscreen and fill in the information like a normal expression. 

German Quintero wrote:

Hi, 

Anyone have any idea, how can I generate a PDF document from a template where you must fill in some keywords  with information entered into a form? thans


For example, fill the keywords of this letter


Hi German,

You can use html2pdfconvertor as GeralDine suggested or you can run javascript 

"window.print()"

on button click to print the page and save it as pdf. 


German Quintero wrote:

Hi, 

Anyone have any idea, how can I generate a PDF document from a template where you must fill in some keywords  with information entered into a form? thans


For example, fill the keywords of this letter


Hi German Quintero,

To generate a pdf  with your requirement.

1. You need to design your screen with the template which you required

2.To download your screen as html you can use HTML2Pdf converter plugin https://www.outsystems.com/forge/component-overview/209/html2pdfconverter  

3. To download use download widget .

Another alternative, that gives end-users the power to create and maintain their own templates, is this component:

https://www.outsystems.com/forge/component-overview/12591/docmosis-connector

It allows users to upload templates created in Word, similar to the example in the question, and uses the Docmosis Cloud (paid) service to securely generate the merged document with your application data in various output formats.

The component has a Try Now option where you can experiment with the features.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.