getTemplatePath

Returns the filepath of the base template in this request

getTemplatePath() → returns string

The getTemplatePath function is DEPRECATED as of ColdFusion 6

Compatibility

ColdFusion:

DEPRECATED since version 6 Use the GetBaseTemplatePath function instead

Lucee:

DEPRECATED since version 4.5 Use the GetBaseTemplatePath function instead

Examples
Sample code invoking the getTemplatePath function

getTemplatePath()

Fork me on GitHub