Visit our Focus Rooms Evaluation of Implementation Proposals by Dynamics AX R&D Solution Architecture & Industry Experts Gain further insights on Dynamics AX Industry Solution Offerings Resolution Guidance on Solution Roadblocks Networking Focus Topic Highlight Business Intelligence Tuesday 2.15pm – 5.45pm Risso 6C Risso 8A Risso 7B Risso 7A Risso 6C Risso 6A/B
DISCLAIMER ©2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. Other names and brands may be claimed as the property of others. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. All pre-release product release dates and features specified are preliminary based on current expectations, and are subject to change without notice. Microsoft may make changes to specifications and product descriptions at any time, without notice. Sample code included in this presentation is made available AS IS. THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS PRESENTATION. Microsoft products are not intended for use in medical, life saving, or life sustaining applications.
NICE,FRANCE LEARN | INSPIRE | INNOVATE TECHNICAL CONFERENCE 2011
REPORT DEPLOYMENT & MANAGEMENT TJ VASSAR SESSION CODE : BRK 206 SENIOR PROGRAM MANAGER MICROSOFT CORPORATION
Today we will show you… Deployment is FAST, SCRIPTABLE, and designed for REMOTE ACCESS How to perform common report deployment tasks using command scripts Tips & Tricks
Components in action today
Reporting – Application Management Lifecycle INTEGRATIONPRODUCTION PreviewEvaluate DesignTestDevelop Publish DEVELOPMENT DEV INT PROD
Pains and challenges Tim – Systems implementer/IT Staff 1. Wants scriptable control 2. Responsible for multi-server management 3. Requires remote deployment 4. Overwhelmed by non-standard tooling
What Did We Do in This Release? Moved to Windows PowerShell as the basis for report deployment Developed AX PowerShell commands to perform common report deployment tasks Report deployment is fast, scriptable, and provides remote access
Supported Network Topologies – Single Instance
Supported Network Topologies – Multiple Instance
Unsupported Network Topology – Shared Instance UNSUPPORTED
AX Client / Reporting Configuration
AX Client / Reporting Configuration (cont.)
demo AX Client/Report Server Configuration
Deployment Experience Application AX Client / AOTVisual Studio 2010 / Solution Explorer AX Management Shell (PowerShell) / AX Cmdlets Action Right-click on node in SSRS Reports, Select Deploy Element Right-click on Project or Solution, Select Deploy PS> Publish-AxReport –ReportName AssetBarcode
demo Configuration and Deployment using PowerShell
Setting the PowerShell Execution Policy *Start PowerShell as Administrator PS> Set-ExecutionPolicy Unrestricted -Force
Launching the AX Management Shell *Set the Execution Policy to Unrestricted First
AX PowerShell Modules PS> Get-Module
PowerShell Explorer Shortcut PS> & "C:\Program Files\Microsoft Dynamics AX\6.0\ManagementUtilities\Microsoft.Dynamics.ManagementUtilities.ps1"
Finding AX PowerShell Commands PS> Get-Command –Module Microsoft.Dynamics*
Deploying a Single Report PS> Publish-AXReport.-ReportName AssetBarcode
Deploying a Single Report (cont.)
Getting all the reports PS> Get-AXReport –ReportName * First time this runs it can take seconds TIP: Capture the output at first, then reuse that variable later – PS> $reports = Get-AXReport –ReportName *
Listing Report Names PS> $reports | Select-Object Name
Listing Report Names, Changed Date $reports | Select-Object Name, ChangedDate
Getting the First 10 Reports $reports | Select-Object Name, ChangedDate -First 10
Reports that have been modified on a certain date $day1 = Get-Date 11/14/2011 $reports | Select-Object Name, ChangedDate | Where { $_.ChangedDate -gt $day1 }
Deploying multiple reports PS> Publish-AXReport –ReportName * PS> Publish-AXReport –ReportName OpenInvoicesList, EmployeeDetail
Deploying reports that have changed after a certain date THE HARD WAY (USEFUL TO KNOW) – $reports = Get-AXReport –ReportName * – $targetdate = Get-Date 11/14/2011 – $reportinfo = $reports | Select-Object Name,ChangedDate – $changedreports = $reportinfo | Where { $_.ChangedDate -gt $targetdate} – $changedreportnames = $changedreports | foreach {$_.Name} – Publish-AXReport –ReportName $changedreportnames THE EASY WAY – Publish-AXReport –ReportName * -ModifiedAfter 11/14/2011
What we showed you today… SSRS deployment experience Deploying reports using the AX Client and Visual Studio Scriptable deployment using PowerShell
Related sessions BRK207 – Developing advanced reports to meet your business needs BRK208 – Implementing a BI solution Microsoft Dynamics AX 2012 Role Centers and Cubes BRK209 – The right tools for the job. Understanding Business Intelligence Options in Microsoft Dynamics AX 2012 CHK201 – Programming Models and Developer Tools CHK217 – SSRS Reporting Q&A
Q&A Questions?
Visit our Focus Rooms Evaluation of Implementation Proposals by Dynamics AX R&D Solution Architecture & Industry Experts Gain further insights on Dynamics AX Industry Solution Offerings Resolution Guidance on Solution Roadblocks Networking Focus Topic Highlight Business Intelligence Tuesday 2.15pm – 5.45pm Risso 6C Risso 8A Risso 7B Risso 7A Risso 6C Risso 6A/B
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows 7 and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.