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()

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub