AX model information

Get list of models in a Model Store

Microsoft Dynamics AX 2012 Management  Shell
Get-AXModel -Layer <LayerName>
AXUtil
axutil list /layer:<layername> 
axutil list /s:"SqlServerName" /db:"SqlDataBase_model"

View the contents of a model manifest

Microsoft Dynamics AX 2012 Management  Shell

Get-AXModelManifest -File <Filename.axmodel>
Get-AXModelManifest -Model <Modelname> -XML
AXUtil
axutil manifest /file:<filename>
axutil manifest /model:<modelname> /xml

Change model manifest property

Microsoft Dynamics AX 2012 Management  Shell
Edit-AXModelManifest -Model <Modelname> -ManifestProperty "Propertyname = Value"
AXUtil
axutil edit /model:<modelname> /manifest:PropertyName=Value

Get list of all objects in a model

Microsoft Dynamics AX 2012 Management  Shell

$elements = (Get-AXModel -File "Path model file" -Details).Elements
$elements | Export-CSV "modelContent.csv" -NoTypeInformation

$elements = (Get-AXModel -Model <modelname> -Details).Elements
$elements | Export-CSV "modelContent.csv" -NoTypeInformation

AXUtil

axutil view /model:<modelname> /verbose
axutil view /file:<filename> /verbose


 

Search

About

DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.

Authors are allowed to set their own AdSense units.
Join us.

Blog Tags