IBM BPM, V8.0.1, All platforms > Install IBM BPM > IBM BPM Advanced > Install IBM BPM Advanced > On Windows > Network deployment environment > Configure profiles and create an ND environment > Create an ND environment > Use the administrative console > Configure components > Configure additional components > Configure Process Portal > Configure the Business Space component for Process Portal > Set up specific widgets to work in Process Portal

Enabling images in Human Task Management widgets

If you are setting up Business Space to include Human Task Management widgets, you can create an endpoints file to use images of team members in those widgets. All widgets that are configured to display a user ID and allow grouping by this user ID can be enabled to display images.

This topic applies to the following products:

By default, Business Space is configured with no image server identified for Human Task Management widgets, but if you want your business users to see images of their team members, you can enable image retrieval in a new widget endpoint file.


Procedure

  1. Create a new file in INSTALL_ROOT\BusinessSpace\registryData\

    For example, name it imageEndpoint.xml.

  2. Copy in the following template.
    <?xml version="1.0" encoding="UTF-8"?>
    <tns:BusinessSpaceRegistry xmlns:tns="http://com.ibm.bspace/
    BusinessSpaceRegistry" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://com.ibm.bspace/BusinessSpaceRegistry
     BusinessSpaceRegistry.xsd ">
    <tns:Endpoint>
    <tns:id>{com.ibm.bspace.htm}bspaceUserImageServiceRootId</tns:id>
    <tns:type>{com.ibm.bspace.htm}bspaceUserImageServiceRootId</tns:type>
    <tns:version>1.0.0.0</tns:version>
    <tns:url>URL</tns:url>
    <tns:description>Location of user image services</tns:description>
    </tns:Endpoint>
    </tns:BusinessSpaceRegistry>
  3. Update the URL to reference the appropriate image server servlet that you are using for user images.

    The image service endpoint is a reference to a URL prefix where the widgets can find images by concatenating the following information:

    • The resolved image service endpoint string.

    • The unique identifier Virtual Member Manager (VMM) attribute for each user.

    • The .jpg file extension.

    For example, if the endpoint URL is http://myserver:9080/UserImageWeb/UserImageServlet/ and the unique identifier for a user is id123456, the widgets retrieve that user's image at the following link: http://myserver:9080/UserImageWeb/UserImageServlet/id123456.jpg.

  4. Run the updateBusinessSpaceWidgets command.

    1. For your profile, open a command window.

      The wsadmin command can be found at the profiles/ profile_name/bin directory.

    2. Use the updateBusinessSpaceWidgets command to install, deploy, and register the designated widgets.

Set up specific widgets to work in Process Portal


Related tasks:
Configuring REST services for a server, cluster, or component:
Enabling widgets for cross-cell environments:
Enabling widgets to work with multiple endpoints:
Configure REST services:


Related reference:
updateBusinessSpaceWidgets command: