我和这个努力奋斗。

我想在页面上显示一个文档,能够看到我们通常的全局和当前导航项目。我们知道我们应该使用页面查看器Web部件。 问题: 在从我们想要显示的选项中选择“文件”时,Microsoft说:

“文件选择此选项以显示文件的内容。此选项还显示”链接“文本框下的”浏览“按钮。如果打开文件的应用程序,则该文件将在单独的浏览器窗口或Web部件内打开在浏览器窗口中支持该文件的内联激活。“

我们没有看到浏览按钮。

这篇文章似乎有一个类似的问题,但我们的差异是我们想要在SharePoint中存储文档并在不同的页面上显示它。 http://www.sharepointchick.com/archive/2007/11/29/displaying-a-file-or-a-folder-in-the-page-viewer.aspx

也,当我们输入链接时,我们得到红色错误文字说:

“文件名或路径对链接属性无效。检查拼写和语法,然后再次键入。” 我们确实安装了Office Web应用程序和功能,但在此实例中,它并不完全匹配我们的需求。

有帮助吗?

解决方案

The Browse button does not show for me either. If you enter a file reference in the Link box, you need to start it with the protocol handler file:// instead of http://, for example

file://YourServer/YourPath/YourSite/Shared%20Documents/Folder1/Test2.txt

If the file resides on a file share and not in SharePoint, you need:

file:/N:\Misc\Test2.pdf

where "N:" is a mapped drive, or

file://\\Server\folder1\folder\test2.pdf

For me this works for PDF and TXT files in the browser, DOCX and RTF open in Word.

许可以下: CC-BY-SA归因
scroll top