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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Model elements that I have managed to change in Foundation models - why? how? is this a problem?

(0) ShareShare
ReportReport
Posted on by 506

When I go to the Model elements form (Tools > Model Management > Model elements) I can see most of my developed elements tagged with the end-user model by filtering on the Model name and Modified by. There is a separate model used by the partner.

However, when I exclude only this end-user model I can also see related elements that have been modified but they are tagged as being in the 'Foundation' and 'Foundation (KB3199741)' models.

I thought this might be a problem so I tried to locate, for example, the root node of the form and apply the move to model into the end-user model. However, this did not change these elements' location. e.g. of type SecurityPersmissionSet, FormMethod, TableInstanceMethod

If I only export the end-user model to another environment will I be excluding changes that I seem to have made in the Foundation models? Or are these somehow not really a problem?

Should I only be concerned with (complete) model store exports/imports to test environment, or should I be considering specific model exports?

Slight aside here, but is it ok to do separate ('SEC') model lift-and-shifts for ad-hoc security changes into Production?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,684 Most Valuable Professional on at

    If you export and import your model, it includes all changes done in the model, even if they modify standard objects defined in other models (in other layers), such as Foundation. But they won't include changes done outside your model, such as application hotfixes installed on your development environment.

  • André Arnaud de Calavon Profile Picture
    305,643 Super User 2026 Season 1 on at

    HI _MGP,

    Can you provide some screenshots or tell your story in different words? Currently I'm not able to follow you. What is your real question?

  • _MGP Profile Picture
    506 on at

    Thanks Martin and Andre for your responses. Please consider my points below too.

    So as an example below I added an eventhandler on the insert method of AssetBook.

    The event handler object is in my model (as I expect) but there are 2 model elements listed as in the Foundation model but apparently modified by myself.

    How did I manage to update something in a different model especially when it is in a different layer? Are these done by AX in some automated way?

    Maybe I think too much on this process, but I want to be sure of

    (i) my modifications in my model and

    (ii) any modifications I made in different models,

    so that I can export/import a model knowing exactly what will happen.

    e.g. I have imported my model and a model from the partner into the same environment (this is maybe a contrived example but I just want to understand this for clarity).

    The partner has made changes and have Model elements in the form below which are in sys/Foundation. Then I export only my model for import to next environment.

    My question is, do I have to think about their sys/Foundation changes too, because they "modify standard objects defined in other models (in other layers)"?

    Or are these modifications bound to the correct models?

    model_2D00_elements_2D00_filtered.PNG

  • Verified answer
    Martin Dráb Profile Picture
    239,684 Most Valuable Professional on at

    The content of the model is what counts; I wouldn't pay any attention to the Modified by field.

    I've never looked at it before, because if I want to know what was done and by whom, I look into version control. I also never deliver code from development boxes, so if somebody had a corrupted modelstore database or something, it has no impact to the released application. I built the application from version control (by automated builds), so I always know exactly what changes are included and can review it at any point later (e.g. when somebody wants to know what exact code changes were delivered to production a week ago). I strongly recommend you adopt the some process, because it gives you much better traceability. If you just grab some code from a development environment, you can't ever be sure what you've got.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dserp Profile Picture

dserp 4

#2
dekion Profile Picture

dekion 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans