Discover ways to generate a talk place add-in that shows Microsoft Unified marketing and sales communications Managed API (UCMA) bot messages and strain a nearby user’s messages before they might be uploaded toward talk area.
Prerequisites connect an add-in with a talk place promoting a Silverlight add-in Getting the internet hosting chat place subsequent strategies further means
Core concepts knowing
Learn about the Microsoft Lync 2013 Persistent speak room add-in feature through the scenarios wherein the add-in is employed in addition to courses and methods which can be always produce an add-in.
Read about making a Persistent talk space add-in that presents information that a UCMA robot have submitted for the internet hosting chat place immediately after which filters the pending content stuff associated with the local individual.
Relate an add-in with a talk space
Before the add-in can be unsealed in a speak screen, you will need to sign up the add-in with the Lync Server 2013. The add-in try exposed inside chronic chat place screen whenever a user double-clicks a persistent talk place through the communications checklist. It’s also possible to sign up a persistent chat area through a server-side means such as the class Chat government device. For information about associating an add-in with a chat space utilizing the Microsoft Lync host 2013 Persistent Chat SDK, see ChatRoomManagementServices.BeginUpdateChatRoom.
You should link your brand-new add-in with a private chat space to enable you to test the add-in. Whenever your add-in is ready for general public incorporate, connect they with a public cam room.
An exclusive speak area is noticeable to their members. Which means that the exclusive talk space cannot be receive through a chat room query to find a chat place.
Generating a Silverlight add-in
Need Microsoft Visual Studio generate the remedy and task files for the add-in. You can opened the solution in Microsoft term Web if you want to develop an enhanced user experience.
To create a Silverlight add-in
Find the Lync Silverlight software layout in the centre pane from the New Project dialog. This template populates the sources folder utilizing the set-up which contains the namespace you utilize to obtain cam area qualities.
The clear answer document has grown to be ready to modify. The MainPage.xaml file declares a person controls that nests a grid, stack board, therefore the PresenceIndicator regulation. This regulation is in the pile panel to exhibit you how to embed Lync Controls in your Silverlight application.
Getting the internet hosting chat room
The internet hosting speak room https://besthookupwebsites.net/divorced-dating/ may be the entry way to any or all Lync features as you are able to code in an add-in. To have the room, call the LyncClient.GetHostingRoom approach. The right place to get the web hosting cam place is within the add-in constructor.
To obtain the internet talk room
Register for the Room.IsSendingMessage occasion so you’re able to find and filter messages before these are typically submitted from the regional user.
Create the Room.Messageswas given show so you can get brand-new communications after they were published into hosting chat space.
Rule sample: Chat space message filter
These example uses XAML to declare the add-in UI. The handles incorporate an entryway area that user types a filtration string into, and text obstructs that show the initial information article plus the article following the add-in enjoys reformatted they.
Here sample interacts because of the XAML individual power over a Silverlight chat room add-in. Once the individual articles a message into the hosting speak area, this add-in catches the content prior to it being published. In the event the information provides the filter string that will be entered within the filtration book container, the content blog post are terminated. If not, the content is submitted towards space
Further measures
Now that you’ve got created a chat room add-in, learn about how to make the add-in interact with the internet hosting cam room.
Tip |
---|