文档库保存并打开html文件而不是下载 [英] document library save and open html file instead download
问题描述
我有文件库,存储没有任何扩展名的文件,此文件包含以下代码
I have document library which stores files without any extension this file contain following code
< html>< ; HEAD>< SCRIPT language =" JavaScript"> window.location =" http://myportal/sites/marketing/_layouts/Application/FeedbackForm.aspx?RequestNo = 95503";< / SCRIPT>< / HEAD>< body>< / body>< / html>
<html><HEAD><SCRIPT language="JavaScript">window.location="http://myportal/sites/marketing/_layouts/Application/FeedbackForm.aspx?RequestNo=95503";</SCRIPT></HEAD><body></body></html>
当我点击文件名时,它会让我选择下载而不是在浏览器中打开文件。在Web应用程序上我已启用许可检查但仍未在浏览器中打开。同样在SP 2010中工作正常。
when i click file name it give me option to download instead open file in browser. on web application i have enable permissive check but still not opening in browser. Same is working fine in SP 2010.
请指出可能存在的问题以及解决方法。
pls guide what could be an issue and how to fix it.
Thx
iffi
推荐答案
请检查图书馆的高级设置。
Please check your library's advance settings.
这篇关于文档库保存并打开html文件而不是下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!