How-to: generate a chat area add-in
Learn how to create a chat area add-in that shows Microsoft Unified Communications operated API (UCMA) robot information and filters a regional user’s communications before they are uploaded to the cam place.
Requirements connect an add-in with a cam place producing a Silverlight add-in Acquiring the internet cam area subsequent procedures further information
Center concepts to learn
Learn about the Microsoft Lync 2013 Persistent Chat room add-in feature through situations when the add-in is utilized in addition to tuition and practices being regularly generate an add-in.
Understand designing a Persistent Chat space add-in that displays communications that a UCMA bot keeps posted into hosting cam space following filters the pending message posts of regional user.
Relate an add-in with a cam room
Before the add-in can be unsealed in a talk screen, you will need to enter the add-in with all the Lync servers 2013. The add-in was unwrapped in persistent chat space windows when a person double-clicks a persistent chat area from call checklist. You are able to subscribe a persistent cam space through the help of a server-side device such as the class Chat government means. For information about associating an add-in with a chat space with the Microsoft Lync Server 2013 consistent Chat SDK, see ChatRoomManagementServices.BeginUpdateChatRoom.
You will want to connect your new add-in with an exclusive chat place in order to check the add-in. Whenever your add-in is prepared for community utilize, connect they with a public speak room.
A private speak space is noticeable to their users. Therefore the exclusive chat room shouldn’t be found with a chat area question to find a chat space.
Generating a Silverlight add-in
Need Microsoft Visual facility generate the remedy and job files for any add-in. You’ll be able to open a better solution in Microsoft term Web if you wish to produce an advanced consumer experience.
Generate a Silverlight add-in
Choose the Lync Silverlight Application theme at the center pane of the New Project dialog. This layout populates the records folder because of the set-up that contains the namespace make use of to obtain cam place characteristics.
The perfect solution is file happens to be prepared modify. The MainPage.xaml document declares a user control that nests a grid, stack panel, in addition to PresenceIndicator controls. This regulation is in the heap board to show you how to embed Lync Controls within Silverlight program.
Having the internet hosting speak place
The hosting chat area is the entry way to any or all Lync features you could code in an add-in. To have the area, name the LyncClient.GetHostingRoom technique. The right place to have the internet hosting cam place is in the add-in constructor.
To get the web hosting cam area
Register for the Room.IsSendingMessage event http://besthookupwebsites.net/christian-cupid-review in order to find and filter messages before they might be posted by regional consumer.
Register for the Room.Messageswas given occasion so you’re able to capture new messages when they were published into internet hosting speak area.
Signal instance: Chat space information filter
These instance uses XAML to declare the add-in UI. The settings integrate an admission field the individual kinds a filtration string into, and text obstructs that demonstrate the first information article additionally the post following the add-in has reformatted it.
Listed here example interacts making use of XAML consumer command over a Silverlight speak space add-in. After user articles an email towards internet chat place, this add-in grabs the content before it is uploaded. If the content provides the filtration sequence definitely joined during the filter text field, the content article is actually canceled. Or else, the content is submitted into the room
Then strategies
Now that you’ve developed a speak room add-in, read about making their add-in connect with the internet cam place.
Idea |
---|