我已经在Visual Studio中创建了一个自定义的Reporting Services报告,该报告旨在使用自动预滤波作为described here。通过CRM2016添加SSRS报告:预过滤不起作用?
所以,我已经建立了我的查询如下:
select fullname, createdbyname, createdon
from FilteredContact as CRMAF_FilteredContact
order by createdon desc
但是,一旦我添加基于报表的.rdl文件在CRM新的报告(如described under "Deploying the Report" here)它增加的报告很好,但两件事情:
1)本报告中的共享数据源是initally无效,双方CRM和SSRS拒绝与错误,以使其: "The report server cannot process the report or shared dataset. The shared data source 'MyOrg_MSCRM' for the report server or SharePoint site is not valid. Browse to the server or site and select a shared data source. (rsInvalidDataSourceReference)"
我必须手动从设置DataSource在SSRS到/MyOrg_MSCRM/CustomReports/MSCRM_DataSource
得到它的工作。
2)该报告不会出现在“上的所选记录运行”,但在“上的所有记录运行”,并且不执行任何预滤波。
另外,当我从SSRS下载.rdl时,它没有修改它,既没有添加额外的参数,也没有更改SQL查询。因为我会预期based on this information。
我会做什么错?
我在本地使用MS CRM 2016更新1(v8.1.0.359),在同一台机器上安装了SQL Server 2014 Reporting Services和SRS Data Connector。
我不知道那:)感谢加入到SO – jasonscript