Hi,
Please refer to my earlier post to view the report SSRSPrecisionDesign related classes, tables and menu Item.
Custom Tables: SampleTable and SampleTrans
In this post, we will see the various approaches to deploy SSRS reports in D365FO
Approach 1: Report Deployment Thru Visual Studio
- Custom SSRS report can be deployed through the Visual Studio project. Right click on the required report and click on option "Deploy Reports"
- Launch the output window to see the status of deployment.
Approach 2: Reports Deployment in a given model thru Windows PowerShell script
- All SSRS reports within a given model can de deployed through Windows PowerShell script "DeployAllReportsToSsrs".
- This command is available in the Plugins folder underneath PackageLocalDirectory folder.In my case the path is C:\AOSService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask.
- Launch Windows PowerShell command as administrator and type in below command to deploy the reports in model "Daxology".
-
Command::Report Deployment
./DeployAllReportsToSsrs.ps1 -Module Daxology -PackageInstallLocation "C:\AosService\PackagesLocalDirectory"
Approach 3: Individual Report Deployment in a given model thru Windows PowerShell script
- Required SSRS report can also be deployed using "DeployAllReportsToSsrs" Windows PowerShell script. For demo purpose let us try to deploy SSRSPrecisionDesignReport in the model Daxology.
- Launch Windows PowerShell command as administrator.
-
Command:Report Deployment
./DeployAllReportsToSsrs.ps1 -Module Daxology -ReportName SSRSPrecisionDesignReport.Report -PackageInstallLocation "C:\AosService\PackagesLocalDirectory"
Approach 4: Reports Deployment following some name pattern in a given model thru Windows PowerShell script
- SSRS reports following a common name pattern can also be deployed using "DeployAllReportsToSsrs" Windows PowerShell script.
- For demo purpose let us try to deploy all Cust prefix reports in model ApplicationSuite
- Launch Windows PowerShell command as administrator
-
Command:Report Deployment
./DeployAllReportsToSsrs.ps1 -Module ApplicatoinSuite -ReportName Cust* -PackageInstallLocation "C:\AosService\PackagesLocalDirectory"
After deploying the report, please check the timestamp of the report to confirm the deployment in the Web Portal URL provided in Reporting Services Configuration Manager.
Regards,
Chaitanya Golla
*This post is locked for comments