0

I'm trying to follow along with this code sample from the Lync 2013 Client SDK documentation on MSDN (https://msdn.microsoft.com/EN-US/library/office/jj933060.aspx).

For some reason, I am never able to connect the ContentSharingModality in the Lync conversation - CanInvoke(ModalityAction.Connect) always returns false.

I am using an Office 365 Lync account, although I don't see a good reason why that should matter - if I use the same accounts logged into the Lync client normally, I can share the same content types with no problem, so I don't think it is a matter of permissions in Office 365.

EricRRichards
  • 474
  • 7
  • 20

1 Answers1

0

The ContentSharingModality modality can only be connected to in a conference call. If you are trying to do it in a standard one-to-one call, that is the reason why it can't be connected.

You can start with a conference call, convert a Two-Party Conversation into a Conference all by adding a third participant or Escalate a Two-Party Conversation to a Conference.

Once you have a conference call, then you should be able to start the ContentSharingModality modality.

Shane Powell
  • 13,698
  • 2
  • 49
  • 61
  • I think the problem is actually that I'm driving UI-Suppressed Lync clients, so there are bits I can't make use of due to limitations of running in that mode https://msdn.microsoft.com/en-us/library/office/jj933224.aspx. – EricRRichards Dec 23 '15 at 01:36
  • I haven't done a lot of UI Suppressed mode apps. So you may be correct. I have been able to join conferences in UI Suppressed mode without a problem but I have never tried to connect any of the modalities. – Shane Powell Dec 23 '15 at 04:12