Katie
Katie

Reputation: 21

Skype for Business Presence

Is it possible to display the presence of a Skype for Business user on a SharePoint Website? I am trying to create a contact page where users can contact of these employees from the webpage and to do this the presence needs to be displayed.

Upvotes: 2

Views: 1595

Answers (1)

Ankit Vijay
Ankit Vijay

Reputation: 4118

You can use Skype for web SDK to display presence of user on a web application (including SharePoint website). Keep in mind SDK is still in public preview. You can subscribe to user presence as follows:

  sub = person1.status.subscribe();
  person1.status.changed(onPresenceChanged);
  function onPresenceChanged(presence) {
      console.log("the contact is " + presence.availability);
  } 

Refer to this link for documentation. To get the self presence use status property of MePerson object. Refer to this link for more details.

You can download the samples of SDK can be from here

Upvotes: 1

Related Questions