Provide a link for the code :-)
"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Snake To: CF-Talk Sent: Wed Oct 25 22:59:26 2006 Subject: RE: Invoking CFIDE.adminapi.base components If anyone else is interested, I have created a webservice that allows you to remotely create DSN's, mappings and sandboxes. Rest of cfadmin functionality to come. Snake -----Original Message----- From: Jon Clausen [mailto:[EMAIL PROTECTED] Sent: 25 October 2006 22:36 To: CF-Talk Subject: Re: Invoking CFIDE.adminapi.base components Never mind. I figured it out. In case anyone needs the code for future reference, here's how to create a Coldfusion datasource on the fly (In this case using an "other" driver): <cfscript> //Instantiate the Admin API createObject("component","cfide.adminapi.administrator").login ("myCFAdminPassword"); //Create the Datasource createObject("component","cfide.adminapi.datasource").setOther (dsnName,dsnURL,dbdriver,"PostgresDriver",dbowner,dbownerpass); </cfscript> - Jon On Oct 25, 2006, at 2:46 PM, Jon Clausen wrote: > I'm trying to create a Coldfusion datasource on the fly using the > RDSInvoker method in the CFIDE.adminapi.base component. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258069 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

