If you are setting up Business Space to include
My Team's Tasks and Team List widgets, you can modify the endpoints
file to use images of team members in those widgets.
Before you begin
Topic scope: This topic applies
to the following products:
- WebSphere® Business
Modeler Publishing Server
- WebSphere Business
Monitor
- WebSphere Process
Server
- WebSphere Business
Services Fabric
About this task
By default, Business Space is configured
with no image server identified for My Team's Tasks and Team
List widgets, but if you want your business users to see images of
their team members, you can enable image retrieval from an image server
by configuring a copy of the bpcEndpoints.xml endpoint registration
file.
Procedure
- Go to the install_root/BusinessSpace/registryData/ and
make a copy of the bpcEndpoints.xml file. For example, name it imageEndpoint.xml.
- Remove all endpoint definitions sections except for the
image service endpoint section.
The image service endpoint
section looks like this:
<!--
<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>http://<host>:<port>/<servlet>/</tns:url>
<tns:description>Location of user image services for HTM widgets
</tns:description>
</tns:Endpoint>
-->
- Remove the comments on the image service endpoint section
and update the URL to reference the appropriate image server servlet
that you will use 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.
- Create the following directory (if it does not already
exist): profile_root/BusinessSpace/registryData/ (where profile_root is
typically install_root/profiles/profile_name or install_root/pf/profile_name)
and copy your imageEndpoint.xml endpoint registration
file to that directory.
- Copy the endpoint registration file to the same directory
on every node in the cluster where Business Space is deployed.
Note: For more information about configuring Representational
State Transfer (REST) service endpoints, see "Enabling Business Space
widget REST service endpoints on the administrative console," "Enabling
Business Space widgets manually for remote endpoints," and "Enabling
Business Space widgets for multiple endpoints."