Is there any way to incorporate lync 2013 presense in to the

I tried the steps with from sharepointcolumn.com/lync-pr … oint-2013/ . It doesn’t work.
Then i tried with blogs.msdn.com/b/tomholl/archive … ug-in.aspx and it doesn’t work as the custom javascript section doesn’t load the functions properly.

Do let me know what are my options?

I tried the steps with from sharepointcolumn.com/lync-pr ... oint-2013/ . It doesn’t work.
Then i tried with blogs.msdn.com/b/tomholl/archive ... ug-in.aspx and it doesn’t work as the custom javascript section doesn’t load the functions properly.

Do let me know what are my options?

Hi Nicholas,

Currently Org Chart doesn’t support presence from the box. For now you have two options:

  • To customize HTML template of Org Chart box and to to inject JavaScript to support presence by yourself. Please read description of HTML templating and JavaScript framework.

  • To order our pro support. We can develop HTML template and JavaScript helper for you with instructions how to use it. It will take about 100 support minutes ($100). Please contact support@plumsail.com to request this functionality.

Hi Nicholas,

We received more requests about this functionality and decided to prepare some snippet to display presence indicators.

I prepared snippet for tooltip template which allows to display presence inside tooltip. For me it looks like this:


You can customize HTML templates for boxes, tooltips and search results. See the documentation for more information.

You can use this code snippet even in box template. I will describe how it works but you can use it as is without modificaitons, just copy paste to your HTML template.

<span class="ms-imnSpan">
      <a href="#" class="ms-imnlink ms-spimn-presenceLink">
        <span class="ms-spimn-presenceWrapper ms-imnImg ms-spimn-imgSize-10x10">
          <img name="imnmark" title="" showofflinepawn="1" class="ms-spimn-img ms-spimn-presence-disconnected-10x10x32" src="/_layouts/15/images/spimn.png" alt="Offline" sip="{{SPS-SipAddress}}" id="imn_1,type=sip">
        </span>
      </a>
    </span>
    <span class="ms-noWrap ms-imnSpan">
      <a href="#" class="ms-imnlink" tabindex="-1">
        <img name="imnmark" title="" showofflinepawn="1" class="ms-hide" src="/_layouts/15/images/spimn.png" alt="No presence information" sip="{{SPS-SipAddress}}" id="imn_4,type=sip">
      </a>
      <a class="ms-subtleLink" href="{{PersonalURL}}">
        {{PreferredName}}
      </a>
    </span>

As you see it takes SPS-SipAddress field from user profile. It is inserted by token {{SPS-SipAddress}} into template. It is a Lync ID of employee required for displaying presence. So, this field has to be filled in profile or synced with Active Directory (this is out of the box SharePoint functionality).

I will show how to embed it into tooltip template. If you didn’t modify tooltip template previously you can just copy and paste this HTML to template editor.

<div class="pl-item-photo">
  {{#if PictureURL}}
  {{#if PersonalURL}}
  <a href="{{PersonalURL}}" target="_blank">
    {{safeImage PictureURL}}
  </a>
  {{else}}
  {{safeImage PictureURL}}
  {{/if}}
  {{/if}}
</div>
<div class="pl-item-fields">
  <div class="field-container header-field">
    <span class="ms-imnSpan">
      <a href="#" class="ms-imnlink ms-spimn-presenceLink">
        <span class="ms-spimn-presenceWrapper ms-imnImg ms-spimn-imgSize-10x10">
          <img name="imnmark" title="" showofflinepawn="1" class="ms-spimn-img ms-spimn-presence-disconnected-10x10x32" src="/_layouts/15/images/spimn.png" alt="Offline" sip="{{SPS-SipAddress}}" id="imn_1,type=sip">
        </span>
      </a>
    </span>
    <span class="ms-noWrap ms-imnSpan">
      <a href="#" class="ms-imnlink" tabindex="-1">
        <img name="imnmark" title="" showofflinepawn="1" class="ms-hide" src="/_layouts/15/images/spimn.png" alt="No presence information" sip="{{SPS-SipAddress}}" id="imn_4,type=sip">
      </a>
      <a class="ms-subtleLink" href="{{PersonalURL}}">
        {{PreferredName}}
      </a>
    </span>
  </div>
  <div class="field-container ">
    {{Title}}
  </div>
  <div class="field-container ">
    {{Department}}
  </div>
  <div class="field-container ">
    <a href="mailto:{{WorkEmail}}">{{WorkEmail}}</a>
  </div>
  <div class="field-container ">
    {{WorkPhone}}
  </div>
  <div class="field-container ">
    {{Office}}
  </div>
  {{#if PersonalURL}}
  <div class="personal-page-link">
    <a href="{{PersonalURL}}"
    title="Navigate to personal page"
    target="_blank">View profile</a>
  </div>
  {{/if}}
</div>

You can find the snippet which I provided earlier inside this template. This snippet renders presence indicator and name of employee with link to user profile.

Hi,

I tried the template sample for Lync. However the problem is that only Lync presence seems to be working for the top person in the tree. What could be going wrong ?


Hello,

Thank you for your message. We will check this on our side and I will update you on Monday.

Best regards
Anton Khritonenkov

Hello,

We just updated our blog post with new template. Please try to use it.

The id='imn_[EnterSomeNumberHere] must be a unique number for each personnel entry on any given web page. I usually increment them by 10 to allow later insertions in between a listing.