I found some terrific code to access the admin api on House of Fusion here.  
Thanks to all!  In experimenting with the methods, I can successfully create a 
SQL datasource.  What I'm having trouble doing is deleting it.

factory.datasourceservice.removeDatasource(theDatasourceName)

seems the logically choice.  In doing so, the datasource gets deleted from 
factory.datasourceservice.getNames() but not from 
factory.datasourceservice.getDatasources().  The datasource will appear in the 
CF Admin list, but errors if I try to edit or verify it.  Something changed, 
just not everything.

Does anyone know what piece I might be missing?  Thanks in advance!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283262
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to