SharePoint 2013 BI之report service 常用功能 连接到SharePoint List 数据源
2013-11-01 22:06
513 查看
本文讲述SharePoint 2013 BI之report service 常用功能 连接到SharePoint List 数据源。
笔者参考http://technet.microsoft.com/en-us/library/ee633650.aspx 尝试在report 中连接SharePoint List 数据源,但是发现该文档里面有明显的三处错误,也不知道微软的发布这个文档的时候是怎么测试的,为避免更多的用report service的同学遇到这种问题,特写一篇博文说明下我实践的步聚。
准备工作:配置report service 和创建报表的基本步聚请参考 《SharePoint
2013 BI 之 report service 实例》
1. 在report 站点中新建一个List 列表用于测试,命名为 ListDataSource
2. 加入一个测试列和输入两三行测试数据
3. 新建report project
4. 新建数据源,连接字符串为 http://YourMoss2013Server/report, 认证方式为windows 集成验证,数据源命名为ListDataSource
5. 新建data set,查询语句为,data set 命名为 ListDataSet
注意微软的帮助文档里面就是这个Query text有三处错误
错误a:标签listName应该为ListName, 首字母没有大写,如果这样是死活也查询不出来的, 报标签 listName无效的错
b. 标签viewFields应该为ViewFields, 首字母同样没有大写,如果这样是死活也查询不出来的,报标签viewFields无效的错
c. IsNotNull 字句不需要type,这个报的错比较想不到
最外层报错为:Value does not fall within the expected range
log里面报错为:
Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset ''. ---> System.ArgumentException: Value does not fall
within the expected range.
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2
6.新建报表并选择 ListDataSet作为数据集
7.发布报表并查看结果
笔者参考http://technet.microsoft.com/en-us/library/ee633650.aspx 尝试在report 中连接SharePoint List 数据源,但是发现该文档里面有明显的三处错误,也不知道微软的发布这个文档的时候是怎么测试的,为避免更多的用report service的同学遇到这种问题,特写一篇博文说明下我实践的步聚。
准备工作:配置report service 和创建报表的基本步聚请参考 《SharePoint
2013 BI 之 report service 实例》
1. 在report 站点中新建一个List 列表用于测试,命名为 ListDataSource
2. 加入一个测试列和输入两三行测试数据
3. 新建report project
4. 新建数据源,连接字符串为 http://YourMoss2013Server/report, 认证方式为windows 集成验证,数据源命名为ListDataSource
5. 新建data set,查询语句为,data set 命名为 ListDataSet
<RSSharePointList> <ListName>ListDataSource</ListName> <ViewFields> <FieldRef Name="ID"/> <FieldRef Name="Title"/> <FieldRef Name="SalesAmount"/> </ViewFields> <Query> <Where> <IsNotNull> <FieldRef Name="Title"/> </IsNotNull> </Where> </Query> </RSSharePointList>
注意微软的帮助文档里面就是这个Query text有三处错误
错误a:标签listName应该为ListName, 首字母没有大写,如果这样是死活也查询不出来的, 报标签 listName无效的错
b. 标签viewFields应该为ViewFields, 首字母同样没有大写,如果这样是死活也查询不出来的,报标签viewFields无效的错
c. IsNotNull 字句不需要type,这个报的错比较想不到
最外层报错为:Value does not fall within the expected range
log里面报错为:
Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset ''. ---> System.ArgumentException: Value does not fall
within the expected range.
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2
6.新建报表并选择 ListDataSet作为数据集
7.发布报表并查看结果
相关文章推荐
- SharePoint 2013 BI之report service 常用功能 report part
- SharePoint 2013 BI之report service 常用功能 snapshot & cache
- SharePoint 2013 BI之report service 常用功能 report data alerts 和 subscriptions
- SharePoint 2013 BI--Power Query for SharePoint
- C# 对sharepoint 列表的一些基本操作,包括添加/删除/查询/上传文件给sharepoint list添加数据
- C# 对sharepoint 列表的一些基本操作,包括添加/删除/查询/上传文件给sharepoint list添加数据
- C# 对sharepoint 列表的一些基本操作,包括添加/删除/查询/上传文件给sharepoint list添加数据
- C# 对sharepoint 列表的一些基本操作,包括添加/删除/查询/上传文件给sharepoint list添加数据
- [SharePoint 2010] 初识SharePoint BI -- PerformancePoint Service
- 转:C# 对sharepoint 列表的一些基本操作,包括添加/删除/查询/上传文件给sharepoint list添加数据
- [SharePoint 2013] Subscribe report within SharePoint mode
- C# 对sharepoint 列表的一些基本操作,包括添加/删除/查询/上传文件给sharepoint list添加数据
- sharepoint 2013 未能加载类型"Microsoft.AnalysisServices.SharePoint.Integration.ReportGalleryView"
- SharePoint 2013: Knockout JS + Rest Service展示List数据
- C# 对sharepoint 列表的一些基本操作,包括添加/删除/查询/上传文件给sharepoint list添加数据
- 解决SharePoint 2013 连接Sqlserver BI (Excel service)的一系列问题
- sharepoint 2013 PowerPivot for SharePoint 2013 刷新数据时报错
- C# 对sharepoint 列表的一些基本操作,包括添加/删除/查询/上传文件给sharepoint list添加数据
- C# 对sharepoint 列表的一些基本操作,包括添加/删除/查询/上传文件给sharepoint list添加数据
- 用SharePoint Designer 创建Business Data Connectivity Service进行外部数据的连接