MACROMEDIA COLFUSION MX 7-CFML Reference page 85

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

Column
Contents
LASTMODIFIED The date and time that the collection was last changed.
MAPPED
Obsolete
NAME
The name of the collection.
ONLINE
Obsolete
PATH
Absolute path to the collection.
REGISTERED
Obsolete
SIZE
The size of the collection, expressed in kilobytes.
The ColdFusion MX Administrator Verity > Collections page displays the information that is
returned when you use the
If the Verity Server is not running when the
To determine whether a collection exists, use code, such as the following, to execute a query of
queries:
<cfcollection action="list" name="myCollections" >
<cfquery name="qoq" dbtype="query">
select * from myCollections
where myCollections.name = 'myCollectionName'
</cfquery>
<cfif qoq.recordcount GT 0>
<!--- Collection exists --->
<cfdump var = #qoq#>
</cfif>
To get a result set with values for all the collections that are registered with the Verity server, use
code such as the following:
<cfcollection action="list" name="myCollections">
<cfoutput query="myCollections">
#name#<br>
</cfoutput>
To add content to a collection, use
The
attribute of this tag supports the following options:
language
Asian Language Pack
Japanese
Multilanguage Language Pack
Unicode
Western European Language Pack
Bokmal
Danish
Dutch
attribute.
list
. To search a collection, use
cfindex
Korean
Finnish
French
German
action is executed, the tag throws an error.
list
Chinese
Italian
Nynorsk
Portuguese
cfsearch.
Traditional Chinese
Spanish
Swedish
cfcollection
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents