How about (MX only AFAIK):

<!--- get a list of all the Verity collections --->
<cfcollection action="list" name="GetCollections">

<!--- do a query of queries to see if ours is there --->
<cfquery name="GetCollection" dbtype="query">
SELECT * FROM GetCollections 
where GetCollections.name = 'YourCollectionName'
</cfquery>

<cfif NOT GetCollection.RecordCount>
 <cfcollection action="create" collection="YourCollectionName" 
Path="#SERVER.COLDFUSION.ROOTDIR#/verity/collections" language="english">
</cfif>

HTH

Mike

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193193
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to