Install plugins

The following procedures explain how to install and manage a plugin in your application. It is basically a .zip file with custom code for a feed, widget, or trigger, that must be imported within Mashup Builder.

This task shows you how to:

Install a plugin

  1. In Mashup Builder, select Application from the top left menu bar.
  2. Select Manage components > Plugins.
  3. Click Upload plugin.
  4. From the Upload Plugin dialog box, click Browse and select the plugin zip file.

The plugin is added to the list of plugins in the Installed plugins pane.

Uninstall a plugin

  1. In Mashup Builder, select Application from the top left menu bar.
  2. Select Manage components > Plugins.
  3. Click the delete icon corresponding to the plugin to uninstall.

Uninstall a plugin manually

This procedure describes how to uninstall a plugin manually and cleanup all its references. This can be useful if a plugin breaks the search server or the gateway. In the following examples, the plugin to uninstall is called MyPlugin1.

  1. Go to your <DATADIR>/gct/registeredPlugins/ directory and remove all references of MyPlugin1.

    gct/registeredPlugins/
    |-- default|
       |-- 360-administration-service|
       |   |-- MyPlugin1.cvplugin.properties|
       |-- 360-edm-mashup-ui.mu0|
       |   `-- MyPlugin1.cvplugin.properties

  2. Go to your <DATADIR>/extrajava/ directory and remove all its references of MyPlugin1.

    extrajava/
    |-- 360-plugins
    |   `-- applications
    |       `-- default
    |           `-- MyPlugin1
                

Synchronize the plugins with another application

The following procedure details how to synchronize the plugins of a given application with another application. This action compares the plugins of your current application with the plugins of a source application. It then adds or deletes plugins on your current application so as to get exactly the same as those of the source application.

  1. In Mashup Builder, select Application from the top left menu bar.
  2. Select Manage components > Plugins.
  3. Click Synchronize plugins.

    A Synchronize plugins dialog box opens.

  4. Select the source application from the drop-down list.
  5. Click Continue.

    Note: If you synchronize a plugin that already exists on the current application (a plugin with the same name), an error message will be displayed.