Use this function to put the file name of the currently running template into the assembled document.

For example:

The name of this template file is «TemplateName()»

To include the extension and full file path of the template, use the following:

The name of this template file is «TemplateName('true','true')»