office-communicator

Add MS Office communicator presence indicator into JSP

混江龙づ霸主 提交于 2019-12-03 15:43:37
I want to add MS Office communicator presence indicator into my Java Application(jsp). If you're targeting the windows platform, the simplest way is to do everything client-side. As long as the clients are running IE, Office 2003 or above, and Communicator 2007 or above, you can use the NameCtrl ActiveX object that gets distributed with Office. The following code should get you started: <script> var sipUri = "your.contact@your.domain.com"; var nameCtrl = new ActiveXObject('Name.NameCtrl.1'); if (nameCtrl.PresenceEnabled) { nameCtrl.OnStatusChange = onStatusChange; nameCtrl.GetStatus(sipUri, "1

MyGroups not implemented in Communicator.UIAutomation

隐身守侯 提交于 2019-12-02 10:34:14
I'm working on a out of browser Silverlight app that provides some MS Office Communicator 2007 controls. I'm using the Automation SDK . The docs that were installed with the SDK state that there's a MyGroups property in the IMessenger2 interface, which will return the groups that a user has defined, but when I try to use it, I get a NotImplementedException . Here's the code that I'm using: dynamic communicator = AutomationFactory.CreateObject("Communicator.UIAutomation"); communicator.AutoSignin(); foreach (dynamic g in communicator.MyGroups) { //Do something with the group } If I replace