Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Sametime wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Sametime Advanced 8.5.2 IFR 1 for administrators Sametime Standard 8.5.2 IFR 1 for administrators Sametime Unified Telephony 8.5.2 IFR 1 for administrators Custom Search Scope...
Search
Community Articles > Sametime Gateway > Sametime Gateway deployment scenarios > Sametime with Microsoft Office Integration Guide
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorThinh M Hoang
Contribution Summary:
  • Articles authored: 2
  • Articles edited: 2
  • Comments Posted: 0

Recent articles by this author

Sametime with Microsoft Office Integration Guide

This article will serve as a guide for deploying Sametime Connect client to extend functionalites in Microsoft Office Suite products and Sharepoint. The article is written based on the latest Sametime version. Its purpose is to extend, consolidate, and simplify what was already available on the ...

Installing the Sametime Embedded Client for Lotus Notes

About this task Lotus Notes 8.5.x Client Standard Configuration included Sametime Embedded 8.0.2 by default. Completing these tasks will upgrade the Sametime Embedded to 8.5.x and enable optional Sametime features if needed. This article can be used as supplement to the Sametime Information ...

Community articleSametime with Microsoft Office Integration Guide

Added by IBM contributor Thinh M Hoang | Edited by IBM contributor Thinh M Hoang on February 24, 2011 | Version 34
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
This article will serve as a guide for deploying Sametime Connect client to extend functionalites in Microsoft Office Suite products and Sharepoint. The article is written based on the latest Sametime version. Its purpose is to extend, consolidate, and simplify what was already available on the Sametime Information Center.
Tags: Sametime Connect, OI, Sharepoint, MS
ShowTable of Contents
HideTable of Contents
  • 1 Which versions are supported?
  • 2 What type of environment is OI design for?
  • 3 How does Sametime fit into an existing Microsoft environment?
    • 3.1 ST Community & ST Meeting Classic on the same server.
    • 3.2 ST Community & ST Meeting (8.5+) each on a separate server.
  • 4 What are the features offered by OI?
    • 4.1 Microsoft Outlook calendar availability: feature id="com.ibm.collaboration.realtime.exchange.feature"
    • 4.2 Sametime Connect integrator for Microsoft Office: feature id="com.ibm.collaboration.realtime.oi.smarttags.feature"
    • 4.3 Sametime Connect integrator for Microsoft Outlook: feature id="com.ibm.collaboration.realtime.oi.toolbar.feature"
    • 4.4 Sametime meeting integrator for Microsoft Outlook: feature id="com.ibm.collaboration.realtime.oi.webConfTab.feature"
    • 4.5 Sametime Connect integrator for SharePoint: feature id="com.ibm.collaboration.realtime.oi.sharepoint.feature"
    • 4.6 Note: feature id="com.ibm.collaboration.realtime.oi.standalone.feature"
  • 5 How to enable OI features?
    • 5.1 The ST Community server
      • 5.1.1 Modify stconfig.nsf
      • 5.1.2 Modify the sametime.ini:
    • 5.2 The MS Sharepoint server (optional)
    • 5.3 The Sametime client installer
      • 5.3.1 Sametime Connect client
      • 5.3.2 The Sametime Outlook Integrator
  • 6 How to apply Sametime Connect Hotfix (HF)?
  • 7 What are the local client interactions between the ST Connect, MS Office suite, and the web browser?
    • 7.1 Microsoft Outlook Calendar Availability Architecture
    • 7.2 Sametime Connect integrator for Microsoft Office & Microsoft Outlook Architecture
    • 7.3 Sametime Meeting Integrator for Microsoft Outlook
    • 7.4 Sametime Connect integrator for SharePoint
  • 8 How to troubleshoot OI?
    • 8.1 The OI Components do not show
      • 8.1.1 Are the Eclipse plug-ins installed & enabled in ST Client?
      • 8.1.2 Are the COM add-ins registered?
      • 8.1.3 Are the Add-ins enabled in the application?
      • 8.1.4 Caveats in the UI
    • 8.2 All users show disconnected within Outlook inbox
      • 8.2.1 Is the connection between OI & UIM established?
      • 8.2.2 Are the Active Directory users being resolved?
    • 8.3 Meeting integrator: cannot schedule a meeting
    • 8.4 SmartTags: User names / email not underlined in Word, etc ...
  • 9 What do I need before contacting Sametime Support?
  • 10 What are the known issues?
    • 10.1 Language
    • 10.2 Instant Meeting (Classic) vs Meeting 8.5+
    • 10.3 Default mail format affects OI Toolbars
    • 10.4 Globalization Issues
  • 11 Author & Content Contributor

