In dox42, input parameters allow you to specify one or more parameters before generating a document. In simple terms, this means that you create a query that is to be displayed before the document generation starts. This query helps you to control or customise the document generation process. It is mainly used to filter data, specify formats, or provide dynamic content at runtime.
For example, you could configure an input parameter called EnterID so that users can enter the ID of the training participant whose information should be included in the generated document.
In some cases, input parameters can also influence the structure of the data returned by an external service. Then, they control not only which data is retrieved but also how the external service provides that data to dox42.
Principles of input parameters
An input parameter mostly refers to a specific data source and is set up within the data map in the Data Map Designer.
A data map can contain several input parameters, relating to either a single data source or several.
The value of an input parameter can be provided by another data field, free text, or a JSON request body, depending on the data source.
An input parameter’s syntax varies depending on the data source.
Quick start guide for using input parameters
Learn how to configure an input parameter for your template in general
You might want to explore the use cases for other data sources, too: