Tags

Categories

NameNameName
Application Framework Tags Exception Handling Tags MS Office Integration Tags
Communications Tags Extensibility Tags Other Tags
Data Output Tags File Management Tags Page Processing Tags
Database Manipulation Tags Flow-control Tags Security Tags
Debugging Tags Forms Tags Variable Manipulation Tags
Display Management Tags Internet Protocol Tags

All ColdFusion Tags

namedescription
cfabortStops the processing of a ColdFusion page at the tag location. ColdFusion returns everything that was processed before the tag. The tag is often used with conditional logic to stop processing a page when a condition occurs.
cfajaximportControls the JavaScript files that are imported for use on pages that use ColdFusion AJAX tags and features.
cfajaxproxyCreates a JavaScript proxy for a ColdFusion component, for use in an AJAX client. Alternatively, creates a proxy for a single CFC method, JavaScript function, or URL that is bound to one or more control attribute values.
cfappletThis tag references a registered custom Java applet. To register a Java applet, in the ColdFusion Administrator, select Extensions > Java Applets.
cfapplicationDefines the scope of a ColdFusion application; enables and disables storage of Client variables; specifies the Client variable storage mechanism; enables Session variables; and sets Application variable time-outs.
cfargumentCreates a parameter definition within a component definition. Defines a function argument. Used within a cffunction tag.
cfassociateAllows subtag data to be saved with a base tag. Applies only to custom tags.
cfbreakUsed within a cfloop tag. Breaks out of a loop.
cfcacheStores a copy of a page on the server and/or client computer, to improve page rendering performance. To do this, the tag creates temporary files that contain the static HTML returned from a ColdFusion page.
cfcalendarPuts an interactive Flash format calendar in an HTML or Flash form. Not supported in XML format forms. The calendar lets a user select a date for submission as a form variable.
cfcaseUsed only inside the cfswitch tag body. Contains code to execute when the expression specified in the cfswitch tag has one or more specific values.
cfcatchUsed inside a cftry tag. Together, they catch and process exceptions in ColdFusion pages. Exceptions are events that disrupt the normal flow of instructions in a ColdFusion page, such as failed database operations, missing include files, and developer-specified events.
cfchartGenerates and displays a chart.
cfchartdataUsed with the cfchart and cfchartseries tags. This tag defines chart data points. Its data is submitted to the cfchartseries tag.
cfchartseriesUsed with the cfchart tag. This tag defines the chart style in which the data displays: bar, line, pie, and so on.
cfcolDefines table column header, width, alignment, and text. Used within a cftable tag.
cfcollectionCreates and administers Verity or Solr search engine collections.
cfcomponentCreates and defines a component object; encloses functionality that you build in CFML and enclose in cffunction tags. This tag contains one or more cffunction tags that define methods. Code within the body of this tag, other than cffunction tags, is executed when the component is instantiated.
cfcontentDoes either or both of the following:
cfcontinueUsed within a cfloop tag. Returns processing to the top of a loop.
cfcookieDefines web browser cookie variables, including expiration and security options.
cfdbinfoLets you retrieve information about a data source, including details about the database, tables, queries, procedures, foreign keys, indexes, and version information about the database, driver, and JDBC.
cfdefaultcaseUsed only inside the cfswitch tag body. Contains code to execute when the expression specified in the cfswitch tag does not match the value specified by a cfcase tag.
cfdirectoryManages interactions with directories.
cfdivCreates an HTML div tag or other HTML container tag and lets you use asynchronous form submission or a bind expression to dynamically control the tag contents.
cfdocumentCreates PDF or FlashPaper output from a text block containing CFML and HTML.
cfdocumentitemSpecifies action items for a PDF or FlashPaper document created by the cfdocument tag. Action items include the following:
cfdocumentsectionDivides a PDF or FlashPaper document into sections. By using this tag in conjunction with a cfdocumentitem tag, each section can have unique headers, footers, and page numbers.
cfdumpUse the cfdump tag to get the elements, variables, and values of most kinds of ColdFusion objects. Useful for debugging. You can display the contents of simple and complex variables, objects, components, user-defined functions, and other elements. The cfdump now shows component properties defined by cfproperty when you dump a CFC. A new key called PROPERTIES has been added in the component dump, which is expanded, by default. The text format of cfdump also provides this information.
cfelseUsed as the last control block in a cfif tag block to handle any case not identified by the cfif tag or a cfelseif tag.
cfelseifUsed as a control block in a cfif tag block to handle any case not identified by the cfif tag or a cfelseif tag.
cferrorDisplays a custom HTML page when an error occurs. This lets you maintain a consistent look and feel among an application’s functional and error pages.
cfexchangecalendarCreates, deletes, modifies, gets, and responds to Microsoft Exchange calendar events, and gets calendar event attachments.
cfexchangeconnectionOpens or closes a persistent connection to a Microsoft Exchange server, or gets information about mailbox subfolders. You must have a persistent or temporary connection to use the cfexchangecalendar, cfexchangecontact, cfexchangemail, and cfexchangetask tags.
cfexchangecontactCreates, deletes, modifies, and gets Microsoft Exchange contact records, and gets contact record attachments.
cfexchangefilterSpecifies filter parameters that control the actions of cfexchangemail, cfexchangecalendar, cfexchangetask, and cfexchangecontact, get operations.
cfexchangemailGets mail messages and attachments, deletes messages, and sets properties for messages on a Microsoft Exchange server.
cfexchangetaskCreates, deletes, modifies, and gets Microsoft Exchange tasks, and gets task attachments.
cfexecuteExecutes a ColdFusion developer-specified process on a server computer.
cfexitThis tag aborts processing of the currently executing CFML custom tag, exits the page within the currently executing CFML custom tag, or re-executes a section of code within the currently executing CFML custom tag.
cffeedReads or creates an RSS or Atom syndication feed. This tag can read RSS versions 0.90, 0.91, 0.92, 0.93, 0.94, 1.0, and 2.0, and Atom 0.3 or 1.0. It can create RSS 2.0 or Atom 1.0 feeds.
cffileManages interactions with server files.
cffileuploadDisplays a dialog for uploading multiple files from the user's system.
cffinallyUsed inside a cftry tag. Code in the cffinally block is processed after the main cftry code and, if an exception occurs, the cfcatch code. The cffinally block code always executes, whether or not there is an exception.
cfflushFlushes currently available data to the client.
cfformBuilds a form with CFML custom control tags; these provide more functionality than standard HTML form input elements. You can include the resulting form on the client page as HTML or Adobe Flash content, and generate the form by using XML and XSLT.
cfformgroupCreates a container control for multiple form controls. Used in the cfform tag body of Adobe Flash and XML forms. Ignored in HTML forms.
cfformitemInserts a horizontal line, a vertical line, a spacer, or text in a Flash form. Used in the cfform or cfformgroup tag body for Flash and XML forms. Ignored in HTML forms.
cfftpLets users implement File Transfer Protocol (FTP) operations.
cffunctionDefines a function that you can call in CFML. Required to define ColdFusion component methods.
cfgridUsed in the cfform tag. Puts a grid control (a table of data) in a ColdFusion form. To specify grid columns and row data, use the cfgridcolumn and cfgridrow tags, or use the query attribute, with or without cfgridcolumn tags.
cfgridcolumnUsed with the cfgrid tag in a cfform. Formats a column and optionally populates the column from a query. The font and alignment attributes used in cfgridcolumn override global font or alignment settings defined in cfgrid.
cfgridrowLets you define a cfgrid control that does not use a query as source for row data. If a query attribute is specified in the cfgrid tag, the cfgridrow tags are ignored.
cfgridupdateUsed with a cfgrid tag. Updates data sources directly from edited grid data. This tag provides a direct interface with your data source.
cfheaderGenerates custom HTTP response headers to return to the client.
cfhtmlheadWrites text to the head section of a generated HTML page.
cfhttpGenerates an HTTP request and handles the response from the server.
cfhttpparamAllowed inside cfhttp tag bodies only. Required for cfhttp POST operations. Optional for all others. Specifies parameters to build an HTTP request.
cfifCreates simple and compound conditional statements in CFML. Tests an expression, variable, function return value, or string. Used, optionally, with the cfelse and cfelseif tags.
cfimageCreates a ColdFusion image. You can use the cfimage tag to perform common image manipulation operations as a shortcut to Image functions. You can use the cfimage tag independently or in conjunction with Image functions.
cfimapQueries an IMAP server to retrieve and manage mails within multiple folders.
cfimportYou can use the cfimport tag to import either of the following:
cfincludeEmbeds references to ColdFusion pages in CFML. You can embed cfinclude tags recursively. For another way to encapsulate CFML, see cfmessagebox. (A ColdFusion page was formerly sometimes called a ColdFusion template or a template.)
cfindexPopulates a search engine collection with metadata and creates indexes for searching it. You can use both Verity and Solr search engines. The engines can search physical files of various types or a database query. Indexing database columns that result from a query lets users search the query data much faster than they could if you used multiple SQL queries to return the same data.
cfinputUsed within the cfform tag, to place input controls that support input validation on a form.
cfinsertInserts records in data sources from data in a ColdFusion form or form Scope.
cfinterfaceDefines an interface that consists of a set of signatures for functions. The interface does not include the full function definitions; instead, you implement the functions in a ColdFusion component (CFC). The interfaces that you define by using this tag can make up the structure of a reusable application framework.
cfinvokeDoes either of the following:
cfinvokeargumentPasses the name and value of a parameter to a component method or a web service. This tag is used in the cfinvoke tag.
cflayoutCreates a region of its container (such as the browser window or a cflayoutarea tag) with a specific layout behavior: a bordered area, a horizontal or vertically arranged box, or a tabbed navigator.
cflayoutareaDefines a region within a cflayout tag body, such as an individual tab of a tabbed layout.
cfldapProvides an interface to a Lightweight Directory Access Protocol (LDAP) directory server, such as the Netscape Directory Server.
cflocationStops execution of the current page and opens a ColdFusion page or HTML file.
cflockEnsures the integrity of shared data. Instantiates the following kinds of locks:
cflogWrites a message to a log file.
cfloginA container for user login and authentication code. ColdFusion runs the code in this tag if a user is not already logged in. You put code in the tag that authenticates the user and identifies the user with a set of roles. Used with cfloginuser tag.
cfloginuserIdentifies an authenticated user to ColdFusion. Specifies the user ID and roles. Used within a cflogin tag.
cflogoutLogs the current user out. Removes knowledge of the user ID, password, and roles from the server. If you do not use this tag, the user is automatically logged out when the session ends.
cfloopLooping is a programming technique that repeats a set of instructions or displays output repeatedly until one or more conditions are met. This tag supports the following types of loops:
cfmailSends an e-mail message that optionally contains query output, using an SMTP server.
cfmailparamAttaches a file or adds a header to an e-mail message.
cfmailpartSpecifies one part of a multipart e-mail message. Can only be used in the cfmail tag. You can use more than one cfmailpart tag within a cfmail tag.
cfmapEmbeds a geographical map within a ColdFusion web page.
cfmapitemThe cfmapitem tag is a child tag of the cfmap tag. This tag creates markers on the map. You can specify the marker in a map using either the cfmapitem tag or using the ColdFusion.Map.AddMapMarker JavaScript API. See ColdFusion.Map.addMarker for details.
cfmediaplayerCreates an in-built media player that lets you play FLV, MPEG-3, and MPEG-4 files.
cfmenuCreates a horizontal or vertical menu. Any menu item can be the top level of a submenu.
cfmenuitemDefines an entry in a menu, including an item that is the head of a submenu.
cfmessageboxDefines a control for displaying pop-up messages. The control has more features than the standard alert box, including the ability to include a prompt and entry field in the box.
cfntauthenticateAuthenticates a user name and password against the Windows NT domain on which the ColdFusion server is running, and optionally retrieves the user’s groups.
cfobjectCreates a ColdFusion object of a specified type.
cfobjectcacheFlushes the query cache.
cfoutputDisplays output that can contain the results of processing ColdFusion variables and functions. Can loop over the results of a database query.
cfparamTests for the existence of a parameter (that is, a variable), validates its data, and, if a default value is not assigned, optionally provides one.
cfpdfManipulates existing PDF documents. The following list describes some of the tasks you can perform with the cfpdf tag:
cfpdfformManipulates existing forms created in Adobe® Acrobat® and Adobe® LiveCycle® Designer. The following list describes some of the tasks you can perform with the cfpdfform tag:
cfpdfformparamProvides additional information to the cfpdfform tag.
cfpdfparamProvides additional information for the cfpdf tag. The cfpdfparam tag applies only to the merge action of the cfpdf tag and is always a child tag of the cfpdf tag.
cfpdfsubformPopulates a subform within the cfpdfform tag.
cfpodCreates a pod, an area of the browser window or layout area with an optional title bar and a body that contains display elements.
cfpopRetrieves or deletes e-mail messages from a POP mail server.
cfpresentationDefines the look of a dynamic slide presentation and determines whether to write the presentation files to disk. The cfpresentation tag is the parent tag for one or more cfpresentationslide tags, where you define the content for the presentation, and the cfpresenter tags, which provide information about the people presenting the slides.
cfpresentationslideCreates a slide dynamically from a source file or HTML and CFML code on the ColdFusion page. The cfpresentationslide is a child tag of the cfpresentation tag.
cfpresenterDescribes a presenter in a slide presentation. A slide presentation can have multiple presenters. The presenters must be referenced from the slides defined by the cfpresentationslide tag.
cfprintPrints specified pages from a PDF file. Use this tag to perform automated batch print jobs. Use the cfprint tag to print any PDF document, including the ones generated by the cfdocument, cfpdf, and cfpdfform tag. Also, you use this tag to print Report Builder reports exported in PDF format.
cfprocessingdirectiveProvides the following information to ColdFusion about how to process the current page:
cfprocparamDefines stored procedure parameters. This tag is nested within a cfstoredproc tag.
cfprocresultAssociates a query object with a result set returned by a stored procedure. Other ColdFusion tags, such as cfoutput and cftable, use this query object to access the result set. This tag is nested within a cfstoredproc tag.
cfprogressbarDefines a progress bar to indicate the progress of an activity such as a file download.
cfpropertyDefines properties and their annotations for a ColdFusion component (CFC). The properties are used to create complex data types for web services, while the annotations are used to define Object Relational Model (ORM) for a CFC. The attributes of this tag are exposed as component metadata and are subject to inheritance rules.
cfqueryPasses queries or SQL statements to a data source.
cfqueryparamVerifies the data type of a query parameter and, for DBMSs that support bind variables, enables ColdFusion to use bind variables in the SQL statement. Bind variable usage enhances performance when executing a cfquery statement multiple times.
cfregistryThis tag is deprecated for the UNIX platform.
cfreportUsed to do either of the following:
cfreportparamThe cfreportparam tag lets you perform the following tasks:
cfrethrowRethrows the currently active exception. Preserves the exception’s cfcatch.type and cfcatch.tagContext variable values.
cfreturnReturns result values from a component method. Contains an expression returned as result of the function.
cfsavecontentSaves the generated content of the cfsavecontent tag, including the results of evaluating expressions and executing custom tags, in the specified variable.
cfscheduleProvides a programmatic interface to the ColdFusion scheduling engine. Can run a CFML page at scheduled intervals, with the option to write the page output to a static HTML page. This feature enables you to schedule pages that publish data, such as reports, without waiting while a database transaction is performed to populate the page.
cfscriptEncloses a code block that contains cfscript statements.
cfsearchSearches one or more Solr or Verity collections.
cfselectConstructs a drop-down list box form control. Used in a cfform tag. You can populate the list from a query, or by using the HTML option tag.
cfsetSets a value in ColdFusion. Used to create a variable, if it does not exist, and assign it a value. Also used to call functions.
cfsettingControls aspects of page processing, such as the output of HTML code in pages.
cfsharepointInvokes a feature that SharePoint exposes as a web service action, such as the Document Workspace getdwsdata action.
cfsilentSuppresses output produced by CFML within a tag’s scope.
cfsliderPlaces a slider control, for selecting a numeric value from a range, in a ColdFusion form. The slider moves over the slider groove. As the user moves the slider, the current value displays. Used within a cfform tag for forms in HTML and applet format. Not supported with Flash forms.
cfspreadsheetManages Excel spreadsheet files:
cfsprydatasetCreates a Spry XML or JSON data set from the results of a bind expression.
cfstoredprocExecutes a stored procedure in a server database. It specifies database connection information and identifies the stored procedure.
cfswitchEvaluates a passed expression and passes control to the cfcase tag that matches the expression result. You can, optionally, code a cfdefaultcase tag, which receives control if there is no matching cfcase tag value.
cftableBuilds a table in a ColdFusion page. This tag renders data as preformatted text, or, with the HTMLTable attribute, in an HTML table. If you don't want to write HTML table tag code, or if your data can be presented as preformatted text, use this tag.
cftextareaPuts a multiline text entry box in a cfform tag and controls its display characteristics. Optionally, displays a rich text editor with configurable controls for formatting HTML text.
cfthreadThe cfthread tag enables you to create threads, independent streams of code execution, in your ColdFusion application. You use this tag to run or end a thread, temporarily stop thread execution, or join together multiple threads.
cfthrowThrows a developer-specified exception, which can be caught with a cfcatch tag that has any of the following type attribute options:
cftimerDisplays execution time for a specified section of CFML code. ColdFusion displays the timing information along with any output produced by the timed code.
cftooltipSpecifies tool tip text that displays when the user hovers the mouse pointer over the elements in the tag body. This tag does not require a form and is not used inside Flash forms.
cftraceDisplays and logs debugging data about the state of an application at the time the cftrace tag executes. Tracks run-time logic flow, variable values, and execution time. Displays output at the end of the request or in the debugging section at the end of the request; or, in Dreamweaver MX and later, in the Server Debug tab of the Results window.
cftransactionFor enterprise database management systems that support transaction processing, instructs the database management system to treat multiple database operations as a single transaction. Provides database commit and rollback processing. See the documentation for your database management system to determine whether it supports SQL transaction processing.
cftreeInserts a tree control in a form. Validates user selections. Used within a cfform tag block. Use a ColdFusion query to supply data to the tree.
cftreeitemPopulates a form tree control, created with the cftree tag, with one or more elements.
cftryUsed with one or more cfcatch tags. Together, they catch and process exceptions in ColdFusion pages. Exceptions are events that disrupt the normal flow of instructions in a ColdFusion page, such as failed database operations, missing include files, and developer-specified events.
cfupdateUpdates records in a data source from data in a ColdFusion form or form Scope.
cfwddxSerializes and deserializes CFML data structures to the XML-based WDDX format. The WDDX is an XML vocabulary for describing complex data structures in a standard, generic way. Implementing it lets you use the HTTP protocol to such information among application server platforms, application servers, and browsers.
cfwindowCreates a pop-up window in the browser. Does not create a separate browser pop-up instance.
cfxmlCreates a ColdFusion XML document object that contains the markup in the tag body. This tag can include XML and CFML tags. ColdFusion processes the CFML code in the tag body, and then assigns the resulting text to an XML document object variable, which is always stored in Unicode.
cfzipManipulates ZIP and Java Archive (JAR) files. In addition to the basic zip and unzip functions, use the cfzip tag to delete entries from an archive, filter files, read files in binary format, list the contents of an archive, and specify an entry path used in an executable JAR file.