Which versions are supported?



Microsoft Office Integration (OI) was first introduced in Sametime (ST) 7.5.1. OI features are only supported on Windows platform and only available on the stand-alone Sametime Connect client. We recommend to deploy the latest Sametime version and on the most up-to-date Hotfix (HF) release. Refer to Doc # 7007792external link for more details.

As of February 2011, the latest version is ST Connect 8.5.1 with HF 8.5.1.1 supporting MS Office XP (2002), 2003, 2007 on Windows XP, Vista, and 7 (32-bit & 64-bit). MS Office 2010 is not yet supported, but it is in the plan for the near future.

What type of environment is OI design for?



OI is design for existing environment with Microsoft product suite. Client productivity applications such as MS Outlook, Word, PowerPoint, and Excel. Severs such as MS Exchange server for mail, Active Directory server for directory service, and SharePoint server for web base collaboration.

How does Sametime fit into an existing Microsoft environment?



There 2 types of server deployment scenarios. Notice the requirement that all servers are connected to a common directory.

ST Community & ST Meeting Classic on the same server.




ST Community & ST Meeting (8.5+) each on a separate server.




What are the features offered by OI?


Microsoft Outlook calendar availability: feature id="com.ibm.collaboration.realtime.exchange.feature"


The feature will allow the ST Connect to read the Outlook calendar, then change the user awareness status according to the calendar entries.


The feature also provide the Chat transcript to be save to a folder in Outlook



Sametime Connect integrator for Microsoft Office: feature id="com.ibm.collaboration.realtime.oi.smarttags.feature"


This feature will an ST Recognizer in Smart Tags


The Smart Tag will use ST Recognizer to determine the words typed as name from the user's contact list.


The Smart Tag will allow Sametime actions to launch a chat or Instant Meeting. In addition to MS Word, Smart Tag is an option in MS PowerPoint and
Excel. Hence, the Sametime functionalities are available as well.


Sametime Connect integrator for Microsoft Outlook: feature id="com.ibm.collaboration.realtime.oi.toolbar.feature"



The ST toolbar is added into Outlook.


The Sametime Toolbar Tab is added in Options for configuring Sametime preferences.


Synchronize Contacts: contacts can be sync between the Outlook and Sametime



Sametime meeting integrator for Microsoft Outlook: feature id="com.ibm.collaboration.realtime.oi.webConfTab.feature"


The feature adds an ST OnlineMeeting custom form to provide additional fields when creating an online meeting.


Outlook COM Add-ins will show ST as add-ins available and enabled.


This feature adds ST Meeting functionalities when you schedule a meeting in Outlook calendar. Sametime tab is added when creating a calendar entry.


The Sametime Meetings tab is added in Options for configuring server information.


Sametime Connect integrator for SharePoint: feature id="com.ibm.collaboration.realtime.oi.sharepoint.feature"



This feature adds presence information and ST action menu inside SharePoint. Only Internet Explorer is supported.


Note: feature id="com.ibm.collaboration.realtime.oi.standalone.feature"



This is the core feature that all 5 OI features are depended on. The OI features must be enabled according to the instructions given in the later section. com.ibm.collaboration.realtime.oi.sharepoint.feature is an optional feature if you do not have a SharePoint server in your environment.

How to enable OI features?



The OI features are disabled by default, there are 3 components involved to enable those functionalities.

The ST Community server


Modify stconfig.nsf


LDAPServer document, the result search filter must include(legacyExchangeDN=%s):
Search filter for resolving person names:(&(objectclass=organizationalPerson)(|(cn=%s*)(mail=%s*)(legacyExchangeDN=%s)))
Search filter to use when resolving a user name to a distinguished name: (&(objectclass=organizationalPerson)(|(cn=%s)(mail=%s)(legacyExchangeDN=%s)))
Sample stconfig.nsf
(See attached file: stconfig.nsf)

Modify the sametime.ini:


under the [Directory] section. Include the following parameter:
[Directory]
ST_DB_LDAP_ALLOW_SEARCH_ON_DN=1


The MS Sharepoint server (optional)


do these steps if you have an MS Sharepoint server and want to have ST Presense information in Sharepoint pages with names. Refer to ST 8.5.1 Information Center Setting up Office SharePoint Integrationexternal link

The Sametime client installer


Sametime Connect client


1. Download part CZII3ML Sametime client 8.5.1 from PassportAdvantage.
2. Extract part CZII3ML: SametimeStandardClient\sametimeclient.standalone\Windows
3. In \Windows, extract sametime-connect.exe
4. Open in a text editor: \sametime-connect\deploy\install.xml
5. The features are commented out. You must include back in to enable them by removing the brackets around them ( ). The features are:

6. Open in a text editor: \sametime-connect\deploy\plugin_customization.ini
7. Change com.ibm.collaboration.realtime/startBroker=false to true
8. Now you are ready to execute setup.exe

The Sametime Outlook Integrator


This is a separate installer from the sametime-connect.exe. If you are already using sametime-connect.exe, you do not need to install this. The purpose of sametime-outlook-integrator-8.5.1.exe is that you don't want to install the ST Connect client and only wanted one specific feature - Sametime meeting integrator for Microsoft Outlook.
1. Download part CZII3ML Sametime client 8.5.1 from PassportAdvantage.
2. Extract part CZII3ML: SametimeStandardClient\sametimeoutlook\self-extract\sametime-outlook-integrator-8.5.1.exe
3. Execute setup.msi

How to apply Sametime Connect Hotfix (HF)?


Beginning with ST Connect 8.5.x, all HF are cumulative. The latest HF with the latest date will replace the HF with an older date. You only need to apply the HF with the latest date.

Steps to install HF. This example will be using ST Connect 8.5.1.1
1. Download ST Connect 8.5.1.1external link
2. Extract sametime.hotfix.win32_20101021-2122.exe

3. Make sure ST Connect and all MS suite products are terminated.
4. Run setup.exe or setup.msi

Note: For a mass deployment, the Administrator can use distribution software such as SMS or Altiris utility.

What are the local client interactions between the ST Connect, MS Office suite, and the web browser?



This section will serve as information reference for a deep dive understanding of OI architecture. Hence, it will enable you to troubleshoot when unexpected behaviors are encountered.

Microsoft Outlook Calendar Availability Architecture



feature id="com.ibm.collaboration.realtime.exchange.feature"

When only ST Connect is launch, it will make a call to the Automation Mode to launch Outlook in the background. You will not see the actual Outlook GUI running in the foreground. However; you will see OUTLOOK.EXE as running Processes in Task Manager. The design is to give ST Connect ability to access Outlook calendar entries and write to Sametime Transcript folder in Outlook.


Sametime Connect integrator for Microsoft Office & Microsoft Outlook Architecture

:

feature id="com.ibm.collaboration.realtime.oi.smarttags.feature"
feature id="com.ibm.collaboration.realtime.oi.toolbar.feature

The ST Connect is built on the Eclipse Expeditor (XPD) platform. One of the core component is the XPD MicroBroker, which enables local TCP/IP connection to STHelper then subsequently connect to the MS Office suites to provide presence information.


Sametime Meeting Integrator for Microsoft Outlook



feature id="com.ibm.collaboration.realtime.oi.webConfTab.feature"

OutlookOptionsAddin and OfficeWCAddin leverage MS WinHTTP API to send HTTP requests to ST Meeting server to launch a meeting. Within the HTTP request a ST token is embedded to authenticate with the ST Meeting server.


Sametime Connect integrator for SharePoint



feature id="com.ibm.collaboration.realtime.oi.sharepoint.feature"

The SharePoint integration is also dependent on the XPD MircoBroker connecting to STNamelib to provide presence information in the SharePoint page.


