In D365FO, not only deploying the SSRS Reports through Visual studio -> Solution explorer, there are 3 other ways to deploy through power shell.
Open Windows PowerShell in Administrator mode and execute the below commands as per requirement.
1. For deploying all SSRS reports
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
2. For deploying the specific report
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName <ReportName> -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
(Replace <ReportName> with required report name such as ABC.Report)
Example:
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName ABC.Report -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
3. For deploying all the reports in specific model
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName <ReportName> -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
(Replace <ReportName> with Tax* or *tax* - This will deploy all the reports starting with 'Tax_' or all the reports containing '_tax_' in report name)
Example:
K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName *tax* -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”
Let us know if it works. Help others :)
0 Comments
Post a Comment