Conversation window automation in Lync SDK

Core concepts

Learn about Microsoft Lync 2013 conversation window automation in Microsoft Lync 2013 SDK and how conversation window automation lets you integrate Lync 2013 into an application with very little code and in a short time.

Applies to: Lync 2013 | Lync Server 2013

In this article
What is conversation window automation?
Conversation window automation objects
Additional resources

Code samples

Join meeting from lobby using the Automation class

What is conversation window automation?

Conversation window automation is a feature that lets you programmatically start a new Lync 2013 conversation window that hosts a conversation in any of the conversation modes supported by the Lync client. You provide a list of Lync user SIP addresses along with the desired conversation modes in the automation method call and a conversation window opens in the desired conversation mode and with the invited users. Automation lets you create a parent/child relationship between a container control in your application as parent and the conversation window as child. This relationship docks the conversation window in your application as though it was an organic part of your application.

A conversation window can be made context-aware at the time it's started. That is, the conversation window can be extended to provide conversation participants with contextual information from the launching application. For example, if your application is an accounts payable (AP) system and you start a conversation window from within an AP screen for a given payable transaction, the details of the transaction can be shown in the conversation window so that users have context for conversing.

Important noteImportant

The mechanism that extends the conversation window with contextual information has two parts. The first part is the extension tabs on the conversation window UI that are built into the conversation window. The second part is a Silverlight browser extension application that you must write. This extension application is hosted in the conversation window on an extension tab. The extension application must be able to call into your application for context data and call into the Lync API for access to the object that encapsulates the conversation itself. For information about writing extension applications, see How to: Create a Conversation Window Extension application in Lync SDK.

Conversation window automation objects

The Microsoft.Lync.Model.Extensibility namespace contains the five classes and three enumerations that are responsible for exposing the automation feature. The Automation class is the entry point into the automation feature and provides the method that starts the conversation window and returns a reference to the new conversation window. The ConversationWindow class represents a started conversation window. The enumerations and other classes of the namespace support the conversation modality options and docking feature in automation.

See also