Search code examples
ajaxmocuser-presence

How do I display an MOC user's online status on a web page *without* Active-X?


Is it possible to display a user's online status without Active-X? In my googling I've found a number of articles about displaying MOC online status on Sharepoint using the IMNRC() function in the OWS.js file but this seems pretty old-skool with all of the Active-X object instantiation and as a result will only work in Internet Explorer.

Is there a simple method of getting an online status using some kind of back-end API call to the communication server by passing their email address?

cheers Marcus


Solution

  • I contribute to a CodePlex project called HTML Presence Controls for Microsoft Lync Server 2010 - check it out at http://htmlpresencecontrols.codeplex.com/.

    As Paul mentioned above, the architecture behind such a solution would be create a backend service that exposes WCF methods to query the presence of contacts. You could query that from an ASP.NET server control in an ASPX page, or even a JavaScript implementation in HTML or PHP.

    The CodePlex project should give you a good idea of how to build something like that.