[英]How can I launch a Office product from Azure web application
I've built a web application hosted in Azure and I need it to launch a Office application on the end users desktop when running a specific part of the process.我已经构建了一个托管在 Azure 中的 web 应用程序,我需要它在运行过程的特定部分时在最终用户桌面上启动 Office 应用程序。 The application I need to launch is MS Project Professional and I can do that without issue if I am running the site locally but I really need to make this work while the application is published and running in the cloud.我需要启动的应用程序是 MS Project Professional,如果我在本地运行站点,我可以毫无问题地做到这一点,但我确实需要在应用程序发布并在云中运行时完成这项工作。 I can post a code example if needed but I believe I need to add something to request the end user to allow access (just a guess).如果需要,我可以发布一个代码示例,但我相信我需要添加一些内容来请求最终用户允许访问(只是猜测)。 Note that the end user will always be an admin on the box they are working on.请注意,最终用户将始终是他们正在处理的机器上的管理员。 If anyone has any suggested approaches I would appreciate the insight.如果有人有任何建议的方法,我将不胜感激。 Again my application works fully if I am running it locally but I don't want to install it on a clients system I want to run it from the cloud.如果我在本地运行我的应用程序,但我不想将它安装在我想从云中运行它的客户端系统上,我的应用程序同样可以完全运行。
Thanks谢谢
You'll find Office URL schemas are documented here您会发现 Office URL 架构在此处记录
To launch Microsoft Project, set the href/link to ms-project:ofv|u|https://path-to-resource
for read only or ms-project:ofe|u|https://path-to-resource
for write access要启动 Microsoft Project,请将 href/link 设置为ms-project:ofv|u|https://path-to-resource
只读或ms-project:ofe|u|https://path-to-resource
写访问
I don't have Project, so I can't test these, but they do load for Word and Excel我没有项目,所以我无法测试这些,但它们确实为 Word 和 Excel 加载
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.