Discover ways to build a talk area add-in that presents Microsoft Unified marketing and sales communications operated API (UCMA) bot messages and filters an area owner’s messages before these include posted with the speak space.
Requirements connect an add-in with a cam room promoting a Silverlight add-in Getting the internet hosting chat space subsequent actions added means
Core concepts to understand
Read about the Microsoft Lync 2013 Persistent Chat place add-in element through circumstances where the add-in is used additionally the courses and practices which can be accustomed build an add-in.
Discover creating a Persistent talk room add-in that shows emails that a UCMA robot possess submitted towards the web hosting chat room immediately after which filters the pending message blogs for the local user.
Relate an add-in with a cam space
Before the add-in are established in a talk screen, you’ll want to enroll the add-in using Lync Server 2013. The add-in was opened in the chronic cam room window whenever a user double-clicks a persistent talk area through the communications listing. You are able to subscribe a persistent speak space through the help of a server-side device like the cluster Chat Administration device. For information on associating an add-in with a chat area making use of the Microsoft Lync Server 2013 Persistent Chat SDK, read ChatRoomManagementServices.BeginUpdateChatRoom.
You should relate your brand new add-in with an exclusive speak place so that you can test the add-in. Whenever your add-in is prepared for general public utilize, associate they with a public speak room.
An exclusive speak room is visible to the people. This means that the personal cam place should not be located by utilizing a chat area query to search for a chat area.
Producing a Silverlight add-in
Use Microsoft Visual business generate a better solution and job data files the add-in. It is possible to opened the remedy in Microsoft appearance online if you would like establish a sophisticated user experience.
To create a Silverlight add-in
Select the Lync Silverlight program theme in the centre pane on the unique task dialogue. This template populates the sources folder with all the system that contains the namespace make use of to have talk area functions.
The perfect solution is document is ready to upgrade. The MainPage.xaml file declares a user control that nests a grid, pile screen, together with PresenceIndicator regulation. This controls is in the stack panel to demonstrate you how to embed Lync settings in your Silverlight software.
Obtaining internet hosting speak space
The web hosting chat place is the entry way to Lync features that you can code in an add-in. To have the area, phone the LyncClient.GetHostingRoom system. The best place to get the internet hosting chat space is in the add-in constructor.
To have the internet hosting talk place
Register for the Room.IsSendingMessage celebration so you can catch and filter information before they are submitted by regional consumer.
Sign up for the Room.Messagesgot occasion so you’re able to get new emails when they become submitted on internet hosting talk space.
Laws instance: Chat room information filtration
The next sample makes use of XAML to declare the add-in UI. The controls consist of an entry field your individual type a filter sequence into, and text obstructs that show the original content article while the blog post following the add-in possess reformatted they.
Listed here instance interacts using the XAML user control of a Silverlight talk room add-in. Whenever the individual content an email towards internet https://besthookupwebsites.net/colombiancupid-review/ hosting talk area, this add-in catches the content before it is submitted. If the message offers the filtration sequence that is joined inside filter book package, the message article try terminated. If not, the content is actually uploaded for the area
Then procedures
Now that you’ve created a chat room add-in, understand making your add-in connect to the internet hosting talk room.
Idea |
---|
Deixe uma resposta