Below you will find examples of different features of the Docmosis document generation system.
Each example includes:
Add or remove content using "IF" statements. List numbering changes to match the data.
Using the numFormat function to output: currency, percentages, decimals and more.
Add or remove table rows using conditional statements and repeating rows.
How to perform Math and Logic calculations and call Math Functions from within your templates.
These examples show how to display repeating data in “steps” across or down a page.
Examples showing different page sizes and different orientations in the same document.
These examples explain why a blank line can appear when a conditional statement returns false.
This example shows how to display repeating data including bullet lists and numbered lists.
An introduction to Tables and controlling layout with Table and Paragraph properties.
This example shows how to dynamically insert and configure barcodes into documents.
An example of a table with one header row and subsequent rows filled with alternating colours.
Examples of how to merge one template in to another template, directly or as determined by data.
These examples show how to display a series of images in “steps” across or down a page.
These examples show how to display a list of items in a sentence, separated using "comma" and "and".
An introduction to adding dynamic images to a document from Base64 encoded image data.
Examples of the built-in String functions for formatting your data in the generated document.
Examples of using the formatDate function to decode and display Dates and Times.
Examples of providing alternative content to "IF" statements with additional expressions.
Examples of using static and dynamic hyperlinks to other websites and email addresses.
These examples show how to add or remove table columns using conditional statements.
These examples show how to remove table columns using conditional statements based on the content of the table.