Name

GetK2ServerCollections

Synopsis

                  
                  GetK2ServerCollections( )

Returns a comma-delimited list of collection aliases for collections used by the K2 server. The K2 server engine must be started in order for this function to return any results. The following example loops through the list of available K2 server collections, displaying the collection aliases:

<h3>K2 server collections:</h3>
<cfloop list="#GetK2ServerCollections( )#" index="CollectionName">
   <cfoutput>#CollectionName#</cfoutput><br>
</cfloop>

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.