定义 Sharepoint 2010 中的默认打开行为 +具有自定义 Web 部件的 Office Web Apps

发布于 2024-10-09 11:50:32 字数 242 浏览 0 评论 0原文

我正在使用 Office Web Apps 运行 Sharepoint 2010。默认情况下,任何 .doc、.ppt 等类型的文档都将在浏览器中从文档库中打开。这很好,但是我使用的 Web 部件会拉入 XML 提要,该提要显示搜索引擎结果列表,其中包含指向 Word 和 PPT 文档的 URL 链接。

我希望这些链接的行为方式与文档库中的行为方式相同(在浏览器中打开),但系统会提示用户下载这些文件。是否可以在 Sharepoint 中规定这种行为?

I am running Sharepoint 2010 with Office Web Apps. By default, any document of type .doc, .ppt, etc... will open within the browser from the document library. This is fine, however I am using a web part that is pulling in an XML feed that displays a search engine result list that contains URL links to Word and PPT documents.

I would like to have these links behave the same way as they do in the document library (open in browser), however the user is prompted to download these files instead. Is it possible to dictate this behavior in Sharepoint?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不…忘初心 2024-10-16 11:50:32

不幸的是,我认为除非文档托管在 SharePoint 中并且激活 Office Web 应用程序功能,否则这是不可能的。浏览器内的行为是通过此服务器端功能实现的。我假设您获得的搜索引擎派生链接通常不是 SharePoint 托管文档。

可以在浏览器中打开文档,但这是客户端设置,取决于客户端操作系统。您说您想从 SharePoint 控制它,但我想不出任何方法可以做到这一点。

Unfortunately I don't think this is possible unless the documents are hosted in SharePoint and the Office Web Applications feature is activated. The in-browser behaviour is made possible by this server-side feature. I assume that the search-engine derived links you are getting will not, in general, be SharePoint hosted documents.

It is possible to open documents in the browser, but this is a client setting and will depend on the client operating system. You say you want to control this from SharePoint, and I can't think of any way you can do this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文