Discover ways to generate a cam place add-in that displays Microsoft Unified Communications Managed API (UCMA) bot messages and strain a regional customer’s messages before they truly are published to your chat room.
Prerequisites Associate an add-in with a cam space producing a Silverlight add-in Getting the hosting talk room After that measures Additional methods
Key concepts to learn
Read about the Microsoft Lync 2013 chronic talk room add-in element through the situations where add-in is employed additionally the courses and methods which can be accustomed establish an add-in.
Discover designing a Persistent talk room add-in that presents communications that a UCMA bot has actually published toward internet hosting chat area after which filters the pending message blogs in the neighborhood user.
Associate an add-in with a cam room
Before your own add-in is unwrapped in a speak window, you ought to subscribe the add-in together with the Lync machine 2013. The add-in is open for the chronic cam room windows whenever a person double-clicks a persistent talk place through the communications checklist. You could enroll a persistent talk space simply by using a server-side instrument such as the Group Chat government device. For information about associating an add-in with a chat place utilising the Microsoft Lync Server 2013 chronic Chat SDK, see ChatRoomManagementServices.BeginUpdateChatRoom.
You will want to link your brand new add-in with a private speak place in order to experiment the add-in. Whenever your add-in is prepared for public incorporate, connect they with a public cam space.
A personal cam space is just noticeable to its users. Therefore the personal chat area cannot be discovered simply by using a chat area question to find a chat space.
Creating a Silverlight add-in
Need Microsoft Visual business to produce the perfect solution is and task documents when it comes down to add-in. It is possible to open the clear answer in Microsoft phrase internet if you would like generate an increased user experience.
Generate a Silverlight add-in
Choose the Lync Silverlight software theme in the centre pane regarding the New venture dialog. This theme populates the records folder making https://besthookupwebsites.net/ use of the construction that contains the namespace you employ to obtain chat area properties.
The solution document is currently willing to update. The MainPage.xaml document declares a person control that nests a grid, heap panel, while the PresenceIndicator controls. This regulation is in the pile board to show you the way to embed Lync Controls within Silverlight software.
Having the hosting chat place
The internet chat place could be the access point to any or all Lync features that you can code in an add-in. To obtain the room, phone the LyncClient.GetHostingRoom strategy. The best place to get the internet cam space is within the add-in constructor.
To have the internet hosting talk room
Register for the Room.IsSendingMessage event so you’re able to get and filter messages before they are published by regional individual.
Sign up for the Room.Messagesgot occasion to help you capture brand-new communications when they tend to be uploaded to the web hosting talk place.
Laws sample: Chat room information filtration
This amazing example utilizes XAML to declare the add-in UI. The controls incorporate an admission area your individual types a filter string into, and book blocks that demonstrate the original information blog post plus the post after the add-in provides reformatted they.
Here sample interacts with all the XAML user control over a Silverlight chat area add-in. Whenever the individual blogs an email on web hosting cam area, this add-in captures the content prior to it being posted. When the information provides the filtration string definitely inserted into the filter book field, the content article are canceled. If not, the message is actually uploaded on the place
Then tips
Now that you’ve produced a chat space add-in, understand how to make your add-in connect with the internet speak room.
Idea |
---|