Setting up Sametime integration with the SharePoint Server

Set up IBM® Sametime® integration with the Microsoft™ Office SharePoint Server by modifying the template files on the SharePoint Server.

Before you begin

The full SharePoint Server provides the best experience for Sametime integration with SharePoint. For most customers, the full server provides awareness built into pages such as My Site and the Colleague Tracker. If you plan to develop your own pages, or if you already have your own pages, follow the Microsoft SharePoint instructions for adding awareness (presence) to SharePoint. To provide Sametime awareness with SharePoint, JavaScript™ scripts are provided for download from this Tech Note: Sametime SharePoint 2013 Integration. Use the Download link in the Content section of the Tech Note.

Ensure that you meet the following server requirements for setting up Sametime integration with Office SharePoint:
  • Microsoft SharePoint Server 2007 or more recent
  • A web page containing livenames. If you do not have a web page of livenames, refer to the Microsoft instructions. An example is provided with the SharePoint Server 2007 in the Colleague Tracker on My Site.
  • Microsoft Active Directory
  • IBM Sametime Community Server with the following configuration:
    • Configured to use Active Directory LDAP
    • Configured to resolve SMTP email addresses (usually in addition to other search attributes)
Ensure that you meet the following client requirements for setting up Sametime integration with Office SharePoint:
  • IBM Sametime Connect client
  • Internet Explorer
  • (Optional) Microsoft Outlook 2007 or more recent is required for some Outlook-specific menu functions

About this task

SharePoint Server setup requires modification to template files on the SharePoint Server. The following steps set up the SharePoint Server for awareness integration. This integration replaces Microsoft livenames and therefore prevents the use of livenames.

Procedure

  1. Unzip the images.zip file.
  2. On the SharePoint Server, locate the following folder:

    COMMON FILES\Microsoft\Shared\web server extensions\VersionId\TEMPLATE\

    For example, C:\Program Files\Common Files\Microsoft Shared\web server extensions\VersionId\TEMPLATE\
  3. Copy the images you unzipped from the images.zip file to the images subfolder.
  4. Complete one of the following steps according to the version of SharePoint that you are setting up.
    1. SharePoint 2007 and 2010

      Open the COMMON FILES\Microsoft Shared\web server extensions\VersionId\TEMPLATE\LAYOUTS\LangId folder.

      For example, C:\Program Files\Common Files\Microsoft Shared\web server extensions\VersionId\TEMPLATE\LAYOUTS\1033

    2. SharePoint 2013

      Open the COMMON FILES\Microsoft Shared\web server extensions\VersionId\TEMPLATE\LAYOUTS folder.

      For example, C:\Program Files\Common Files\Microsoft Shared\web server extensions\VersionId\TEMPLATE\LAYOUTS

  5. Complete one of the following steps according to the version of SharePoint that you are setting up.
    1. SharePoint 2007 and 2010

      Back up the Init.js and OWS.js files.

    2. SharePoint 2013

      Back up the Init.js, OWS.js, and Portal.js files.

  6. Open the original .JS files for editing.
  7. The following files are included in the files you unzipped in step 1:
    • SharePoint2007.js
    • SharePoint2010.js
    • SharePoint2013.js

    Each of the files contains functions for the corresponding versions of the SharePoint Server that will be replaced on the server.

  8. For each function in the SharePoint*.js files listed in step 7, locate a corresponding function in the Init.js and OWS.js files. Replace the original versions of the functions with the content from the SharePoint*.js file.
    Note: If you do not want to overwrite the entire function, the modified parts of the scripts are enclosed between // Start........ and // ........End
  9. Locate the IMNRC function and modify the following assignment replacing 1 with 0:
    if (typeof(IMNDictionaryObj[id])=="undefined")
    	{
    		IMNDictionaryObj[id]=0;
    	}replacing 1 with 0
  10. Add the following lines to the function:
    if (fFirst)
    		{
    			var objRet=IMNGetOOUILocation(obj);
    			objSpan=objRet.objSpan;
    			if (objSpan)
    			{
    				objSpan.onmouseover=IMNShowOOUIMouse;
    				objSpan.onfocusin=IMNShowOOUIKyb;
    				objSpan.onmouseout=IMNHideOOUI;
    				objSpan.onfocusout=IMNHideOOUI;
    				objSpan.tabIndex=0;
    			}
    		}
  11. Locate the IMNIsOnlineState function and replace 1 with 0:
    function IMNIsOnlineState(state){
    	if (state==0)
    	{
    			return false;
    	}
    	return true;
    }
    
    
  12. For SharePoint 2013 only, in the Portal.js file, locate the MySite_Person_addIMPawn function and replace it with the same from the SharePoint2013.js file.
  13. Save and close the .js files.
  14. Restart the SharePoint Server.