SharePoint 2010 Excel Service 入门——在网页上显示Excel内容

Excel Services是SharePoint Office中的一个重要组件,也是其构成SharePoint BI的一个重要部分。提供基于Excel工作簿的服务器渲染能力和计算能力。由于所有渲染和计算在服务端完成,客户端只需要一个浏览器就能查看Excel Services的输出结果。SharePoint 2010中的Excel Service不当当显示Excel内容,还支持了Restful API。这里仅介绍显示Excel部分。

1. 新建文档库
(Site Actions -> More Options -> Library ->Document Library)

2. 在文档库中上传或发布(若发布到SharePoint时显示路径错误,可参考:([SharePoint 2010] Windows Server 2008开发SharePoint 2010——不能连接Office客户端)Excel文件,Excel的内容如下

3. 上传后,设置文档库浏览方式为浏览器打开
(Library -> Library Settings -> Advanced Settings -> Opening Documents in the Browser -> Open in the Browser)

此时试着打开此文件

4. 设置可信任路径
打开Central Administration页面,打开Excel服务
(Central Administration -> System Settings -> Manage services on server)


设置可信任路劲
(Central Administration -> Application Management -> Manage service applications -> Excel Services Application)

(Trusted File Locations -> Add Trusted File Location)

5.查看结果,返回Excel文档库,这次Excel文件就可以在网页中打开了

 

 

来源:http://www.cnblogs.com/cyy2525/archive/2010/09/09/1822601.html

转载于:https://www.cnblogs.com/greeny/archive/2010/09/15/1827278.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值