Storing CFCs

Contact Us or call 1-877-932-8228
Storing CFCs

Storing CFCs

ColdFusion Components can be stored in any of the following locations. ColdFusion will search for them in the order listed.

  1. In the same directory as the calling page - while this is easy for demonstration purposes, it's not very practical, as it means that the CFC is only available within that directory.
  2. In a directory (or subdirectory of a directory) mapped in ColdFusion Administrator under Server Settings -> Mappings.
  3. In a directory (or subdirectory of a directory) specified in ColdFusion Administrator under Extensions -> Custom Tag Paths.
  4. In the web root.
Next