Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Remove objects from a model before exporting the model

(0) ShareShare
ReportReport
Posted on by

Hi, I have some questions about what is the best way to move custom development between anvironments, currently we are implementing the process sugested by microsoft, it is:

From DEV to TEST: XPO

From TEST to UAT: Model

From UAT to staging and PRD: model store

but now we are having some issue, when we detect an issue on UAT and we decide to publidh the code with out some components, we are not sure what is the best process to remove these objects/developments/customizatins from am specific model.

So the question is, if you know how to manages this scenarious when in a evironment N you need to move part of the development to environment N +1.

Thanks.

  • Community Member Profile Picture
    on at
    RE: Remove objects from a model before exporting the model

    Good point, I will check the documentation about how to implement version control on Dynamic AX.

    Thanks.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Remove objects from a model before exporting the model

    Hi Nicolaos,

    OK, I understand, another question.

    As an example, if we have 3 development or fixes, and each development has been developed on an TFS project that will be exported as a XPO, and then, I create one temporal model for each developmet on the next environmet, and if the testing was OK, this temporal model is approved to be imported on the next environment on another temporal model.

    so, if I detect an issue in one development, I could only export the resto of the temral model to the next envirnoment.

    I will have an extra activity to remove these tempral models, when I no longer need them.

    I probably I could have an issue with objects that are shared between more than one XPO.

    What do you think about it?

  • Suggested answer
    nmaenpaa Profile Picture
    101,156 Moderator on at
    RE: Remove objects from a model before exporting the model

    If you use TFS, do you have separate Dev and Main branches? Development happens in Dev branch, and customer deployments are done from Main branch?

    If yes, you can simply undo the changesets from Main which you don't wish to deploy, and then create new deployment to your customer. But doing XPO delivery makes it more complicated. If you would do model delivery, based on your Main branch, it would be easy to handle your requirement.

  • Community Member Profile Picture
    on at
    RE: Remove objects from a model before exporting the model

    Hi Martin, we are using TFS.

  • Suggested answer
    nmaenpaa Profile Picture
    101,156 Moderator on at
    RE: Remove objects from a model before exporting the model

    If you find an issue in UAT, you need to deploy a new model where these customizations don't exist.

    So, you need to have such version in your TEST, where you don't have these components.

    If you use XPO delivery from DEV to TEST, and you can't delete objects via XPO, you need to delete the objects manually from TEST.

    Or deliver XPO from DEV, which contains code where these changes are commented out.

    Technically you can also just delete these objects in UAT, but that would not follow your own delivery process.

  • Martin Dráb Profile Picture
    231,927 Most Valuable Professional on at
    RE: Remove objects from a model before exporting the model

    Do you use Azure DevOps (or TFS) to version you code?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,927 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans