I created few models to accomodate my custom logic. When created I have assigne them a version 1.0.0.0.
I have deployed the solution to the customer's side and now I want to increase the version of the models to reflect the fact that this is a new generation of code.
how do i do that properly? the model management tool in the development ennvironment does not have a function to edith model metadata.
the entire solution is under source control and i can locate model metadata file in the repository, I'm pretty sure that it is not a trivial task of just changing the content of the file because it should be sinchronized withe the model store.
anyone has any ideas?
*This post is locked for comments
Ok, I see your point. However, changing it with the edit-axmodelmanifest or doing it in source control are both manual steps regardless.
I guess you are saying it would be clean if there was a way to do it from the client and check that back into source control, and I'd have to agree with you.
So conclusion is it can be done, but it's not as clean as it could be.
I would consider putting this in connect as a recommendation to Microsoft for a future release.
Yes you can edit the properties of the manifest using PowerShell or admin utility, however it is not working in conjunction with the source control. If you have your AX client closed you can alter properties of the manifest using Edit-AXModelManifest, you can confirm with Get-AXModelManifest that property is changed, but as soon as you start the AX client/development workspace it reverted everything to values in the source control. The only way to update it with the source control is to manually (outside the AX client) checkout model.xml file under respective model folder, edit it, check it in, start AX development environment and then use synchronize function under Version Control menu.
Sure, this does not look pretty, makes build control very manual and prone to errors.
The "metadata" as you describe is called the model manifest, and it can be changed using the command line utilities.
There is a technet article about how to do this: technet.microsoft.com/.../hh433512.aspx
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156