01 December 2013

how to deploy ssrs reports in ax 2012 by using management shell

1.Type the following command to deploy the report. For example, let's deploy
the CustTransList report:
Publish-AXReport -ReportName CustTransList

2.To deploy multiple reports using PowerShell, we can use the following command:

Publish-AXReport -ReportName Sales, SalesAnalysis

3.To deploy all the reports using PowerShell, we can use the following command:
Publish-AXReport –ReportName *

4.To deploy reports to a different Report Server, we can use the following command:
Publish-AXReport – ReportName -ServiceAOSName
-ServicesAOSWSDLPort

===================================

1) Open Windows Powershell as Administrator
2) Type the below command :-

To Deploy specific report:
C:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName PurchPurchaseOrder* -PackageInstallLocation "C:\AosService\PackagesLocalDirectory"
To Deploy all Reports:
 c:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation "c:\AosService\PackagesLocalDirectory"


No comments:

Post a Comment

Give me the commetns and solutions

How to add the Display method in the form level in D365 F&O

 The below examle is to add the form -Data source level adding display method and assigning to form design control.