|
Specifically for datasources, the simplest method is probably to use
cfhttp to post to the relevant page in the ColdFusion Administrator.
That assumes that you know the ColdFusion Administrator password. If you don't know the CF Admin password, you can still use cfinclude to include the relevant page from the ColdFusion Administrator and make sure that the form scope has the required variables. That assumes that you know the physical locaiton of the CFIDE directory on your servar, and your CF Administrator isn't in a sandbox. If you're sandboxed out of the Administrator you're going to have lots of fun. Spike Beattie, Barry wrote: thanx Spike. I'm looking at it now, thanx. it's a start...I'm trying to script creating and managing lots of DSN's (really a batch job) and this looks like the only way to do it. any ideas? pointers? thanx barry.b -----Original Message----- From: Spike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 3 June 2003 3:10 PM To: CFAussie Mailing List Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory) What sort of stuff do you want to know? It's relatively easy to use Java to figure out the details of what you can do with the various factory services. e.g. <cfscript> factory = createObject('java','coldfusion.server.ServiceFactory'); </cfscript> <cfoutput> <cfloop list="#structKeyList(factory)#" index="i"> #factory[i].getClass().getname()#<br> </cfloop> </cfoutput> That will give you a list of the Java classes for each of the factory services. You can then use Java reflection to find out more about the class. I wrote a Java class dumping utilitly for CFMX which is available here: http://www.spike.org.uk/index.cfm?objectid=58DC386D-22AB-07A9-6B43A9E80357D6 C7&startDate=06_2003 Spike Beattie, Barry wrote: -- Stephen Milligan Consultant for hire http://www.spike.org.uk--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ |
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactor... Spike
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Beattie, Barry
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Spike
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Beattie, Barry
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Spike
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Scott Barnes
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Beattie, Barry
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Robin Hilliard
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Sean
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Steve Onnis
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Viktor . Radnai
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Steve Onnis
- [cfaussie] Re: cf.Factory (coldfusion.server.ServiceF... Sean
