1. Add a "Snippet Editor" web part to the web part zone
2. Press "Edit Snippet"

3. Insert the following Snippet, replace the highlighted parts with correct value
4. Save - > Check In-> Publish -> DONE!

2. Press "Edit Snippet"

3. Insert the following Snippet, replace the highlighted parts with correct value
<span class="ms-imnSpan"><a class="ms-imnlink
ms-spimn-presenceLink" onclick="IMNImageOnClick(event);return
false;" href="#"><span
class="ms-spimn-presenceWrapper ms-imnImg
ms-spimn-imgSize-10x10"><img name="imnmark"
title="" class="ms-spimn-img
ms-spimn-presence-offline-10x10x32" id="imn_1,type=smtp"
alt="Offline"
src="http://dpgintranettldev/_layouts/15/images/spimn.png"
sip="Your Email Address"
showofflinepawn="1"></span></a></span><span
class="ms-noWrap ms-imnSpan"><a
class="ms-subtleLink" href="#">Your Name</a></span>
|
4. Save - > Check In-> Publish -> DONE!

Hi,
ReplyDeleteDo you know hot to make it will be working inside the app part?
Thanks Kamil,
DeleteHaven't got a chance to test out Lync presence in app part as I am working on-site recently. Will definitly update you later on.
The key points for this no matter if it is a web part, a control or an app part is you need to get the "name" and "email" of the person. In app part you can try to get these information using json or client object model. Try it and it should work.
Good luck
If a page has a presence for User 1 and User 2, and you have logged in as User 1 and hover on the lync presence of user 2 the call out popup shows the presence info of the logged in user 1 and not the for the person user 2. Did you check that?
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThe id's need to be unique for each user
ReplyDeleteThis comment has been removed by the author.
ReplyDelete