This Quick-Start manual consists of a set of exercises which will teach you how to create templates for Docati. The first exercise explains the very basics, while the latter ones explain more advanced features.
If you don’t plan to perform all exercises, we advice you to at least do a quick scan on them, so you’ll know what else is possible.
Once these prerequisites are taken care of, you can start with the exercises.
Good luck! And of course, if you get in trouble with the exercises, just drop us a question and we will help you out a.s.a.p!
This sample will show you how to create a template using the most relevant placeholder: ValueOf. You will also learn how to connect to the Docati-service and test the template by generation the resulting document.
In this exercise we will enhance the template created in exercise 1: we will use the ForEach-placeholder to produce the list of ordered products.
In the previous exercises we worked with just text. In this exercise we will add an image to the template. Also, when using the ForEach we learned about a ‘context-node’ which made the data queries a lot shorter. The UseContext-placeholder provides similar functionality for regular situations.
In the previous exercises you learnt how to use create templates for Docati. The template looks pretty good, but it’s not finished. In this exercise you’ll learn how to finalize it.