Showing posts with label ModelUtil commands in D365FO. Show all posts
Showing posts with label ModelUtil commands in D365FO. Show all posts

Sunday, December 1, 2019

Import and export model file in D365FO

In AX2012 we can import, export or delete the model files using axutil commands.

Like AX2012, we can Import, Export or delete the model files in D365FO using ModelUtil.exe command.

Open the command prompt window in Administrator mode

Navigate the following path

Navigate to the C:\AOSService\PackagesLocalDirectory\bin folder

Export model file

ModelUtil.exe -export -metadatastorepath=C:\AOSService\PackagesLocalDirectory -modelname="FleetManagement" -outputpath=c:\temp

Import model file

ModelUtil.exe -import -metadatastorepath=C:\AOSService\PackagesLocalDirectory -file="E:\Test\AppSuiteModernDesigns.axmodel"

Delete the model file

ModelUtil.exe -delete -metadatastorepath=C:\AOSService\PackagesLocalDirectory -modelname="FleetManagement"