For one organizational chart page I needed to incorporate the Lync presence control next to each name. Practically I wanted to replicate what you get when you show a list containing a people picker field, but without using a field of this type.
I have found the article Integrate Lync into your intranet sites using the NameCtrl plug-in.
Only a few notes on the article:
- when creating the id of the control, in the getId function, it's needed to use a replaceAll function for SIDs like firstname.lastname@example.org