web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to modify model metadata

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Joris dG Profile Picture
    17,775 on at

    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

  • Community Member Profile Picture
    on at

    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.

  • Joris dG Profile Picture
    17,775 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans