Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
CF Builder gives you the ability to extend the functionality of the IDE through extensions. CF Builder extensions boost your productivity by giving you the full power of the ColdFusion Server directly in the IDE, but before you can start to experience all this newfound power, let's see how you install an extension in CFBuilder. The first thing we are going to do is take a look at the ColdFusion Builder Preferences. In the filter here at the top, type extensions and choose Extensions under the ColdFusion section. Make sure that the /use Mozilla browser for extensions is checked.
Some extensions, especially those that use Flash forms or other advanced functionality inside of their dialogs, will not function correctly if you are not using the Mozilla browser. So, once you have that box checked, click OK and we can start installing. The Extensions view normally sits down here at the bottom with your Server and Console views. If it's not available, choose Window > Show View and select Extensions. Down here in the menu, we are going to choose the Install extension from archive file, the little plus icon. If you have your Start page open, you can also click Install Extensions directly from here.
You will need to find your ColdFusion Builder installation directory. So, I will go to my Applications folder and then Adobe ColdFusion Builder, but if you are on Windows, it's most likely under your Program Files directory, and then choose extensions. CFBuilder ships with four different extensions. The first extension is an ActionScript Class Generator, if you are working with Flex. We also have a CFC Generator, an ExtensionBuilder extension, which we will cover in the next chapter, and a modelGlueAssistant. Let's first install the CFC Generator.
So, I will select that zip file and click Open. The Installation Wizard gives me a few details about the extension, such as who wrote it, an e-mail address, if they provided it, and the Version of the extension. I will then have a description that should tell me exactly what this is going to do and hopefully how to access it. Click Next. On the Install Settings dialog, we are going to choose the server that we want to install this extension to. Because CF Builder extensions use ColdFusion code to perform most of their work, you need to make sure that you have a ColdFusion Server set up, running, and available, in order to install them.
So, I will choose my server, and it will automatically complete my webroot dialog here. I just need to choose where on my server I am going to install it. So, I will click Browse, and it drops me right into my wwwroot folder, and I am going to create a new folder to house all of my extensions. So, we will call this CFBExtensions, click Create, and then Choose. So, I will verify that my folder is listed in the install location dialog and click Next. Here is just an installation summary that shows me the type of installation it's doing, the extensions it's going to install, and where it's going to install it.
I will click Finish, and then click OK in the Installation successful dialog. I will go over to my project and refresh the project. I can now see my extension sitting right there. If I go down to my Extensions view, I will refresh this as well, and I can see my extension installed right here. If I select it, I see my description. If necessary, I can click the Delete button here or rather the Uninstall button, and I can either uninstall the extension from just CF Builder and leave the files on the server, or I can completely uninstall them and it will remove the extension files from my ColdFusion server.
For now, I am going to click Cancel and I am going to install the ExtensionBuilder extension. I will select the ExtensionBuilder zip file and click Open. Then back in the Installation Wizard, I will click Next, choose my server, select my install location, which is my CFBExtensions folder, and then just click Finish. I will click OK. I can now see my extension here in the dialog. If I refresh the CFBExtensions folder, I can see the ExtensionBuilder is now installed as well.
That's all there is to installing an extension. Just remember that you must have access to a ColdFusion server in order for the extensions to install and function correctly.
Get unlimited access to all courses for just $25/month.Become a member