How to troubleshoot OI?


The OI Components do not show

Are the Eclipse plug-ins installed & enabled in ST Client?


Check:
-Default plug-ins are present & enabled
-Specific optional plug-in(s) is present & enabled
-In the ST client plug-in management panel
Possible scenarios
-Optional components not installed
-Badly customized install.xml (i.e. malformed XML)
-Administrative access rights prevents copying of DLLs in brokerbridge directory
-You must have admin access rights to install ST Client !

Are the COM add-ins registered?


Check the registry
-HKEY_CLASSES_ROOT\CLSID\{60EDBBD4-1267-4305-AC22-6C528CEA464D}

-InProcServer32 is the location of the DLL
-One registry location to check per add-in
-Manual registration: regsvr32

Are the Add-ins enabled in the application?


-Check in individual application – depends on application & version
-Outlook 2007: Tools > Trust Center > Add-ins > COM Add-ins > Go ...
-Word 2007: Office Button > Word Options Add-ins > COM Add-ins > Go ...

-Add-in must be present and checked
-Add-in can be added on the spot (“Add...” button). Select the relevant DLL in the brokerbridge directory

Caveats in the UI


-Toolbars may be shown / hidden by user


-Office 2007 Ribbon


All users show disconnected within Outlook inbox



Is the connection between OI & UIM established?


-MicroBroker TCP/IP Server Connection on port 51883
-Check: netstat -a


-Check the plugin_customization.ini: com.ibm.collaboration.realtime/startBroker=true

Are the Active Directory users being resolved?


User ID provided in Outlook email must be resolved to a Sametime user


How to test resolution?
Enable tracing
1. Open directory in text editor: C:\Documents and Settings\\Application Data\Lotus\Sametime\.config\rcpinstall.properties
2. Add "com.ibm.collaboration.realtime.brokerbridge.level=ALL" to the bottom
3. Terminate ST Connect and all MS suite products
4. Clear directory: C:\Documents and Settings\r\Application Data\Lotus\Sametime\logs
5. Launch ST Connect & Outlook
6. Outlook: select an internal email from inbox.


7. ST Connect: Help -> Support -> View Log
- Look for “LiveNameResolve”
- It Will provide internal ID

8. ST Connect: File -> New -> New Contact: Type in “New Contact” lookup dialog
9. Should return one & only one match


How to fix it?
- Indentify LDAP field used by Exchange intenally
- Manual search: look in the LDAP for the field that matches the internal ID you have identified by looking in the logs
- Some good candidates: dn, legacyExchangeDN, SAMAccountName
- Add the field to the Sametime LDAP search filter in the “LDAP Directory – Searching” page in the STConfig on the Sametime server

Meeting integrator: cannot schedule a meeting


-Client proxy configuration: Start -> Run -> cmd -> proxycfg
Use ProxyCfg.exe to set proxy settings
Microsoft (R) WinHTTP Default Proxy Configuration Tool
Copyright (c) Microsoft Corporation. All rights reserved.
usage:
proxycfg -? : to view help information
proxycfg : to view current WinHTTP proxy settings
proxycfg [-d] [-p ]
-d : set direct access
-p : set proxy server(s), and optional bypass list
proxycfg -u : import proxy settings from current user's
Microsoft Internet Explorer manual settings (in HKCU)

-Sametime tab doesn't show in invitation (see ST OnlineMeeting custom form above)
1. Go to the Outlook Calendar
2. File > Folder > Properties for Calendar
3. Set “When posting to this folder use:” to “ST OnlineMeeting”

SmartTags: User names / email not underlined in Word, etc ...


1. Are the plug-ins installed & enabled ?
See above
2. Are the COM add-ins registered ?
See above
3. Are SmartTags enabled ?
Office Button > Word Options Add-ins > SmartTags > Go ...
Person Name (English)
Person (Lotus Sametime Recognizer)


What do I need before contacting Sametime Support?


- Operating system version + SP
- Office Version + SP
- Clear the logs and enable Tracing com.ibm.collaboration.realtime.brokerbridge.level=ALL
- Sametime Workspace content: C:\Documents and Settings\\Application Data\Lotus\Sametime\logs
- Export of registry keys
HKEY_CURRENT_USER\Software\IBM\Sametime
HKEY_CURRENT_USER\Software\Microsoft\Office

