CFOBJECT  
Description

Creates a ColdFusion object, of a specified type.

Note: You can enable and disable this tag in the ColdFusion Administrator page, under ColdFusion Basic Security, Tag Restrictions.
 
Category

Extensibility tags

 
Syntax

The tag syntax depends on the object type. Some types use the type attribute; others do not. Choose one of the following entries from the drop down lists in this reference:

  • cfobject: COM object
  • cfobject: component object
  • cfobject: CORBA object
  • cfobject: Java or EJB object
  • cfobject: web service object
Note: On UNIX, this tag does not support COM objects.
 
See also

cfargument, cfcomponent, cffunction, cfinvoke, cfinvokeargument, cfproperty, cfreturn

 
History

New in ColdFusion MX: This tag, and the CreateObject function, can instantiate ColdFusion components (CFCs); you can use them within the cfscript tag.