- Put your .axmodel in temp folder
- Run the command prompt as administrator
- go to the Aosservice folder path:
- K:\AosService\PackagesLocalDirectory\Bin
- run the below exe file
- K:\AosService\PackagesLocalDirectory\Bin\modelutil.exe
- run the below command line to setup the model
- K:\AosService\PackagesLocalDirectory\Bin>modelutil.exe -import
- -metadatastorepath=K:\AosService\PackagesLocalDirectory -file=C:\Temp\ModelName.axmodel
- Make a full build and DB sync
- if dynacrane (specific) modules are not appear in client side application then you need to install license through command prompt
- https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/dev-tools/isv-licensing
- k:\AOSService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe --setupmode importlicensefile --metadatadir k:\AOSService\PackagesLocalDirectory --bindir k:\AOSService\PackagesLocalDirectory --sqlserver . --sqldatabase axdb --sqluser axdbadmin --sqlpwd e!Ch9U1*h*1=Nk --licensefilename "C:\JSR\BIS license\Business Integration Solution license for toincrease.onMicrosoft.com (toincrease.onMicrosoft.com).txt"
Import / Replace existing / Export models
Command prompt: Modelutil.exe path(i:\AosService\PackagesLocalDirectory\bin)
Export model---> modelutil.exe -export -metadatastorepath="K:\AosService\PackagesLocalDirectory" -modelname="DynaRentTransportation" -outputpath="C:\Users\Admina39abe02fd\Desktop\JSr\DynarentModelBkp_before_10.0.4.6"
Import model----> modelutil.exe -replace -metadatastorepath="K:\AosService\PackagesLocalDirectory" -file="C:\Temp\DynaRentModel\Dynarent_10046_25072019_Models\DynaRent-To-Increase B.V..axmodel"