![Page 1: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/1.jpg)
Working with the Persistent Chat Platform in Lync 2013
![Page 2: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/2.jpg)
Session Objectives
• Persistent Chat in the Lync API
• Persistent Chat Add-Ins
• Working with the Persistent Chat Server SDK
![Page 3: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/3.jpg)
Agenda
Persistent Chat Server SDK
Persistent Chat Add-Ins
Persistent Chat in the Lync APIOverview
Working with the Persistent Chat Platform in Lync 2013
![Page 4: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/4.jpg)
Overview
![Page 5: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/5.jpg)
Persistent Chat Platform Components
Persistent Chat support added to client-side Lync 2013 SDK• Delivered as managed APIs• New in Lync 2013
Lync 2013 Persistent Chat PowerShell® interfaces• PowerShell cmdlets to administer and manage Persistent Chat
Lync 2013 Persistent Chat Server SDK• Introduced with OCS 2007 R2; was the only API available for Persistent
Chat• Lync 2013 continues supporting and enhancing this SDK• Separate install• Delivered as managed APIs that build on UCMA• Applications run on Lync Server (e.g., BOTs)
![Page 6: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/6.jpg)
Persistent Chat in Lync 2013
• Consistent user experience
• Message history is persisted in the
room
• Stories
• Rich permissions structure
• Extensible using the Lync Managed API
• Interact with rooms and their events
• Build an add-in that runs in the room
![Page 7: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/7.jpg)
Room Management
ManagementPowerShell cmdlets or using the Lync Server Control Panel
Management FuturesEnd-user interface for managing rooms
Room Add-InsExtend the room’s functionality using an add-in; e.g. display relevant news items sent by a bot
Category• Set options for rooms in
the category
• Set Allowed Members
• Set Denied Members
• Set Creators
Room• Inherit settings defined
in the category
• Set room type
• Associate an add-in
• Set Managers
• Set Members
• Room types
• Normal
• Auditorium
Add-In• Extend the functionality
of a room
• Web application hosted
in IIS
• Interact with the room
using the Lync API
![Page 8: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/8.jpg)
demo
Persistent Chat in the Lync Client
![Page 9: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/9.jpg)
Persistent Chat Server SDK
Persistent Chat Add-Ins
Persistent Chat in the Lync APIOverview
Working with the Persistent Chat Platform in Lync 2013
Agenda
![Page 10: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/10.jpg)
Persistent Chat in the Lync API
![Page 11: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/11.jpg)
Working with Persistent Chat using the Lync APIRoomManager
Accessible through LyncClient class
Get a room by its URI
Search for rooms
Follow and un-follow rooms
Subscribe to room events
Participant Added / Removed
Messages Received
Unread Message Count Changed
![Page 12: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/12.jpg)
Working with Persistent Chat using the Lync APISend Messages to a Room
Message types
Regular
Alert
Story
Plain text or RTF
Filter Messages
Call Room.EnableOutgoingMessageFilter()
Take action on messages before they are sent to the room
![Page 13: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/13.jpg)
Persistent Chat PowerShell cmdlets – Categories# Create a Persistent Chat CategoryNew-CsPersistentChatCategory –Name <String>
# Set the allowed members of the CategorySet-CsPersistentChatCategory -Identity <Identity>
-AllowedMembers @("<Active Directory Container">)
# Set users who are allowed to create Rooms in the CategorySet-CsPersistentChatCategory -Identity <Identity>
-Creators sip:[email protected]
# Indicate if users are notified when invited to a Room in the CategorySet-CsPersistentChatCategory –Identity <Identity>
-Invitations <Boolean>
![Page 14: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/14.jpg)
Persistent Chat PowerShell cmdlets – Rooms
# Create a Room in a CategoryNew-CsPersistentChatRoom –Name <String>
-Category <String> -Description <String>
# Set the Managers of the RoomSet-CsPersistentChatRoom
-Identity <Identity> -Managers <Managers>
# Set the Members of the RoomSet-CsPersistentChatRoom
-Identity <Identity> -Members <Members>
![Page 15: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/15.jpg)
demo
Working with Persistent Chat in the Lync API
![Page 16: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/16.jpg)
Persistent Chat Server SDK
Persistent Chat Add-Ins
Persistent Chat in the Lync APIOverview
Working with the Persistent Chat Platform in Lync 2013
Agenda
![Page 17: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/17.jpg)
Persistent Chat Add-Ins
![Page 18: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/18.jpg)
Persistent Chat Add-Ins
Extend the Functionality of a Room
Add-ins run in the extension pane of the conversation
window
Can access the room
Can retrieve messages from the room
Can send messages to the room and apply filters to
messages
Scenarios
Display messages from a bot
Show grouped message history of the room
Provide companion LOB application in room
![Page 19: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/19.jpg)
Add-In Development and Deployment
Development Experience
Build in Silverlight
Call LyncClient.GetHostingRoom() method to get
handle to room
Management
Deploy to IIS
Associate an add-in with a room
PowerShell cmdlets, Lync Server Control Panel, or
Persistent Chat Server SDK
![Page 20: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/20.jpg)
Persistent Chat PowerShell cmdlets – Addins
# Create a new AddinNew-CsPersistentChatAddin
-Name <String> -PersistentChatPoolFqdn <String>-Url <String>
# Associate the Addin with a RoomSet-CsPersistentChatRoom
-Identity <String> -Addin <String>
![Page 21: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/21.jpg)
demo
Persistent Chat Message History Add-In
![Page 22: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/22.jpg)
Persistent Chat Server SDK
Persistent Chat Add-Ins
Persistent Chat in the Lync APIOverview
Working with the Persistent Chat Platform in Lync 2013
Agenda
![Page 23: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/23.jpg)
Persistent Chat Server SDK
![Page 24: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/24.jpg)
Persistent Chat Server SDK Scenarios
Room Participation
Post messages, query room directory and content, chat
history
Upload/download files
Throttling participant list updates
BOTs in a Room
Automated participants posting content to a room
![Page 25: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/25.jpg)
Persistent Chat Server SDK Scenarios
Associate Add-Ins to a Room
Associate add-ins with Persistent Chat rooms to extend the
in-room experience
End User Room Creation and Management
Customize room creation and management workflows
Hook into Lync client entry point
![Page 26: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/26.jpg)
Persistent Chat PowerShell cmdlets – Endpoints
# Create a new Persistent Chat EndpointNew-CsPersistentChatEndpoint
-SipAddress <String> -PersistentChatPoolFqdn <String>
![Page 27: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/27.jpg)
demo
Working with the Persistent Chat Server SDK
![Page 28: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/28.jpg)
Persistent Chat Server SDK
Persistent Chat Add-Ins
Persistent Chat in the Lync APIOverview
Working with the Persistent Chat Platform in Lync 2013
Agenda
![Page 29: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/29.jpg)
Key takeaways
• Interact with Persistent Chat using the Lync API
• Build Persistent Chat add-ins using the Lync API
• Manage Persistent Chat using PowerShell cmdlets, and Lync Server
Control Panel
• Interact with and manage Persistent Chat using the Persistent Chat
Server SDK
![Page 30: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/30.jpg)
thank you
![Page 31: Agenda Room Management Management PowerShell cmdlets or using the Lync Server Control Panel Management Futures End-user interface for managing](https://reader036.vdocuments.us/reader036/viewer/2022062409/5697bfbb1a28abf838ca0b4d/html5/thumbnails/31.jpg)
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S.
and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond
to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after
the date of this presentation.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.