Use ColdFusion Builder Extension Creator to create and package extensions

The ColdFusion Builder Extension Creator wizard guides you through the process of creating and packaging extensions. The wizard guides you through creating the Configuration file (IDE_Config.xml) and Handler files (CFM), specifying metadata elements, adding context menus, and creating user interfaces.
Note: The ColdFusion Builder Extension Creator wizard is installed only if you selected Install Extensions while configuring a ColdFusion server. See the Extensions view for the list of installed extensions.
  1. In the Navigator view, right-click the project in which you want to create the extension, and select Adobe Extension Builder > New.

  2. Enter or browse to a location to store the extension. Select Create Folder With Extension Name to store the extension files in a folder with the same name as the extension.

  3. Select the Extension Details tab to enter the extension name and details. You can also specify any license agreement text that must appear on installing the extension.

Specify menu contributions

Select the Menu contributions tab and click Add Menu to specify a context-menu. A context-menu is a pop-up menu that appears on a right-click action.

  • Enter the name of the menu and the target view from where the menu must appear. You can specify the target view as the Navigator or Project view, RDS view, Outline view, or the CFML editor. Then, click Save Menu.

  • To specify menu items, click Add Action.

    1. You can associate handlers with an action. Handlers display the code generation operations that are fetched from the server. Specify the Handler ID and Handler name, and select Show Response to display the server response. Then, click Save.

    2. Before a handler is called, you can get user inputs. To do so, click Add Input.

    3. Specify the input variable name, label for the input dialog box, tooltip, and the input variable type.

    4. You can also specify the pattern against which the user input is validated, and the error message that appears when the validation fails.

    5. Select Required to specify the input field as required, and select Checked to have the check box selected, by default. Then, click Save.

  • To specify filters that control the display of the menu, click Add Filter. You can specify filters at the project, folder, and file levels.

Specify handlers

Select the Handlers tab to view details about the installed handlers.

  1. To specify a new handler, click Add Handler, and enter the necessary details.

  2. Select Generates Response to get user inputs before calling the handler.

  3. Specify the title of the input dialog box, and the height and width in pixels. Then, click Save Handler.

Create an extension installation wizard

Select the Install Wizards tab to create an installation wizard that guides you through the extension installation.

  1. Specify the height and width of the wizard in pixels. You can also associate a handler with the wizard. Then, click Save.

  2. Specify a title for the wizard, and click Save.

  3. Specify the input variable name, label for the input dialog box, tooltip, and the input variable type. You can also specify the pattern against which the user input is validated, and the error message that appears when the validation fails.

Package the extension

  1. In the Navigator view, right-click the ide_config.xml file and the Handler folder that contains all the Handler CFM files, and select Adobe Extension Builder > Package. The files are added to a ZIP file.

  2. Browse to a location to store the ZIP file.