What are the known issues?


Language


- OI language comes from “Regional and Language Options” in Control Panel

- Not always the same as OS, or Office language.
- Default selected language when installing ST Connect

Instant Meeting (Classic) vs Meeting 8.5+


There will be different button beginning with ST 8.5.1
- ST Instant Meeing

- ST Meeting 8.5+


Default mail format affects OI Toolbars



- Only Office XP/2003 if Word used as email editor for Rich Text messages
- Outlook default is HTML in Outlook 2007 +

- Setting preferences >Tools > Options... > Mail Format > change to Rich Text

Globalization Issues


- Sametime Options tab not displaying correctly
- Outlook limitation
- Not all versions affected
- Set the “Language for non-Unicode programs”



Author & Content Contributor


Thinh M. Hoang
Software Engineer
L2 Sametime Support

Olivier Bernin
Advisory Software Engineer
L3 Sametime Development

  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (34)
collapsed Versions (34)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (34)Feb 24, 2011 12:56:56 PMThinh M Hoang  IBM contributor
33Feb 24, 2011 12:55:36 PMThinh M Hoang  IBM contributor
32Feb 24, 2011 12:49:45 PMThinh M Hoang  IBM contributor
31Feb 24, 2011 12:47:24 PMThinh M Hoang  IBM contributor
30Feb 24, 2011 12:41:18 PMThinh M Hoang  IBM contributor
29Feb 24, 2011 12:38:47 PMThinh M Hoang  IBM contributor
28Feb 24, 2011 12:35:59 PMThinh M Hoang  IBM contributor
27Feb 24, 2011 11:41:42 AMThinh M Hoang  IBM contributor
26Feb 24, 2011 11:03:57 AMThinh M Hoang  IBM contributor
24Feb 24, 2011 10:16:01 AMThinh M Hoang  IBM contributor
23Feb 24, 2011 10:04:19 AMThinh M Hoang  IBM contributor
22Feb 24, 2011 9:59:01 AMThinh M Hoang  IBM contributor
21Feb 24, 2011 9:55:23 AMThinh M Hoang  IBM contributor
20Feb 24, 2011 9:54:18 AMThinh M Hoang  IBM contributor
19Feb 24, 2011 9:49:18 AMThinh M Hoang  IBM contributor
18Feb 24, 2011 9:47:41 AMThinh M Hoang  IBM contributor
17Feb 24, 2011 9:45:06 AMThinh M Hoang  IBM contributor
16Feb 18, 2011 5:24:30 PMThinh M Hoang  IBM contributor
16Feb 24, 2011 9:38:31 AMThinh M Hoang  IBM contributor
15Feb 18, 2011 4:03:49 PMThinh M Hoang  IBM contributor
14Feb 18, 2011 12:40:44 PMThinh M Hoang  IBM contributor
13Feb 18, 2011 12:11:37 PMThinh M Hoang  IBM contributor
12Feb 18, 2011 11:59:51 AMThinh M Hoang  IBM contributor
10Feb 18, 2011 11:28:46 AMThinh M Hoang  IBM contributor
9Feb 17, 2011 3:49:15 PMThinh M Hoang  IBM contributor
9Feb 18, 2011 9:59:12 AMThinh M Hoang  IBM contributor
8Feb 17, 2011 3:48:04 PMThinh M Hoang  IBM contributor
7Feb 17, 2011 3:43:42 PMThinh M Hoang  IBM contributor
6Feb 16, 2011 12:16:31 PMThinh M Hoang  IBM contributor
5Feb 15, 2011 4:43:45 PMThinh M Hoang  IBM contributor
4Feb 15, 2011 4:27:07 AMThinh M Hoang  IBM contributor
3Feb 15, 2011 3:32:45 AMThinh M Hoang  IBM contributor
2Feb 14, 2011 10:24:10 AMThinh M Hoang  IBM contributor
1Feb 14, 2011 9:57:32 AMThinh M Hoang  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use