
65
CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Administrator
L
ast
u
p
dated
7/9/2
01
2
Extend the Administrator
1
Create a file that contains the HTML link code, followed by a
<BR>
, with a separate line for each link. Do not include
other HTML code, such as
<head>
or
<body>
tags.
The
target
attribute is required for each link; if you specify
target="content"
, the page appears in the main pane
of the Administrator. If you specify any other value for the
target
attribute, the page appears in a new window.
2
Save this file as extensionscustom.cfm in the Administrator root directory (/CFIDE/administrator/).
For example, the following file adds links for Bowdoin College, Universidad Complutense de Madrid, and La Sapienza:
<a href="http://www.bowdoin.edu/" target="content">Bowdoin College</a><br>
<a href="http://www.http://www.ucm.es/" target="_blank">Universidad Complutense de
Madrid</a><br>
<a href="http://www.uniroma1.it/" target="_blank">La Sapienza</a><br>
When you click a link, the page appears.
Alternatively, you can extend the ColdFusion Administrator by editing the
wwwroot/CFIDE/administrator/custommenu.xml file.
Administrator API
You can use the Administrator API to perform most ColdFusion Administrator tasks programmatically. The
Administrator API consists of a set of ColdFusion components (CFCs) that contain methods you call to perform
Administrator tasks. For example, you use the
setMSQL
method of datasource.cfc to add a SQL Server data source.
The CFCs for the Administrator API are located in the
cf_web_root
/CFIDE/adminapi directory. Each CFC
corresponds to an area of the ColdFusion Administrator, as the following table shows:
CFC
Description
accessmanager.cfc
Specify the user name, password, description, access rights, sandboxes, and allowed roles for individual
users.
administrator.cfc
Contains basic Administrator functionality, including login, logout, the Migration wizard, and the Setup
wizard. You must call the
login
method before calling any other methods in the Administrator API.
base.cfc
Base object for all other Administrator API CFCs.
datasource.cfc
Add, modify, and delete ColdFusion data sources.
debugging.cfc
Manage debug settings
eventgateway.cfc
Manage event gateways
extensions.cfc
Manage custom tags, mappings, CFXs, applets, CORBA, and web services.
office.cfc
Manage OpenOffice settings.
mail.cfc
Manage ColdFusion mail settings.
runtime.cfc
Manage runtime settings for fonts, cache, charts, configuration, and other settings.
security.cfc
Manage passwords, RDS, and sandbox security.
serverinstance.cfc
Start, stop, and restart Tomcat servers. This CFC only works for Developer and Enterprise editions only.
servermonitoring.cfc
Perform many of the Server Monitor tasks programmatically.