Wednesday, May 6, 2015

Export list of model elements to Excel - Ax 2012

Hello Guys..!

Here I'm sharing code for export list of model elements to excel .


Step 1: Open "Microsoft Dynamics Ax management shell" from Administrator Tools.

Step 2 : paste the below code

(Get-AXModel -Model 'VAR Model' -Details).Elements | select path, elementtype | `
Export-Csv -NoTypeInformation -Delimiter ';' c:\varmodel.csv


Note : In this example I'm exporting VAR Model.
          Go to c:\varmodel.csv


That's it


@Rahul Talasila

No comments:

Post a Comment

Power Automate vs Azure Logic Apps vs Azure Data Factory: What They Are, When to Use Them, and How to Integrate Non-Microsoft Systems

  In today’s cloud-first, API-driven enterprise landscape, automation and integration have become vital pillars of operational agility. Micr...