منوی دسته بندی

How exactly to: Create a speak place add-in

How exactly to: Create a speak place add-in

Learn how to develop a speak room add-in that displays Microsoft Unified marketing and sales communications Managed API (UCMA) bot communications and strain a local customer’s messages before these are generally uploaded into the talk room.

Prerequisites Associate an add-in with a cam room producing a Silverlight add-in obtaining the hosting speak area further procedures further sources

Center concepts understand

Read about the Microsoft Lync 2013 chronic speak room add-in element through the situations in which the add-in can be used and the sessions and techniques being regularly make an add-in.

Learn about creating a chronic talk room add-in that presents messages that a UCMA bot provides posted for the internet hosting speak space following filters the pending information posts regarding the local user.

Connect an add-in with a speak area

Before your add-in can be launched in a cam window, you will need to sign up the add-in with the Lync Server 2013. The add-in try unsealed into the chronic speak place screen when a person double-clicks a persistent speak room from the get in touch with listing. You can also sign up a persistent cam room by utilizing a server-side means including the people Chat Administration means. For information about associating an add-in with a chat place utilizing the Microsoft Lync host 2013 chronic Chat SDK, read ChatRoomManagementServices.BeginUpdateChatRoom.

You need to connect your brand new add-in with an exclusive speak room so you can sample the add-in. If your add-in is ready for public need, relate they with a public chat area.

A personal talk space is only visible to the members. Which means that the personal cam room cannot be discovered by utilizing a chat area question to look for a chat place.

Creating a Silverlight add-in

Incorporate Microsoft Visual Studio to generate the solution and job records for the add-in. You’ll opened the remedy in Microsoft appearance Web if you’d like to generate an advanced user experience.

Generate a Silverlight add-in

Find the Lync Silverlight software theme in the centre pane of brand new task dialog. This template populates the sources folder aided by the set-up which contains the namespace you use to obtain talk space attributes.

The solution file is prepared to modify. The MainPage.xaml file declares a user controls that nests a grid, bunch screen, in addition to PresenceIndicator regulation. This regulation is within the stack board to show you how to embed Lync handles inside Silverlight application.

Having the hosting cam place

The web hosting cam space will be the access point to Lync efficiency that you could code in an add-in. To have the place, call the LyncClient.GetHostingRoom approach. The best place to get the hosting speak space is within the add-in constructor.

To have the internet hosting talk room

Sign up for the Room.IsSendingMessage show to https://besthookupwebsites.net/daddyhunt-review/ help you catch and filter information before they’re uploaded because of the neighborhood user.

Create the Room.Messagesobtained event to help you get brand-new communications when they tend to be submitted into internet chat room.

Laws example: Chat room message filtration

Listed here instance uses XAML to declare the add-in UI. The controls add an entry area your consumer type a filter string into, and book blocks that show the initial content post additionally the blog post after the add-in have reformatted they.

The next example interacts because of the XAML consumer command over a Silverlight speak room add-in. Whenever the individual stuff a note toward internet hosting speak space, this add-in captures the message prior to it being submitted. If the information provides the filter string this is certainly registered for the filter text container, the message article is actually terminated. Otherwise, the content was published for the space

Subsequent procedures

Now that you’ve created a cam area add-in, understand how to make their add-in interact with the web hosting speak place.

Suggestion

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد.