在SQL Server Business Intelligence Development Studio中编辑Dynamcis CRM中的Report

使用Dynamics CRM的Report Wizard可以创建或者修改Reprot,但是其功能非常有限,如果我们想更好的控制Report,最好使用SSRS提供的SQL Server Business Intelligence Development Studio进行编辑和修改。

通常的需求是修改Report,像加入Logo到report中去等等,可以遵循下列步骤。

1. Download Report

    Editor Report窗口中Action ->Download Report

 

2. Modify

    在SQL Server Business Intelligence Development Studio打开Report,进行修改.

    在这里有两点需要注意下

    * 不要使用shared datasource,否则的话, publish report的话会出现这样的错误:

        Stack Trace Info: [NullReferenceException: Object reference not set to an instance of an object.]
             at Microsoft.Crm.Reporting.SRSReport.convertDataSource()

             .......

     * 将report的所有以CRM_开头的参数的Hidden和Internal都取消,否则可能会需要下面的错误。

       The report parameter 'CRM_URL' is read-only and cannot be modified

    

3. Publush Report

    new report, 

    Report type 选择existing file, file location中选择rdl文件,Categorization中选择合适的项

    如果有subreport的话,最好先上传parent report,这样在上传sub report的时候就可以选择parent report了。

 

posted @ 2011-11-22 10:28  蔡秋心  阅读(1135)  评论(0编辑  收藏  举报