I while ago I had shared instructions on how to enable STLinks in Lotus Connections. STLinks was a way to add instant messaging awareness to any web application by using pure JavaScript.
Lotus Connections is integrated out of the box with Lotus Sametime. This integration, however, requires that you have the Lotus Sametime client installed, configured, and running in order for the awareness to work. A customer was asking me the other day if we could enable awareness without requiring the Sametime client. The answer is yes.
With the latest Sametime 8.5+ version there's an AJAX API for awareness similar to STLinks. Here's how you can use that API to add awareness in Lotus Connections:
1. Enable SSO between Lotus Connections and Sametime
2. The first step is to initialize the API. Add the following code to header.html
<!-- Adding for Sametime Awareness - START --> <link rel="stylesheet" type="text/css" href="http://stproxy.acme.com/stwebclient/dojo_1.2.3/sametime/themes/WebClientAll.css" /> // Error callback stproxy.addOnLoad(loginUser); </script> <!-- Adding for Sametime Awareness - END --> |
3. Now add the following code anywhere in a page (for example, a blog or a wiki)
<div class="stmain tundra"> |
4. An alternative is that you would like to add it as field in a user's Profile page. To do so, modify profiles-config.xml to add an attribute that looks like this:
<attribute showLabel="false" prependHtml="<div class="stmain tundra"><div dojoType="sametime LiveName" userId="" appendHtml=""></div></div>">email</attribute> |
Enjoy!