The purpose of this dialog box is to create a new ColdFusion component.
For more information on possible values for each field in the dialog box, see the ColdFusion documentation from within Dreamweaver (Help > Using ColdFusion).
Use only letters, numbers, or the underscore character.
The Name box specifies the .cfc filename. Dont specify the .cfc file extension when entering the name.
The Component Directory box specifies where the component will be saved. Select the web applications root folder (such as \Inetpub\wwwroot\myapp\) or any of its subfolders.
TIP |
|
If you select remote from the Access menu, the function becomes available as a web service. |
In the Return Type box, make sure to specify the type of the value returned by the function.
Uploading the files ensures that Dreamweaver features such as Live Data view and Preview In Browser work properly.