Thanks to both of you!  Got it going 

Jim Watkins 
-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 21, 2005 4:15 PM
To: CF-Talk
Subject: Re: Verity change

You could also use cfcollection with action=list to see if your
collection already exists.


On Mon, 21 Feb 2005 16:01:16 -0500, Dave Watts <[EMAIL PROTECTED]>
wrote:
> > When I changed from CF 5.5 to CF MX 6.1 my Verity Search
> > scripts broke. Below is the piece I am having problems with.
> > What is best way to fix this? If I must start all over is
> > there a template I could follow to get this setup?
> >
> >       <CFREGISTRY ACTION=GETALL
> > Branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\Current
> > Version\Co
> > llections"
> >               Type="KEY"
> >               Name="Collections">
> >
> >       <CFSET CollectionFound = 'No'>
> >       <CFLOOP QUERY="Collections">
> >               <CFIF Collections.Entry IS 'policy'>
> >                       <CFSET CollectionFound = 'Yes'>
> >               </CFIF>
> >       </CFLOOP>
> 
> CFMX doesn't store much information within the Windows registry. I'm
> guessing it stores Verity information within neo-verity.xml. If you
want to
> programmatically create a collection only if it doesn't already exist,
you
> could just use CFCOLLECTION within CFTRY/CFCATCH.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> 
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:195811
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