The context of a conversation refers to the subject or topic of the conversation; the Lync API provides some mechanisms for embedding context directly into a conversation, allowing the participants to immediately know what a new conversation is about.
A great example of adding context to a conversation is the "Reply by IM" feature in Microsoft Outlook that allows you to respond to an email message using Lync. The message recipient sees the subject of the original email message in the incoming conversation notification window (also known as the toast) and as the title of the conversation window. When the person receives the instant message, she knows right away what you are contacting her about.
The Lync API introduces the concepts of Launch Link context and Lync Extensibility Window context that you can use to enhance the communications capabilities of your applications by embedding context into the conversations started by the application.
Launch Link context allows conversation recipients to launch applications directly from the Lync conversation window. For example, you select a customer account when working with a CRM application; after selecting the account, you can see the account manager's presence and are able to start an instant message or audio conversation with her directly from the application. The conversation that the account manager receives contains a link that she can use to launch the CRM application directly from the conversation window. The contextual data payload supplied with the conversation also includes information about the particular account that you are contacting her about. The user can launch the CRM application and automatically load the customer account record in question.
Lync Extensibility Window context allows you to host Silverlight or Web applications in the Lync conversation window. When a person receives a conversation that includes Lync Extensibility Window context, the Lync conversation window expands to host the specified Silverlight or Web application. The application hosted in the Lync conversation window enhances the conversation by providing additional services to it not available in the out-of-the-box Lync experience.
Launch Link and Lync Extensibility Window context are often combined to provide an end-to-end contextual conversation experience to the user. For example, a developer working in Visual Studio can highlight a section of code — using a Visual Studio add-in — and learn which team member authored that section of code. The Lync controls are used to show the team member's presence and, if she is available, start a conversation with her. When she receives the conversation, you can use Lync Extensibility Window context to display the section of code in question in a Silverlight application hosted in the Lync conversation window. If the developer needs to modify the code, you can use Launch Link context to include a launch link in the Lync conversation that allows her to start Visual Studio and automatically open the project containing the code.
You can build two main types of applications to run in the Lync conversation window. The first is a companion application, such as a translation application that provides two-way translation of an instant message conversation. This type of application interacts with the conversation but doesn't depend on it for startup parameters; the user can start this application as needed from the Lync conversation window. The other type of application depends on the conversation it is hosted in to provide the necessary startup parameters; for example, when a customer service agent in a call center receives a call, a Silverlight application automatically loads in the Lync conversation window and uses the caller's phone number to look up the customer record and display information, such as the recent order history to the agent.
The contextual conversation functionality provided by Launch Link context and Lync Extensibility Window context allows you to inject contextual data into conversations, providing for a richer and more efficient conversation experience that ensures that participants always have access to the contextual application data that they need.
No comments:
Post a Comment