Learn how to build a cam area add-in that presents Microsoft Unified marketing and sales communications Managed API (UCMA) bot communications and filter systems a local owner’s communications before they might be posted on the talk place.
Prerequisites connect an add-in with a talk area generating a Silverlight add-in obtaining web hosting talk place further measures extra means
Center concepts to understand
Understand the Microsoft Lync 2013 Persistent speak room add-in ability through circumstances when the add-in is utilized in addition to sessions and strategies which are familiar with produce an add-in.
Discover creating a Persistent talk room add-in that displays information that a UCMA robot has posted on internet cam area and filters the pending content content regarding the neighborhood individual.
Connect an add-in with a cam place
Before the add-in tends to be started in a chat window, you’ll want to subscribe the add-in because of the Lync Server 2013. The add-in is actually launched in persistent speak place screen when a person double-clicks a persistent chat area from the communications record. You are able to register a persistent cam area with a server-side appliance for instance the people Chat management device. For information regarding associating an add-in with a chat space making use of the Microsoft Lync host 2013 consistent Chat SDK, discover ChatRoomManagementServices.BeginUpdateChatRoom.
You will want to associate the new add-in with an exclusive talk area so you can test the add-in. Whenever your add-in is prepared for public usage, associate they with a public talk place.
An exclusive cam room is only visible to its people. Which means the private talk room can’t be discovered by utilizing a chat room query to search for a chat room.
Generating a Silverlight add-in
Usage Microsoft Visual business to create the perfect solution is and task documents when it comes to add-in. You can open up a better solution in Microsoft term internet when you need to write an advanced user experience.
Generate a Silverlight add-in
Choose the Lync Silverlight program template in the middle pane of brand-new venture dialogue. This theme populates the recommendations folder because of the installation which has the namespace you use to obtain cam room services.
The perfect solution is document is prepared to upgrade. The MainPage.xaml file declares a user controls that nests a grid, heap board, and also the PresenceIndicator control. This regulation is within the heap panel showing you how to embed Lync settings inside Silverlight program.
Getting the web hosting speak place
The hosting speak area is the entry way to all or any Lync efficiency as possible code in an add-in. To obtain the area, name the LyncClient.GetHostingRoom approach. A good option to get the internet chat space is within the add-in constructor.
To get the internet speak room
Sign up for the Room.IsSendingMessage event to help you get and filter information before they’re published from the neighborhood user.
Register for the Room.Messageswas given celebration so you’re able to find newer information after they is submitted on internet hosting chat place.
Laws sample: Chat place message filter
These https://besthookupwebsites.net/cougar-life-review/ example utilizes XAML to declare the add-in UI. The handles put an entry field that user kinds a filter string into, and book blocks that show the original information blog post in addition to post following add-in keeps reformatted it.
These sample interacts aided by the XAML individual control of a Silverlight talk space add-in. When the user articles a message towards the internet talk room, this add-in grabs the content prior to it being posted. When the content contains the filter sequence which inserted into the filtration text box, the message article are canceled. Otherwise, the content are posted to the room
After that tips
Now that you have developed a cam room add-in, understand making the add-in interact with the internet speak place.
| Tip |
|---|
