Uploading a widget to the catalog : Mashup Center 2.0Added by IBM on November 20, 2009 | Version 1 (Original)
Contents: MashupHub User and Administrator Guide : Mashup Center 2.0
Register widgets in the catalog by uploading them from your computer or from the Web. Registered widgets can be reused by you and by others to whom you give permission.
Before you begin
Ensure that the widget is a package file that is located on an accessible file path or URL. A package file is an archive format, such as a .zip
file, that is created for distributing and deploying the widget.
- Generic widgets package files vary by widget type. MashupHub accepts all package file types for generic widgets.
- A lightweight iWidget package is a .zip file.
- An iWidget package file is a .war file.
- An iWidget URL must point to an iWidget that is deployed on a server, such as an iWidget in MashupHub.
About this task
To upload a widget to the catalog:
- On the Home:Catalog tab, click Upload and select Upload Widget.
- Select the type of widget that you want to upload and click Next. For all types of widgets other than iWidgets, select Generic Widgets. If you are adding a URL reference to a deployed iWidget, select iWidget URL. Otherwise, select the type of iWidget package that you are uploading.
- Type or browse to the location of the iWidget package.
Specify a title, description, and version for the widget.
Optional: Specify tags to associate with the widget. Use the existing tags as a guide. Other users can set tags on your widget.
Optional: Specify permissions for the widget:
- For Generic Widgets, select either Upload File or Upload URL. Then type or browse to the name of the widget package file.
- For iWidget package uploads, specify the file system path to the file.
- For iWidget URLs, type the URL of the deployed iWidget.
Table 1. Object permission choices
Optional: Enter details for the widget in the Advanced section:
|Public||Any user can use the object. The object name appears when users list the catalog contents or search the catalog. This is the default permission. |
|Private||Only you can use the object. The object is only visible to you. The object name does not appear when other users view or search the catalog.|
|Custom||Use custom settings to modify the default permissions for specific users or for groups.|
The catalog includes two groups:
Within the groups and users categories, set the type of permission that you want to grant:
- The ANONYMOUS group includes all users who can access the catalog without logging in.
- The REGISTERED group includes all registered users.
You can specify more than one type of permission. For example, you can grant one group View permission, and grant an individual user both Edit and View permissions.
- Edit permission enables groups or individual users to upload a new version of the object and update the details about the object.
- View permission enables groups or individual users to view the details and download the object.
To locate users, you can search for a user ID, username, or group ID.
To upload the widget in the catalog, click Finish.
- Categories: Select the categories to associate with the object. A set of categories is installed with MashupHub.
Tip: If the category does not appear in the list, ask your administrator to add the category. After the administrator adds the category, you can edit the details of the object and apply the category.
- Related entries already in the catalog: Specify the related entries in the catalog for this object. Related entries are objects in the catalog that can be used with the object that you are registering. The related entries appear only on the details for this object. This object does not appear on the related entries list of the other objects unless you or someone else adds this object as a related entry.
- Technical Documentation: Enter the URL to any technical documentation for the object.
- Caching data: (Does not apply to pages, spaces, or widgets.) Specify if the data from the feed should be cached locally, and how long the data should be stored before the cache is refreshed.
- Access Methods: (Choices include Get and Post) Specify the HTTP method that can be used to view the object.
- Policies: (Does not apply to pages, spaces, or widgets.) The Policies section only appears if Feed Policy Processing is enabled by an administrator from the link at Settings -> Edit Feed Policies. Select Enable Rate Limiting to limit the number of requests allowed per minute to protect the corresponding data source from unpredictable or unacceptable loads.
Parent topic: Widgets : Mashup Center 2.0
Downloading a widget from the catalog : Mashup Center 2.0
Replacing a widget in the catalog : Mashup Center 2.0
Editing the details for a widget : Mashup Center 2.0
Adding a widget to the mashup builder : Mashup Center 2.0
Deleting a widget from the catalog : Mashup Center 2.0