Tuesday, July 30, 2013

Content of Model

Commands from AXUtil using command prompt:

List the elements of a model (AXUtil)

In command prompt under %ProgramFiles%\Microsoft Dynamics AX\60\ManagementUtilities
 
Use command:
axutil view /model:<modelname>
e.g.  axutil view /model:"ISV Model"

For finding all the element in model use /verbose in command.
e.g. axutil view /model:"ISV Model" /verbose

Deleting Model
axutil delete /model:"Model Name"
Note: Restarting AOS is required.

Validate that a model file contains data (AXUtil)

 axutil exists /model:<modelname>

Commands from Windows PowerShell

Navigation for PowerShell 
Start > All Programs > Administrative Tools> Microsoft Dynamics AX Management Shell
 

List the elements of a model:

(Get-AXModel -Model <Modelname>).Elements | Out-String


Validate that a model file contains data:

Test-AXModelData –Model <ModelName> -Verbose
 
 
Happy Reading :)

No comments:

Post a Comment