About Variables
3 min
variables are sometimes referred to as parameters, in both the documentation and the document template authoring add in you can use variables in your templates in a variety of ways for example you want the user (that is generating the document) to specify a value for a variable, in order to customize the output of the document learn more about parameterized document generation see document template options and parameters docid\ blr6lopq0k4ot077wndpx you want to retrieve the value of a specified data item (node) from your data source and store the result in a newly created variable for later use for more information, see query tag docid 5xzs qscx7kdal0xol4o you want to improve the maintainability of your template by reusing a value (or expression) throughout your template instead of hard coding it numerous times for more information, see set tag docid\ ioxjzo49c j8dzf7qj7v parameterized document generation blueprint supports the use of parameters when you export an office document once configured, the user that exports the artifacts can specify their desired parameter values as input this allows for the behavior of the report to be different based on end user considerations as opposed to pre defined thinking by the template developer the project administrator can explicitly set up the parameters in the same location where the document template is uploaded to blueprint default values can be assigned to any parameter parameters can be configured to be either mandatory or optional when a user exports an office document in blueprint, a screen called 'specify parameters' appears in the generate office document wizard if there are no parameters, or if the parameters are disabled in the project admin console, the wizard screen is automatically skipped example ahmed, a template developer, has been asked to create a template that will display all of the requirements of a specific priority level (low, medium, and high) instead of creating 3 different templates, he creates a template with a parameter called priority whenever a user generates a document, blueprint prompts the user to specify a value for the priority parameter