Can I install a widget from a .zip file?

Users can install a widget that is supplied to them as a .zip file.

About this task

Users can either drag and drop the .zip file into their My Widgets sidebar panel or use the Import menu option from the My Widgets sidebar panel.

This option is available for all supported widget types and enables the user to install a widget while working online or offline.

The widget definition (.xml) must be at the root of the zip file and the widget definition file name must be extension.xml.

To make provisioning widgets self-contained in the .zip file, the updateSite URL in the widget definition must be set to jar:${zip.root}!/ and the updateSite itself must also reside in the .zip file.

The structure of the .zip file must be as follows:
features
extension.xml
plugins
site.xml
When a provisioning widget's .xml definition is processed, the updateSite URL is replaced with a URL to the embedded updateSite in the .zip file.
Note: Automatic update is not supported.