Checking for template errors
You can verify that a template is free from issues before
generating the output. To view a list of issues, run the verification
tool and review the list in the Problems view.
To generate a preview of the document to check for formatting issues,
run the Preview tool.
Before you begin
Running the verification tool
Procedure
- Open the template in Document Studio.
- Click . The Problems view opens and lists of errors and warnings from the template.
- Resolve the errors and warnings that are listed in the template.
What to do next
Tip: When testing your templates:
- Create small input sources for testing: Create special versions of the input sources and keep changing them to evaluate conditions contained in the templates.
- Preview large input sources: Processing of a template is made faster, by limiting the amount of data returned by each query. You can configure the number of data objects per query in the preferences. For example, instead of showing the a complete module with 100 objects, only the first 10 objects are processed.
- Test multiple input sources individually: Input sources can be deactivated by, in the document specification, selecting the data source and in the Properties view, set the ignored property to true. Test a template with single input sources first before testing it with all input sources simultaneously.
- Review the information from the document generation in the Console or Problems views to identify issues.