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

Review the information in the Console view in either Document Studio or the Launcher for issues. If there are issues from a document generation, the information might lead you to solutions for fixing your template.

Running the verification tool

Procedure

  1. Open the template in Document Studio.
  2. Click Template > Verify Document Template. The Problems view opens and lists of errors and warnings from the template.
  3. 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.

Feedback