March 21, 2022

Useful commands to manage models

Export model -


ModelUtil.exe –export –metadatastorepath= packages path  –modelname="ur model name" –outputpath="where the model is to be saved"


Example : ModelUtil.exe –export –metadatastorepath=K:\AosService\PackagesLocalDirectory –modelname="Model1" –outputpath="D:\BackupModel"



Import model -

ModelUtil.exe -import -metadatastorepath=packages path -file="path where u want to save with model name"

example : ModelUtil.exe -import -metadatastorepath=K:\AosService\PackagesLocalDirectory -file="C:\TheAxapta\Dev_To move\Model1.axmodel"



Delete -

ModelUtil.exe -delete -metadatastorepath=package path  –modelname="name of ur model to delete"

example : ModelUtil.exe -delete -metadatastorepath=C:\AOSService\PackagesLocalDirectory –modelname=Model1

-Harry Follow us on Facebook to keep in rhythm with us.