在Lync Client 2013的“呼叫侧栏”中添加自定义命令 [英] Adding Custom command in Call Sidebar in Lync Client 2013

查看:80
本文介绍了在Lync Client 2013的“呼叫侧栏”中添加自定义命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个Lync自定义命令,当用户右键单击联系人时会出现该命令。我的应用程序是电话集成。我希望在右键单击联系人时,我的选项会显示在"呼叫"侧面菜单中。有什么方法可以实现这个目标吗?



我使用以下注册表项来创建命令


< pre style ="padding:5px; word-wrap:normal; font-size:14px; line-height:20.0059986114502px; font-family:Consolas,Courier,monospace!important"> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft \ Office \15.0 \ Lync\SessionManager \Apps \ {3E0352E8-21F3-4E00-AA46-2ADA7085C9AD}]
" Name" =" My App"
" ApplicationType" = dword:00000000
" ApplicationInstallPath" =" C:\\ telephony.exe"
" Path" =" C:\\telephony.exe / userId =%user-id%/ contactId =%contact-id%"
" SessionType" = dword:00000000
" ExtensibleMenu" =" ConversationWindowRightClick; MainWindowRightClick"

解决方案

您可以在ExtensibleMenu选项中指定其他选项。



" MainWindowActions; MainWindowRightClick; ConversationWindowRightClick; ContactCardMenu; ConversationWindowActions"



我想你想要ConversationWindowActions但我们有商品它们将显示在IM和通话上,因此您可能必须根据您的会话的模态来处理稍有不同的代码。


I created a Lync custom command, that appears when user right click on the contact. My application is a telephony integration. I want my option to be appear in Call side menu when right clicking on the contact. Is there any way I can achieve this ?

I used the following registry keys to create my commands

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Lync\SessionManager\Apps\{3E0352E8-21F3-4E00-AA46-2ADA7085C9AD}]
"Name"="My App"
"ApplicationType"=dword:00000000
"ApplicationInstallPath"="C:\\telephony.exe"
"Path"="C:\\telephony.exe /userId=%user-id% /contactId=%contact-id%"
"SessionType"=dword:00000000
"ExtensibleMenu"="ConversationWindowRightClick;MainWindowRightClick"

解决方案

There are addition options you can specify in the ExtensibleMenu options.

"MainWindowActions;MainWindowRightClick;ConversationWindowRightClick;ContactCardMenu;ConversationWindowActions"

I think you want ConversationWindowActions but we ware they will show up on both IM and Calls, so you may have to handle the code behind a little different depending on the modalites your conversation has.


这篇关于在Lync Client 2013的“呼叫侧栏”中添加自定义命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