启动与特定主题的Lync对话 [英] Initiate Lync conversation with specific subject

查看:77
本文介绍了启动与特定主题的Lync对话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


目前我参与了基于网络的文档管理项目。需要检索与任何特定文档相关的Lync IM对话历史记录。


因此团队决定使用会话主题作为过滤IM对话历史记录的关键。在大图中,如果用户A想要关于文档C聊天用户B,那么用户A应该点击web应用中的按钮,然后web应用将在他们之间启动Lync对话
并将对话主题设置为"Document" C的ID"。


现在的问题是,如何使用网络应用中的主题启动Lync会话?我没有运气试过Lync SDK。有一个错误" Microsoft.Lync.Model.ClientNotFoundException:
主机进程未运行
"当代码在Web应用程序中运行时。它在桌面应用程序中运行时运行良好。我已经对UCWA做了一些研究,遗憾的是,在Lync Server中需要配置一些先决条件来激活UCWA的
。所以我无法在我们的生产服务器上尝试http://ucwa.skype.com上提供的示例代码。我只是想确保在设置我的开发服务器(AD,Exchange,Lync等)之前可以通过UCWA完成这项工作,因为需要花费很多精力来设置


仅供参考,我们在这种情况下使用Lync 2013客户端,Exchange 2013,Lync服务器2013.

解决方案

如果您的目标是让用户按下网站上的按钮,并触发对话窗口在该用户Lync客户端中打开,那么您唯一真正的选择就是Lync SDK。 / p>

但是,你不应该在网络应用程序中使用它,因为这对最终用户Lync客户端没有影响。


你这里有两个真正的选择。 


首先是利用Silverlight并放置一个可以启动对话并设置主题的按钮。


其次是开发基于Lync的SDK安装在每台用户计算机上的应用程序,并且是 由您定义的自定义协议启动,在应用程序中,它可以创建对话并设置主题。 然后,您可以使用您定义的客户协议在您的网站上创建链接


Hi,

currently i involve in web based document management project. There's a requirement to retrieve the Lync IM conversation history that is related with any specific document.

so the team is decided to use conversation subject as the key to filter the IM conversation history. in big picture, if user A want to chat user B about document C, then user A should click a button in web app, then web app will launch the Lync conversation between them and set the conversation subject with "Document C's ID".

now the problem is, how to launch the Lync conversation with subject from the web app? i have tried the Lync SDK with no luck. there's an error "Microsoft.Lync.Model.ClientNotFoundException: The host process is not running" when the codes run in web app. its running well while its running in desktop app. i have done some research about UCWA, unfortunately there are some prerequisites need to be configured in Lync Server to activate the UCWA. so i can't try the sample codes that is available on http://ucwa.skype.com in our production server. i just want to ensure this can be done by UCWA before i setup my development servers (AD, Exchange, Lync etc) since it take a lot of efforts to setup the whole things.

FYI, we use Lync 2013 client, exchange 2013, Lync server 2013 for this case.

解决方案

If your goal is to have the user press a button in the website, and trigger the conversation window to open in that users Lync client, then your only real option is the Lync SDK.

You shouldn't be utilizing it inside of the web app, however, as that will have no effect on the end users Lync client.

You would have two real options here. 

First is to utilize Silverlight and place a button which can launch the conversation and set the subject.

Second would be to develop a Lync SDK based application which gets installed on each users machine, and is  launched by a custom protocol you define, and in the app it can create the conversation and set the subject.  Then you can create links in your website using the customer protocol you have defined.


这篇关于启动与特定主题的Lync对话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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