简体   繁体   English

如何从 Azure web 应用程序启动 Office 产品

[英]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.

相关问题 为什么不能从Web服务启动WinForms应用程序 - Why can't I launch WinForms application from a Web Service 如何从网页启动Windows应用程序? - How can I launch a windows application from a webpage? 如何从.NET应用程序启动默认媒体播放器? - How can I launch the default media player from a .NET application? 从Azure应用程序读取Office Excel文件 - Read office Excel files from Azure application 如何从应用程序级别使用Azure中的服务配置? - How can I use service configuration in Azure from application level? 如何在UWP应用中以最小化模式从外部Web浏览器启动URI? - How can I launch URI from external web browser in minimized mode in UWP app? 如何使用已安装的Office版本在WinForms应用程序中查看Microsoft Office文档? - How can I view Microsoft Office documents in a WinForms application using the installed version of Office? 如何从我的应用程序在用户默认浏览器中启动URL? - How can I launch a URL in the users default browser from my application? 如何使用C#控制台应用程序中的参数启动本地VBScript? - How can I launch a local VBScript with arguments from a C# console application? 我无法从我的 UWP 应用程序启动 a.exe - I can't launch a .exe from my UWP application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM