Add Sametime awareness though the Sametime clientIf you have a Sametime 8.0.1 client or later and the Profiles application deployed, you can enable presence awareness in IBM Connections.
Before you beginNote: 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:
- Sametime 8.5 or later stand-alone client.
Note: Alternatively, you can use Sametime embedded in Notes if the Notes client version is Notes 8.5 or later.
- Sametime 8.0.1 stand-alone client.
Note: Alternatively, you can use Sametime embedded in Notes if the Notes client version is Notes 8.0.2 with Interim Application Release 1 (IFR1).
- When using Sametime 8.0.1, the following limitations apply:
- Users defined in the Sametime directory must have the same email address as the users defined in the Profiles directory.
- The Profiles application of IBM Connections must be deployed.
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:
- Sametime 8.5 or later standalone client
- Notes 8.5.1 or later embedded client
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.
- Start the wsadmin client from the following directory of the system on which you installed the deployment manager:
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.
- 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:
- Enter the following command to access the Profiles configuration files:
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.
- Check out the Profiles configuration files:
- <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()
- AIX or Linux:ProfilesConfigService.checkOutConfig("/opt/prof/temp","foo01Cell01")
- Microsoft Windows:ProfilesConfigService.checkOutConfig("c:/prof/temp","foo01Cell01")
- From the temporary directory to which you checked out the configuration files, open the profiles-config.xml file in a text editor.
- 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" />
- 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.
- Save and close the profiles-config.xml file.
- Check in the changed configuration files using the following wsadmin client command:
- To exit the wsadmin client, type exit at the prompt.
- 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...
- Exit the Notes client.
- Open the plugin_customization.ini file in a text editor.
By default, the plugin_customization.ini file is stored in the following directory:
- 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:
- Save and close the plugin_customization.ini file.
- Stop and restart the WAS hosting the Profiles application.
- 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.
- 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 topicAdminister applications
Customize the Profiles business card
Starting the wsadmin client
Common configuration properties