Whatever message this page gives is out now! Go check it out!

What are CFX tags?

Last update:
Jun 9, 2026
ColdFusion Extension (CFX) tags are custom tags written against the ColdFusion Extension Application Programming Interface. Generally, you create a CFX tag if you want to do something that is not possible in CFML, or if you want to improve the performance of a repetitive task.

One common use of CFX tags is to incorporate existing application functionality into a ColdFusion application. That means if you already have the code available, CFX tags make it easy to use it in your application.

CFX tags can do the following:
  • Handle any number of custom attributes.
  • Use and manipulate ColdFusion queries for custom formatting.
  • Generate ColdFusion queries for interfacing with non-ODBC based information sources.
  • Dynamically generate HTML to return to the client.
  • Set variables within the ColdFusion application page from which they are called.
  • Throw exceptions that result in standard ColdFusion error messages.

    You can build CFX tags using C++ or Java.
Note:
ColdFusion provides several different techniques to create reusable code, including custom tags. For information on all of these techniques, see Creating ColdFusion Elements.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page