- About us
Usually if we need to do some setting changes for ColdFusion application server then we log into ColdFusion Administrator using ColdFusion Admin GUI and change the settings. We can also do all the ColdFusion Administrator setting changes programmatically through ColdFusion Administrator API calls. ColdFusion provides us with around 12 components for different sections of the Administrator. We can call the different methods of different components to change the settings.
The basic component file containing the methods related to login and logout functionality for ColdFusion Administrator is "administrator.cfc". With the login method of this component, we can log into the Administrator by providing the ColdFusion Administrator login password. Once we log in, we can use the other methods of the components to perform other functionalities like creating datasource, creating mapping, modifying the debugging output settings etc.
Sample Example to create one ColdFusion datasource for SQL server with Administrator API call:
// Create an object of datasource component
// Setting up the parameter values for datasource
// Create MSSQL datasource
// Call logout method
For more information please visit: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=basiconfig_37.html