我已經在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