Use auto-includes

You can configure projects, folders, and documents with an auto-include. An auto-include is an Include that is automatically included at the beginning or end in Master Templates.

Master Template scripts with auto-includes do not need an instruction #BEGIN…END#.

To use auto-includes, configure the project accordingly:

  1. In the tree view, right-click a project, folder, or a document for which you want to configure Includes.
  2. Right-click it and click Configuration.
  3. Select the Auto-includes tab.

    Select Use auto-includes and select Includes to add and to end the Master Templates of this project, folder, or document.

    Select Hide Auto-includes in Error Document to make an error document shorter and more readable.

When a Master Template is created, the following Master Template script is composed.

#BEGIN
Contents of auto-include configured on the folder as 'Add to end'
Contents of auto-include configured on the project as 'Add to end'
END#