Create model from xml

Hi

I am trying to create model from a xml file but i am getting error . Does any one have done it before

PS C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities> axutil create @MyModel.xml
At line:1 char:15

  • axutil create @MyModel.xml

The splatting operator ‘@’ cannot be used to reference variables in an expression. ‘@MyModel’ can be used only as an argument to a command. To reference variables in an expression use ‘$MyModel’.

  • CategoryInfo : ParserError: (:slight_smile: , ParentContainsErrorRecordException
  • FullyQualifiedErrorId : SplattingNotPermitted

PS C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities>

This command will work in the usual command prompt, but not in Powershell. In Powershell, use New-AXModel with -ManifestFile MyModel.xml.

Thanks Martin