Skype Lync 2013 Presence Indicator Web Part

This post is to embed a users Skype for Business (Lync 2013) presence indicator in a Content Editor Web Part for SharePoint 2010.

From reading this post:

http://geekswithblogs.net/jacobladams/archive/2011/05/03/use-hmtl-and-javascript-to-display-presence-controls-in-sharepoint.aspx

The code works exactly for SharePoint 2010, though I’ve added a Sype button and when clicked opens the Chat window in Skype.

sype button

 

 

 

  • Replace the paths below with your SharePoint path.
  • Replace my name with another email address or SIP Address.
  • Download the the Skype image below and upload it to the same folder as the code below.
<script type="text/javascript" src="/sites/SP2010/_layouts/1033/init.js"></script>
<script type="text/javascript" src="/sites/SP2010/_layouts/1033/core.js"></script>
<style type="text/css">
img.presenceIndicator {
border-style: None;
height: 12px;
width: 12px;
border-width: 0px;
vertical-align: middle;
}
</style>
<div>
<img id="uniqueID" onload="IMNRC('brett.anderson@example.com',getElementById('uniqueID'))" showofflinepawn="1" src="/sites/SP2010/_layouts/images/blank.gif" class="presenceIndicator" />
<a href="sips:brett.anderson@example.com">Brett Anderson</a>
<div>
<a href="sips:brett.anderson@example.com">
<img width="86" height="32" role="Button" style="BORDER-TOP: 0px; BORDER-RIGHT: 0px; VERTICAL-ALIGN: -41px; BORDER-BOTTOM: 0px; MARGIN: 10px; BORDER-LEFT: 0px" alt="Skype chat, instant message" src="/sites/SP2010/scripts/Sypebutton/chatbutton_32px.png"></a>
</div></pre>
<pre></div></pre>
<pre>

 

chatbutton_32px
Image button to upload to SharePoint server.
Advertisements

One thought on “Skype Lync 2013 Presence Indicator Web Part

Post a Comment

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s