1

I'm trying to render the author field in a custom display template to show the Lync presence icon.

I would like to get a result similar to this template that displays the presence and the name. But i'm fairly new to display templates, and very new to JavaScript so i don't really know where to look and after what.

enter image description here

I was looking through some different OOTB templates and stumbled over the one called Common Hover Panel Body and there seem to be some JavaScript doing the work in there but i'm unsure what to extract. Has anyone done this before?

1
  • Are you looking to create a custom display template in which you would want to have such lync presence?
    – Asad Refai
    Commented Jul 7, 2015 at 9:57

1 Answer 1

0

You can investigate the code generated for presence indicator and the user, using developer tools. See this screenshot: enter image description here

1
  • 1
    I don't see how the CSS would help me.. i did use the debugger to see what templates was loaded on the image in my question and found a template that renders a user but i'm unsure what i really need to copy to make it functional. Commented Jul 9, 2015 at 7:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.