CFINCLUDE

Lets you embed references to Cold Fusion templates in your CFML.

CFINCLUDE
Attribute

Description

TEMPLATE

A logical path to an existing template file

Directory mapping and included templates

When Cold Fusion encounters template files embedded in other template files with the CFINCLUDE tag, it searches for the included file in the following manner:

Because of this, you should, as a rule, always create the same mappings in both your server administrator and the Cold Fusion administrator.

Example

<CFINCLUDE TEMPLATE="TemplateFileName">