Adding multiple Lync Contacts to Existing Web Page

by wenyuz 6. June 2011 11:05

In order to add Lync contacts to existing web pages, you would need to add a Lync Silverlight project to your existing web pages. And then add the Silverlight objects onto your web page. The issue that I was experiencing was that if you only have the contact presenceindicator with the display name onto the page and you want to be able to have the contact detail on hover as well, the object cannot display inline with the rest of the page. One way is to call a javascript function from within the Silverlight object to resize the Silverlight object, but it would still push the rest of the page down if you get the Silverlight object to resize on the fly. So the other work around that I have used was to create two Silverlight objects per contact, one for detail and one for presence indicator, and on the page, you can add a javascript to toggle the detail page. The only draw back was that you would have to add multiple Silverlight objects onto the page, and if there are a lot of contact objects on the page, it would slow down the performance. Of course, if you are adding other contacts onto the same page, you would need to add a contactID to each one and specify the ContactID in the javascript.

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading


Tag cloud