Simple tips to: build a cam place add-in

0

Learn to make a speak space add-in that displays Microsoft Unified marketing and sales communications operated API (UCMA) bot communications and filters an area user’s messages before they have been uploaded with the cam her latest blog area.

Prerequisites connect an add-in with a chat room promoting a Silverlight add-in Acquiring the internet chat space further steps added budget

Core concepts to understand

Discover more about the Microsoft Lync 2013 chronic talk space add-in function through circumstances in which the add-in is employed in addition to classes and strategies which can be used to build an add-in.

Discover design a chronic Cam space add-in that displays information that a UCMA bot features published toward hosting chat place and then filters the pending content stuff of this regional consumer.

Relate an add-in with a speak place

Before the add-in is generally unsealed in a talk window, you should sign up the add-in because of the Lync host 2013. The add-in was opened for the chronic chat area screen when a person double-clicks a persistent speak room from the call checklist. You may register a persistent cam area through the use of a server-side instrument including the class Chat Administration means. For details about associating an add-in with a chat room with the Microsoft Lync host 2013 chronic Chat SDK, read ChatRoomManagementServices.BeginUpdateChatRoom.

You should connect your new add-in with a personal speak room to be able to check the add-in. Whenever your add-in is prepared for general public need, connect it with a public speak space.

An exclusive cam space is visible to the people. This means that the exclusive chat space may not be discover making use of a chat room query to find a chat room.

Creating a Silverlight add-in

Incorporate Microsoft Visual Studio to generate the answer and task data files for any add-in. You are able to open up the remedy in Microsoft appearance Web if you wish to generate a sophisticated user experience.

To generate a Silverlight add-in

Choose the Lync Silverlight Application theme in the middle pane of the New venture dialog. This theme populates the sources folder with the set up which has the namespace you employ to have talk place attributes.

The remedy document is willing to revise. The MainPage.xaml document declares a person controls that nests a grid, pile section, in addition to PresenceIndicator regulation. This control is in the heap section to exhibit you how to embed Lync handles within Silverlight software.

Acquiring the internet hosting chat place

The hosting talk place is the entry point to all or any Lync function you could code in an add-in. To have the room, phone the LyncClient.GetHostingRoom process. Where to get the internet hosting talk room is within the add-in constructor.

To obtain the web hosting cam area

Sign up for the Room.IsSendingMessage celebration to help you catch and filter information before they are uploaded by the regional individual.

Sign up for the Room.Messagesgotten celebration to find newer communications once they are posted towards web hosting cam room.

Code example: Chat place content filtration

The next sample utilizes XAML to declare the add-in UI. The controls integrate an admission field that individual kinds a filtration string into, and book blocks that demonstrate the original information article while the article after the add-in features reformatted it.

These sample interacts together with the XAML user command over a Silverlight speak room add-in. Whenever user blogs a note with the internet chat area, this add-in captures the message prior to it being uploaded. When the message offers the filtration sequence definitely entered inside the filter book container, the content post was terminated. Or else, the message was uploaded into the area

Further strategies

Now that you’ve developed a chat place add-in, discover more about learning to make the add-in communicate with the web hosting cam area.

Idea
Teilen Sie diesen Artikel

Autor

Mein Name ist Alex. Ich bin seit 2011 als Texter und Blogger im Netz unterwegs und werde euch auf Soneba.de täglich mit frischen News versorgen.

Schreiben Sie einen Kommentar