How is your experience with the OutSystems Community?
word-templates
Service icon

Word Templates

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 22 Nov (6 hours ago)
 by 
0.0
 (0 ratings)
word-templates

Word Templates

Details
Fill Word (.docx) templates with your data: values with number and date formats, repeated table rows and paragraphs, conditions and images. Templates are designed in Word by anyone.
Read more

Generate Word documents from your OutSystems data: invoices, contracts, letters, certificates, reports.


Anyone designs the template in Word, with {{tags}} where the data goes. Your app sends the template and a JSON of the data, and gets the filled .docx back. No Office, no external service, no license key.


- Values with number and date formats: {{Total:N2}}, {{Date:dd MMM yyyy}}, by culture

- Repeated table rows: {{#each Lines}} … {{/each}}

- Repeated or hidden paragraphs and tables, nested at any depth

- Conditions: {{#if Paid}} … {{else}} … {{/if}}, with ==, >, <

- Images: logos, photos, signatures, sized to fit their table cell

- Headers, footers, text boxes; Word's split runs are handled

- Missing data is reported in Warnings; template errors say what to fix

- GetSampleData shows the JSON a template expects


The demo app (Playground) tests any template: load the invoice example, edit the JSON, fill and download.


Built on the Open XML SDK (MIT). Also available for ODC.

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category