Open topic with navigation

# Modify the Main Template File

Modify the main template file so that information extracted from the sub-table is inserted into the document.

To modify the main template file

1. Open the main template file in a text editor. In this example, the main template file is `template.tmpl`.

2. Specify the location where data from the sub-table is included. To do this, insert an HTML comment (`<!--comment-->`) where `comment` is the name of the section in the configuration file that you specified in the `SubTables` parameter.

   For example:

       #DREREFERENCE <!--OrderID-->
       #DREFIELD Date="<!--Date-->"
       #DREFIELD CustomerID="<!--CustomerID-->"
       #DREFIELD Status="<!--Status-->"
       #DRECONTENT
       Order information
       Date Received: <!--Date-->
       Status: <!--Status-->

       Customer information
       <!--Customers-->
       #DREENDDOC

3. Save and close the main template file.

© Copyright 2018 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm