This documentation is for WSO2 Business Activity Monitor 2.0.1. View documentation for the latest release.

Add New Gadgets

Follow the instructions below to add gadgets to the gadget repository.

1. Log on to the Gadget Server Management Console and select "Gadgets -> Gadget Repository" under the "Main" menu.

2. The Gadget Repository opens. Click the "Add New Gadget" link.

3. The "Add/Modify Gadget" window opens.

Gadget Server administrators can add gadgets in four ways as follows.

Using Gadget URL

This option is used to add from a http gadget repository location where the gadget is stored. If the Gadget xml is hosted in another Web Server, you can add that to the repository by simply adding its HTTP:// URL as the gadget URL. Also, if you are a user who just wants to test your gadget, the Gadget XML can be hosted in a public location and its HTTP URL can be provided (the xml file should be accessible via HTTP).

4. Enter the gadget details and click "Add Gadget". For example,

Using Gadget File Path

This option can be used to add a gadget by uploading its xml file.

5. Enter the gadget details and click "Add Gadget". For example,

Using Gadget Registry Path

This option can be used to add a gadget by browsing the registry and selecting the required gadget. You can click the "Browse Registry" link to open the resource tree of the enterprise Gadget Portal. From there, a gadget can be selected.

5. Enter the gadget details and click "Add Gadget". For example,

Using Gadget Zip File Path

This option can be used to add a gadget by uploading it as a zip file. The zip file typically contains gadget-related Java scripts and UI features in css files, gadget thumbnails etc. that can be deployed with the gadget.

5. Enter the gadget details and click "Add Gadget". For example,

In all four ways of adding gadgets, the newly added gadgets will be listed in the Gadget Repository as shown below. From here you can, your gadget, make default or available to anonymous users.

All newly created gadgets, except the ones added via a URL, are stored in the Gadget Repository. Users can find these gadgets simply by browsing the repository, according to their permission levels. Usually, the Repository is searched and browsed when gadgets are added to the Gadget Portal by signed-in users.