Bojensen Blogs

Kategori: SQL Reporting Services

Ax 2012 Deploy reports through code « Shashi's Ax.Net Space

These lines deploys SSRS Reports with X++ Code – Remember not to run this code in CIL or you will get runtime error. SRSReportManager srsRptMgr = new SRSReportManager(); SSRSReportConceptNode node = new SSRSReportConceptNode(); node = TreeNode::findNode(@"SSRS ReportsReportsSalesInvoice"); srsRptMgr.deploymentStart(); srsRptMgr.deployReport(node); srsRptMgr.deploymentEnd();   Ax 2012 Deploy reports through code « Shashi’s Ax.Net Space