Lync presence with summary links web part issue in SharePoint 2013

We migrated SharePoint 2010 to SharePoint 2013 and noticed that the image link for Lync presence was missing for the summary links web part. We verified Lync was working correctly by seeing that the presence was shown in lists and document libraries. We noticed the below behavior.

When the user was not logged on to Lync the following is shown:

Summary Links Web Part issue1

and the following when the user was logged on

Summary Links Web Part issue2

The images links are broken because they are being redirected to the 14 hive in SharePoint 2013. Unfortunately it is not as simple as copying the image to this location but you will have to use the below workaround to get the summary links web part to function again.


  • Navigate to the following directory on each SharePoint 2013 server in the farm:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\PublishingResources

  • Copy the “SummaryLinkMain.xsl” file to another location
  • Edit “SummaryLinkMain.xsl” in this directory.
  • Find the below section

<span class=”presence-status-icon”>
<img src=”/_layouts/images/imnhdr.gif” onload=”{concat($prefix, @SipAddress, $suffix)}” ShowOfflinePawn=”1″ id=”{concat(‘MWP_pawn_’,$slw_clientid,’_’,$id,’,type=sip’)}”/>

  • Change this section completely to the following:

<span class=’ms-imnSpan’>
  <a href=’#’ onclick=’IMNImageOnClick(event);return false;’ class=’ms-imnlink’>
    <span class=’ms-spimn-presenceWrapper ms-imnImg ms-spimn-imgSize-10×10′>
      <img src=”/_layouts/15/images/spimn.png” class=’ms-spimn-img ms-spimn-presence-disconnected-10x10x32′ onload=”{concat($prefix, @SipAddress, $suffix)}” ShowOfflinePawn=”1″ id=”{concat(‘MWP_pawn_’,$slw_clientid,’_’,$id,’,type=sip’)}”/>

  • Save the file on the same location
  • Perform an IISReset
  • Verify if the presence is now working in the Summary Links Web Part.

Summary Links Web Part issue3