Discover ways to generate a cam space add-in that presents Microsoft Unified marketing and sales communications Managed API (UCMA) bot information and filters a local user’s communications before they truly are submitted into talk area.
Prerequisites Associate an add-in with a talk space promoting a Silverlight add-in Acquiring the web hosting speak place After that steps further means
Center concepts knowing
Read about the Microsoft Lync 2013 Persistent speak room add-in function through circumstances where add-in is used while the tuition and techniques that are regularly produce an add-in.
Discover developing a Persistent speak room add-in that shows communications that a UCMA bot enjoys uploaded into the hosting cam place then filters the pending content blogs from the local consumer.
Connect an add-in with a chat area
Before your own add-in is open in a chat screen, you will need to subscribe the add-in utilizing the Lync Server 2013. The add-in is actually launched during the chronic chat room screen when a person double-clicks a persistent cam space from the contact number. You can also register a persistent cam room with a server-side software such as the people Chat management Tool. For information about associating an add-in with a chat place making use of the Microsoft Lync servers 2013 chronic Chat SDK, read ChatRoomManagementServices.BeginUpdateChatRoom.
You should connect your add-in with a private talk area to be able to taste the add-in. Whenever your add-in is prepared for public need, connect it with a public speak room.
A private chat room is just noticeable to the people. This means the private cam room can not be discover through the use of a chat area question to find a chat place.
Generating a Silverlight add-in
Use Microsoft Visual facility generate a better solution and job records for your add-in. You can easily start the answer in Microsoft Expression online if you would like write an enhanced consumer experience.
To produce a Silverlight add-in
Find the Lync Silverlight program theme in the centre pane for the brand-new job dialogue. This template populates the references folder using set up that contains the namespace make use of to have cam area services.
The answer file is currently willing to update. The MainPage.xaml file declares a person controls that nests a grid, heap section, together with PresenceIndicator regulation. This regulation is in the pile section to demonstrate you the way to embed Lync handles in your Silverlight program.
Having the internet cam space
The internet cam space may be the access point to all the Lync usability that you can code in an add-in. To obtain the place, call the LyncClient.GetHostingRoom technique. Where to obtain the hosting speak area is within the add-in constructor.
To have the internet talk area
Register for the Room.IsSendingMessage celebration to help you find and filter communications before these are generally posted from the regional consumer.
Rule example: Chat room information filtration
Here sample makes use of XAML to declare the add-in UI. The controls consist of an entryway area that the consumer kinds a filter string into, and book blocks that demonstrate the first content article additionally the post after the add-in possess reformatted they.
This amazing sample interacts because of the XAML individual power over a Silverlight cam area add-in. When the user articles an email on the web hosting talk space, this add-in captures the content before it is posted. When the content offers the filtration string which joined from inside the filter book container, the content article was canceled. Otherwise, the message is uploaded towards area
Now that you have developed a chat place add-in, discover how to make their add-in communicate with the internet talk room.