+

Search Tips   |   Advanced Search


Configure the portal for the Mashup Center

To configure portal extensions for the , proceed by the following steps.

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

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

  3. Configure the parameter enablePortalIntegration. To do this...

    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.


      Table 1. Values for the parameter enablePortalIntegration

      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...

    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...

    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.


      Table 2. Values for the parameter deployIWidgetPackage

      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.

      all

      This is the default 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 has administration permission in the Mashup Center.

      Shows the link Add to WebSphere Portal link if the current user is logged in.

  6. Verify your 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 topic:

Configure portal behavior


Parent topic:

Configure the portal: integrating the Mashup Center Catalog


Related tasks


Add a page from the Mashup Center to the portal