SharePoint 2013-提示保存/取消CSV文件,而不是打开它们 [英] SharePoint 2013 - prompt to save/cancel CSV files rather than open them

查看:100
本文介绍了SharePoint 2013-提示保存/取消CSV文件,而不是打开它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在我们的SharePoint Server 2013服务器场中,将Web应用程序浏览器文件处理设置为严格".该业务要求能够从SharePoint库中打开.csv文件.

最初,当用户点击IE 11中的文件时,系统会提示他们保存/取消"仅,永远不要打开".因此,我进行了以下更改以允许打开文件:

在每个WFE上,制作DOCICON.XML的备份副本,然后编辑该文件以包括:

<映射键=" csv"值="icxltx.png"; OpenControl ="SharePoint.OpenDocuments"/(我还尝试了< Mapping Key ="csv" Value ="icxltx.png" OpenControl ="/")

在IIS中,将.csv文件的MIME类型从"application/octet-stream"更改为到"application/vnd.ms-excel"

Ran IISRESET

用户现在可以通过单击省略号按钮然后单击打开"来打开.csv文件.

当用户直接单击文档链接时,会提示他们以只读"方式打开.或编辑".如果他们选择只读,则下一个对话框仅提示保存"或取消".

我是否需要采取其他步骤以允许直接从文档链接打开.csv文件?

(注意:我没有对Web应用程序的.AllowedInlineDownloadedMimeTypes进行任何更改;可能需要包含一个mime类型吗?)

非常感谢您的帮助.

亲切的问候,

Kevin Worthington

解决方案

我尝试重现此问题.但是失败了.

我编辑了DOCICON.XML文件,更改了MIME类型并执行了IISRESET.之后,可以直接从SharePoint库打开.csv文件,而无需进行任何保存/取消"操作.

对于此问题,请尝试将网站添加到受信任区域并启用兼容性视图,然后选中如果可行.

最好的问候,

Linda Zhang


Hello all,

In our SharePoint 2013 farms, the web application browser file handling is set to 'strict'. The business has a requirement to be able open .csv files from SharePoint libraries.

Originally, when users clicked on the files in IE 11, they were prompted to "Save / Cancel" only, never to "Open". So I made these changes to allow the files to be opened:

On each WFE, made a backup copy of DOCICON.XML, then edited the file to include:

<Mapping Key="csv" Value="icxltx.png" OpenControl="SharePoint.OpenDocuments"/> (I also tried <Mapping Key="csv" Value="icxltx.png" OpenControl=""/> )

In IIS, changed the MIME Types for .csv files from "application/octet-stream" to "application/vnd.ms-excel"

Ran IISRESET

Users can now open .csv files if they click on the ellipsis button and then click "Open".

When users click directly on the document link, they get a prompt to open as "read only" or "edit". If they select read-only, then the next dialog prompts only to 'Save' or 'Cancel'.

Are there additional steps I need to take to allow the .csv file to open directly from the document link?

(Note: I didn't make any changes to the web application's .AllowedInlineDownloadedMimeTypes; possibly there's a mime type that needs to be included?)

Thank you very much for your help.

Kind regards,

Kevin Worthington

解决方案

Hi Kevin Worthington,

I tried to reproduce this issue. But it failed.

I edited DOCICON.XML file, changed MIME Types and performed an IISRESET. After that, the .csv file can open directly from the SharePoint library without any "Save/Cancel" promoted.

For this issue, please try to add the site to the trusted zone and enable Compatibility View, check if it works.

Best Regards,

Linda Zhang


这篇关于SharePoint 2013-提示保存/取消CSV文件,而不是打开它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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