Add Sametime awareness though the Sametime client 

If you have a Sametime 8.0.1 client or later and the Profiles application deployed, you can enable presence awareness in IBM Connections.


Before starting

Note: This is an optional configuration.

When you enable presence awareness in IBM Connections, a person's online status is indicated by a set of icons and an associated status message that is available from the person's profile and business card. Presence awareness tells you whether the person is available to chat, busy in a meeting, or away from their computer.

You must have the following software enabled to be able to add presence awareness to IBM Connections:

SSL support: If you have configured the product to send traffic over SSL, presence awareness can be retrieved over SSL for the following Sametime clients:

For more information about enabling SSL for Sametime, refer to the documentation provided with the Sametime SDK, which is available from the following web site: http://www.ibm.com/developerworks/lotus/downloads/toolkits.html

Note: After downloading the toolkit, the documentation can be found in the <sdk>/client/connectWebApi/doc/ConnectWebApiDevguide.pdf directory.


Procedure

  1. Start the wsadmin client from the following directory of the system on which you installed the deployment manager:

      app_server_root>\profiles\<dm_profile_root>\bin

      Note: You must start the client from this directory or subsequent commands that you try to run will not execute properly. See Starting the wsadmin client for more details.

  2. Edit the profiles-config.xml file to indicate that you want to enable awareness. Start the wsadmin client. Use the following commands to access and check out the Profiles configuration files:

    1. Enter the following command to access the Profiles configuration files:

        execfile("profilesAdmin.py")

        If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.

    2. Check out the Profiles configuration files:

        ProfilesConfigService.checkOutConfig("<working_directory>", "<cell_name>")where:

        • <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied and are stored while you make changes to them. Use forward slashes (/) to separate directories in the file path, even if you are using the Microsoft Windows operating system.

            Note: AIX and Linux only: The directory must grant write permissions or the command does not complete successfully.

        • <cell_name> is the name of the WAS cell hosting the Profiles application. This argument is required. It is also case-sensitive, so type it with care. If you do not know the cell name, you can determine it by typing the following command in the wsadmin command processor: print AdminControl.getCell()

        For example:

        • AIX or Linux:

            ProfilesConfigService.checkOutConfig("/opt/prof/temp","foo01Cell01")

        • Microsoft Windows:

            ProfilesConfigService.checkOutConfig("c:/prof/temp","foo01Cell01")

  3. From the temporary directory to which you checked out the configuration files, open the profiles-config.xml file in a text editor.

  4. Find the <sametimeAwareness> element, and then set the enabled attribute equal to true, specify web addresses for the href and ssl_href attributes, and specify which input type should be used for identifying the person: an email address or a user ID. For example:

      <sametimeAwareness 
       enabled="true" 
       href="http://localhost:59449/stwebapi"  
       ssl_href="http://localhost:59449/stwebapi" 
       sametimeInputType="email" />

      If IBM Connections is configured to hide email addresses, define the user ID as the input type by setting the sametimeInputType attribute equal to uid. For example:

      <sametimeAwareness 
       enabled="true" 
       href="http://localhost:59449/stwebapi"  
       ssl_href="http://localhost:59449/stwebapi" 
       sametimeInputType="uid" />

  5. Sametime 8.5 stand-alone and Notes 8.5.1 embedded client only: If you have configured the product to send traffic over SSL, edit the ssl_href attribute to specify the web address with the HTTPS protocol. For example:

      <sametimeAwareness 
       enabled="true" 
       href="http://localhost:59449/stwebapi"  
       ssl_href="https://localhost:59669/stwebapi" 
       sametimeInputType="email" />

      Do not make this change for releases earlier than Sametime 8.5 or the Notes 8.5.1 embedded client or awareness will stop working properly.

  6. Save and close the profiles-config.xml file.

  7. Check in the changed configuration files using the following wsadmin client command:

      ProfilesConfigService.checkInConfig()

  8. To exit the wsadmin client, type exit at the prompt.

  9. If you are using a Sametime client that is embedded in a version of Notes later than 8.0.2 (IFR1), configure Notes to display awareness information because it is disabled by default. To do so...

    1. Exit the Notes client.

    2. Open the plugin_customization.ini file in a text editor.

        By default, the plugin_customization.ini file is stored in the following directory:

        C:\notes\framework\rcp

    3. Search for the com.ibm.collaboration.realtime.webapi/startwebContainer property. If it is set to false, set it equal to true. If you do not find it, add the property using the follow syntax:

        com.ibm.collaboration.realtime.webapi/startwebContainer=true

    4. Save and close the plugin_customization.ini file.

  10. Stop and restart the WAS hosting the Profiles application.

  11. Start the stand-alone Sametime client or Notes client in which Sametime is embedded.

      It is not recommended that you run more than one Sametime client on a single machine at one time. If awareness does not seem to be enabled in IBM Connections, make sure you do not have an earlier version of the Sametime client running on your machine. If you do, stop the clients and be sure to restart the Sametime Connect 8.0.1 client or the Sametime client embedded in Notes 8.0.2 (IFR1) or later before restarting any other clients.

  12. Confirm that this procedure worked by accessing one of the IBM Connections applications, and then opening a person's business card. It may take a few seconds for the person's presence information to display the first time.


Parent topic

Administer applications

Related concepts
Customize the Profiles business card


Related tasks


Starting the wsadmin client

Related reference
Common configuration properties

+

Search Tips   |   Advanced Search