This plugin will include presence awareness for a given person field. It works on IE, Chrome and Firefox. In order for this plugin to work. To install this plugin you can use bower or via nuget
You must have Lync client installed.
You will need to include the main.css and images library in the styles folder.
The way it works is you need to declare your class in the following name where presence needs to show in the following manner
<div class="author" data-user-id="email@example.com">John Doe</div>
It loops through all items which has class author
It uses data-user-id attribute value to construct the presence. So this id must be SPID At end of the page you will see that i am initializing the object and calling InsertLyncs method which does the above two steps for you
var x= new Lync();
In order to see a sample setup, please refer to index.html file.
Install-Package LyncPresencePlugin -Version 0.9.6
dotnet add package LyncPresencePlugin --version 0.9.6
<PackageReference Include="LyncPresencePlugin" Version="0.9.6" />
paket add LyncPresencePlugin --version 0.9.6
- jQuery (>= 1.9.1)