Import and Export models/Projects using Command Prompt

 Note :- Command prompt must be open in admin mode.

C:\AOSService\PackagesLocalDirectory\bin>(Common path) change model name accordingly

Run the below mentioned command to Import/Export models  

Import :- 

ModelUtil.exe -import -metadatastorepath=[path of the metadata store where model should be imported] -file=[full path of the file to import]

Ex:- 

C:\AOSService\PackagesLocalDirectory\bin>ModelUtil.exe -import -metadatastorepath=C:\AOSService\PackagesLocalDirectory -file=C:\Users\Administrator\Desktop\BASOFAMicroServices-BASOFA.axmodel

Export:- 

ModelUtil.exe -export -metadatastorepath=[path of the metadata store] -modelname=[name of the model to export] -outputpath=[path of the folder where the model file should be saved]

Ex :- 

C:\AOSService\PackagesLocalDirectory\bin>ModelUtil.exe -export -metadatastorepath=C:\AOSService\PackagesLocalDirectory -modelname="BASOFAMicroServices" -outputpath=C:\Users\Administrator\Desktop




Comments

Popular posts from this blog

how to post trade agreement journals automatically using x++ code

How to Create a wizard in x++ d365

x++ code to submit and approve and reject the invent movement workflow in d365 F&O