SharePoint 2013 – Office Communicator 2007 R2 Presence Indicator

SharePoint 2013 – Office Communicator 2007 R2 Presence Indicator

  • Comments 3
  • Likes

Recently I was being asked if the presence indicator would still function within SharePoint 2013 sites along with Office Communicator 2007 R2

How SharePoint Presence works:

SharePoint presence status is displayed through a client-side setting by using a dynamic link library called name.dll. This file is installed with Microsoft Office 2010, Office 2007 and Office 2003 and is located within the Office installation directory for e.g., (C:\Program Files\Microsoft Office\Office 14). The name.dll file is an ActiveX® control which gets loaded within the Internet Explorer that calls the Lync \ Office Communicator API directly to request and display presence status within SharePoint site collections.

Example of Add-on which gets loaded on Internet Explorer

Name : NameCtrl Class

Publisher : Microsoft Corporation

Status : Enabled

File date : Thursday, October 26, 2006, 8:12 PM

Version : 12.0.4518.1014

Function: Display presence information for people, integrating with Outlook (mail, calendar) and Communicator (instant messaging)

Reference: http://msdn2.microsoft.com/en-us/library/ms455335.aspx

Non-IE behavior: Presence information will not show.

===========================================================================================================================

 

Presence is enabled in SharePoint by default; there are no configuration steps for the SharePoint administrator to perform. Each SharePoint page includes Microsoft JScript® code, which enables presence for that site. JScript uses name.dll to call the Lync \ Office Communicator API and pull presence for users names who appear on the site. JScript uses the users’ SIP URI to pull presence for names that are listed on the site.

The following JScript code is an example of presence being pulled for a user named Bob Kelly, whose SIP URI is administrator@topgear.com. The SIP URI is added by using variables to the JScript when the script is loaded and presence is being pulled.

<a href='jscript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'><img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' sip='administrator@topgear.com' id='imn_74,type=smtp'/></a><a onclick="GoToLink(this);return false;" </a>

Conclusion:

The Presence Indicator works within SharePoint 2013 along with Office Communicator 2007 R2 however, To get the Presence Indicator working we have to ensure that Office is installed as it deploys Name.DLL which is present under (C:\Program Files\Microsoft Office\Office 12) and the SIP Address is updated for the user on the site.

Incase the SIP Address is not updated for the user within the SharePoint Site, we can make use of the following script to update the same.

$web = Get-SPWeb http://sush13
## get the user information list
$list =$web.Lists | where { $_.Title -eq "User Information List" }
## Get the system account item
$item = $list.Items | where { $_["Account"] -eq " i:0#.w|topgear\administrator" }
$item["Title"] = "UserName"
$item["SIP Address"] = “
Adminsitrator@topgear.com
$item.Update()

 

Comments
  • <p>There is a field SIP Address in Sharepoint 2013 User Profile page in Central Administration. Does that field map to some AD attribute, like msRTCSIP-PrimaryUserAddress, or is it Sharepoint 2013 specific. If I setup profile sync with AD, will the sync delete this field?</p>

  • <p>Hi, I tried your script but I get below error. Any ideas why?</p> <p>PS C:\Users\administrator.PASTERNAK&gt; $item[&quot;SIP Address&quot;]=&quot;milena188@pasternak.p</p> <p>st&quot;</p> <p>Cannot index into a null array.</p> <p>At line:1 char:1</p> <p>+ $item[&quot;SIP Address&quot;]=&quot;milena188@pasternak.pst&quot;</p> <p>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</p> <p> &nbsp; &nbsp;+ CategoryInfo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: InvalidOperation: (:) [], RuntimeException</p> <p> &nbsp; &nbsp;+ FullyQualifiedErrorId : NullArray</p>

  • hi, can you pl explain clearly that how to integrated office SIP messanger with SP2013 step by step

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment