Retrieves the classification of the template for the current page.

This variable makes it possible to create conditional content in a template based on the identity of the template. Use this variable within a template page to determine the source of the pages delivered by the server.

For standard templates, this variable is defined in the class column of the IntradocTemplates table in the templates.hda file.

For search results templates, this variable evaluates to Results.

For report templates, this variable evaluates to Reports.

For dynamic server pages, this variable is typically IdcDynamicFile.

Type and Usage


Returns a string.


This markup displays a table of template information on the page:

    <TR><TD>Template Name</TD>
    <TR><TD>Template Class</TD>
    <TR><TD>Template Type</TD>
    <TR><TD>Template File Path</TD>

See Also