To deploy an addon it must be rolled-up into an add-on Collection. A collection is a single zip file that contains all the resources for one or more addons. For this example we will first make a small add-on, then create the addon collection for it.
To Create a simple Addon
If you already have an add-on to deploy, skip this step
- Log on to the admin site and open the navigator to Navigator >> Manage Addons >> Advanced >> click on Add-ons
- Click Add to create a new addon
- Fill in the following
- Set the name to Hello World
- Set the HTML field to "Hello World"
- Click the Placement tab and click "Place on Pages"
- Click OK
- Test Your add-on by editing any page and selecting it from the add-on menu. It will render as Hello World.
Create a Collection for your add-on
- Log on to the admin site and open the navigator to Navigator >> Manage Addons >> Advanced >> click on Add-on Collections
- Click Add to create a new Collection
- Fill in the following
- Set name to Hello World Collection
- If your addon has any files that need to be included, add them in the resources tab. For instance, if you created a DLL called helloWorld.dll, add "helloWorld.dll" in the executable file list. If your add-on(s) needs the image "myImage.jpg" in the images folder of your website, add "/images/myImage.jpg" to the www File List.
- Click OK to save the collection.
- Now go edit your add-on and select "Hello World Collection" for it's collection.
Deploy the Collection
- Use the Collection Manager to install the Collection Exporter if it is not already under Tools.
- Open the Navigator to Tools >> Export Collection
- Select your Hello World Collection and click OK.
- Save the resulting .zip file
- If you have created a Visual Studio Windows Library (DLL file), drag and drop it into the zip file as well.