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:258068
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to