Thursday, 8 January 2015

Add Presence to SharePoint Search Results

Hi all! It's been a long time since my last post here. Recently I have playing around with the user presence indicator in a custom display template results and it's amazing what you can do with the out-of-the-box functionality.

I based myself on this article:
http://www.ableblue.com/blog/archive/2013/06/05/add-presence-to-sharepoint-search-results/

The only thing the article was missing was how to get the id, wich you can do like this:
var id = ctx.ClientControl.get_nextUniqueId();

Have Fun!