ColdFusion Mapping

A ColdFusion mapping is basically an alias to another folder. For example, if you were calling to a file with a path of
&ltcfinclude template="/site_name/folder_1/folder_2/folder_3/file.cfm">
You could create a mapping called /test and your code would look like this
&ltcfinclude template="/test/file.cfm">

This helps to simplify the code.

To create a ColdFusion mapping, log into webcontrolcenter and go to "Site" > "ColdFusion Options" and then to "ColdFusion Mappings." Enter the logical path name (for example: /temp), point to the folder you are mapping to and click "Save"

Add Feedback