Configure the portal to work with the Mashup Center

To work with the IBM Mashup Center, you can configure portal extensions for the Mashup Center.

Configure the portal to work with the Mashup Center:

  1. On file system open the folder $MASHUP_DIR/Hub/installedApps/Mashup Hub.ear/mashuphub-enterprise.war/META-INF/config.

  2. Open the file server.config.ini with preferred text editor.

  3. Configure the parameter enablePortalIntegration.

    1. Search for the parameter enablePortalIntegration.

    2. If the line with the parameter enablePortalIntegration is commented out by an initial hash sign ( # ), activate the line by removing the hash sign.

    3. Add or remove the values iwidgetPackage,iwidgetURL,feed,mashup,mashuppage as required.

        For the description of these values refer to the table below. The parameter enablePortalIntegration can handle multiple values separated by commas. Do not add blanks in the parameter list.

        Value Description
        iwidgetPackage                   Allows upload of widget packages.    
        iwidgetURL Allows upload of widget definition URLs.                      
        feed Allows upload of feeds.
        mashup Allows upload of page definition URLs.
        mashuppage    Allows upload of pages.
        lightweightWP    Allows upload of lightweight widgets.
        spaceTemplate Allows upload of Space templates.

  4. Optional. Configure the parameter defaultPortalURL.

      To do this, proceed as follows:

      1. Search for the parameter defaultPortalURL.

      2. If the line with the parameter defaultPortalURL is commented out by an initial hash sign ( # ), activate the line by removing the hash sign.

      3. Specify the URL of the portal for the parameter defaultPortalURL.

          You can change the default portal URL when they add an object to the portal.

          Default: If no value is specified, then http://mashup-server:10040/wps is used by default.

  5. Optional. Configure the parameter deployIWidgetPackage.

      To do this, proceed as follows:

      1. Search for the parameter deployIWidgetPackage.

      2. If the line with the parameter deployIWidgetPackage is commented out by an initial hash sign ( # ), activate the line by removing the hash sign.

      3. Append one of the values none, admin-only or all.

        Default: If no value is specified, the value all is used by default.

        Value Description
        none Does not show the links Deploy to WebSphere Portal and Add to WebSphere Portal.
        admin-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.
        allDefault.if no value is specified. 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 link 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 link if the current user is logged in.

  • Verify result. It should look similar to the following example, depending on the specified values:

      ###
      # deployIWidgetPackage flag controls the behavior of deploying iWidget package to mashups.
      # The value could be none, admin-only, lightweight-only and all. all is default setting
      ###
      deployIWidgetPackage=lightweight-only
      ###
      # Portal Integration
      # The value is comma separated below object types
      # iwidgetPackage,iwidgetURL,feed,mashup,mashuppage,lightweightWP,spaceTemplate
      ###
      enablePortalIntegration=iwidgetPackage,iwidgetURL,feed,mashup,mashuppage,lightweightWP,spaceTemplate
      defaultPortalURL=


    Parent

    Integrate the Mashup Center Catalog


    Related tasks


    Add a page from the Mashup Center to the portal

     


    +

    Search Tips   |   Advanced Search