Microsoft Teams Development 链接到桌面应用程序 [英] Microsoft Teams Development linking to desktop apps

查看:134
本文介绍了Microsoft Teams Development 链接到桌面应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Outlook、excel 和 Word 中,我创建了上下文菜单,当用户选择时,允许用户跳转到桌面应用程序(当然也传递上下文).现在这一切似乎都是老派,但想想 VSTO、Addins 甚至 vba.

In Outlook, excel and Word I’ve created context menus, which when chosen by the user, allows the user to jump to a desktop application (passing along the context of course as well). It all seems old school these days but think VSTO, Addins or even vba.

在 Teams 对话中是否可能出现这样的情况?

Is something like this possible from a Teams conversation?

编辑 - 示例:在 MS Team John 的对话中,向 Fred 键入一条消息嘿 Fred,请查看文件号 123456".现在,Fred 必须突出显示并复制此号码,打开桌面应用并粘贴该号码以搜索信息.

EDIT - Example: In a conversation in MS Team John types a message to Fred "Hey Fred please look at file number 123456." Now currently Fred has to highlight and copy this number, open a Desktop app and paste the number to search for the information.

如果 John 向 Fred 写了与 EMAIL 相同的消息,那么因为 Fred 安装了我的插件,插件会识别数字 123456,Fred 只需右键单击该数字并选择上下文菜单.(插件通过 WCF 连接向桌面应用程序发送消息)桌面应用程序弹出到前台并将文件显示给 Fred.

If John writes the same message as an EMAIL to Fred, then because Fred has my addin installed, the addin recognizes the number 123456 and Fred simply right clicks on the number and chooses a context menu. (The addin sends a message through a WCF connection to the Desktop app) The Desktop app springs up to the foreground and displays the file to Fred.

到目前为止,我没有阅读过 MS Teams,我只阅读和看到了有关 http 协议的内容,这很好,但我希望还有更多内容.

So far from my reading of MS Teams I only read and see things about the http protocol which is nice but I am hoping there is something more.

推荐答案

据我所知,使用 Teams 进行开发目前意味着仅限 Web 的插件/扩展程序或他们现在称之为的任何内容.开发人员无法与本机应用程序通信,甚至 Microsoft 仍在尝试将 Teams 中的文档链接到他们自己的桌面应用程序.

From what I can understand developing with Teams currently means web only addons/extension or whatever they call them now. Communication with native applications is not possible for developers, even Microsoft is still trying to link documents in Teams to their own desktop apps.

我从不想在 Teams 或 Office Online 中打开文档.一直想用原生桌面程序.如果有一个全局设置,这样文档总是在桌面应用程序中打开,那就太好了.(Microsoft Teams UserVoice 2017 年 12 月)

I never want to open the document in Teams, or in Office Online. I always want to use the native desktop program. Would be nice if there was a global setting so documents always opened in desktop applications. (Microsoft Teams UserVoice December 2017)

Microsoft Teams 似乎不支持目前可用于 Outlook、Word 或 Excel 的任何编码机会,因为根据上面的评论,这些是高级威胁防护阻止不安全协议".

It appears that Microsoft Teams does not support any of the coding opportunities currently available for Outlook, Word or Excel as according to the comments above these are "Advanced Threat Protection blocks unsafe protocols".

可悲的是,仅限网络的插件/扩展程序以及有效集中上传它们的要求使在企业环境中工作的人们变得非常困难一个 IT 部门,他创建了太多繁文缛节,以至于您的某项申请以负面结果告终.人们可以编写代码供少数人在组织中使用的日子已经一去不复返了.

Sadly web only addons/extension and the requirement for them to be centrally uploaded effectively makes things very difficult for people working within a corporate environment where there is an IT department who creates so much red tape that your application for something ends with a negative result. Gone are the days where people can code up something for a few people to use in their organization.

如果您是通过 Google 搜索来到这里的,我的建议是创建一个带有本机的浏览器扩展主持人.您可以使用 Teams 用户界面做任何您想做的事情,并且通过本机主机将信息发送到您的桌面应用程序.这不适用于 Microsoft Teams 应用程序,但由于此应用程序只是窗口中的网站,因此人们可能只会使用浏览器.

If you have landed here from a Google Search my suggestion would be to create a browser extension with a native host. You can do whatever it is you want with the Teams user interface and send the information through the native host to your desktop applications. This will not work with the Microsoft Teams App, however as this app is simply the website in a window it is possible that people will just use a browser anyway.

这篇关于Microsoft Teams Development 链接到桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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