Skip to end of metadata
Go to start of metadata

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

1. Log on to the Gadget Server Management Console.

2. Click the "Main" menu and select "Gadget Repository" under "Manage Gadget Server."

3. The Gadget Repository opens. Click the Add New Gadget link.

4. 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 in WSO2 Gadget Server, you can host your Gadget XML in a public location and provide its HTTP URL (The xml file should be accessible via HTTP).

5. 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.

  • No labels