Configure the portal for the Mashup Center
- In directory...
$MASHUP_DIR/Hub/installedApps/Mashup Hub.ear/mashuphub-enterprise.war/META-INF/config
.edit server.config.ini
- Uncomment line containing parameter enablePortalIntegration
- Add or remove the values iwidgetPackage,iwidgetURL,feed,mashup,mashuppage as required. The parameter enablePortalIntegration can handle multiple values separated by commas. Do not add blanks in the parameter list.
Value Description iwidgetPackage Allow upload of widget packages. iwidgetURL Allow upload of widget definition URLs. feed Allow upload of feeds. mashup Allow upload of page definition URLs. mashuppage Allow upload of pages. lightweightWP Allow upload of lightweight widgets. spaceTemplate Allow upload of Space templates.
- Optional. Uncomment line containing parameter defaultPortalURL and specify the URL of the portal. Default:
http://mashup-server:10040/wps
- Optional. Uncomment line containing parameter deployIWidgetPackage and append one of the following values...
Value Description none Does not show the links... Deploy to WebSphere Portal
Add to WebSphere Portaladmin-only Shows the link... Deploy to WebSphere Portal
. only if the current user has administrative access permission to the Mashup Center catalog.
Shows the link...
Add to WebSphere Portal
. if the user is logged in to the Mashup Center catalog. The normal user can only add widgets to his/her toolbox.
all Default. Does not show the link... Deploy to WebSphere Portal
Shows the link...
Add to WebSphere Portal
.if the user is logged in to the Mashup Center catalog.
lightweight-only Shows the link... Deploy to WebSphere Portal
.only if the current user is logged in to the Mashup Center. The administrative user can deploy any type of widget while the normal user can only deploy lightweight widgets.
Shows the link...
Add to WebSphere Portal
.if the current user is logged in.
- Verify result. It should look similar to the following example, depending on the specified values:
deployIWidgetPackage=lightweight-only enablePortalIntegration=iwidgetPackage,iwidgetURL,feed,mashup,mashuppage,lightweightWP,spaceTemplate defaultPortalURL=
Parent
Configure portal behavior