There are two ways to publish a report for Microsoft Dynamics CRM 2011:
Publish a Report Using the Microsoft Dynamics CRM Web Application
Publish a Report Using the Microsoft Dynamics CRM Web Services
This topic contains information that applies to both methods.
In This Topic
Privileges for Publishing Reports
To publish a report of type Reporting Services Report, you must have the prvPublishRSReport and prvCreateReport privileges for the report entity. However, you do not need the prvPublishRSReport privilege to publish the other two types of reports: Other Report and Linked Report. The report type is specified in the Report.ReportTypeCode attribute.
If the report is associated with the related report categories (ReportCategory), report entity (ReportEntity), and report area (ReportVisibility) entities, you must also have the prvAppendReport and prvAppendToReport privileges for the report entity. By default, the System Administrator and System Customizer security roles have these privileges. For more information, see Report Entity Privileges and Privileges Not Associated with an Entity.
Ownership and Sharing for Reports
The reports can be organization-owned or user or team-owned. For more information, see Entity Ownership. If a report is organization-owned it is visible to the whole organization. If the report is user or team-owned, you can share the report with other users and teams.
You can change the ownership of a report as follows:
Use the IOrganizationService.Update method and set the Report.IsPersonal attribute to a desired value. For organization-owned reports, set the attribute value to false; for user-or team-owned reports, set it to true.
Use the MakeAvailableToOrganizationReportRequest and MakeUnavailableToOrganizationReportRequest messages
Changes in ownership cascade from a parent report to child reports. If you make a parent report organization-owned, all its children reports also become organization-owned. For more information, see Entity Relationship Behavior.
Link a Report to Another Report
The report can be self-contained or have child reports that provide more detailed information. The parent and the child reports have a parental relationship (see Entity Relationship Behavior). This means that all operations on the parent record are propagated to the child records (cascade all). However, in a delete operation, the child report is not deleted, but the link between the parent report and the child report is removed.
The child report must contain the information about the parent report ID. To specify the parent report ID, set the Report.ParentReportId attribute in the child report. The linking between the parent report and child report is performed when the child report is created or updated. The parent can have multiple child reports. You must publish a parent report before publishing its child reports. If you create a child report before you create a parent report, you have to update the child report with the parent report ID after the parent report is created.
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.