Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Difference between Model store deployment and XPO deployment

Posted on by

Hi All,

Please explain the difference between Model store deployment and XPO deployment technically,

Regards,

Akbar

*This post is locked for comments

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: Difference between Model store deployment and XPO deployment

    Thank you very much Martin for the great information.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: Difference between Model store deployment and XPO deployment

    When you transfer a modelstore from a test environment to producution, you're taking a complete application, therefore you're sure that you're delivering what you've tested.

    Importing .xpo files is an equivalent of writing code by hand, therefore it's not intended for deploying applications. You pick just some objects, therefore what you'll create in production may be something else than what you tested (e.g. because you delivered just some objects or because you didn't merge code in production correctly) and you start testing this new application only in production. It's risky and difficult to track.

    .xpo files don't even allow transferring some kind of changes. For example, if I delete a class, how can I deploy this change via XPO? I would have to delete the class manually from production. It matters, because if you keep such objects in production, nobody maintains them and they can cause compilation failures in production.

    Speaking of compilation, you don't have to waste time with compilation in production if you deploy a modelstore; it already contains compiled code. If you do development in production (manually or through .xpo), you must compile the whole application there and generate CIL.

    To import an .xpo to the right layer, you also need permissions to access the layer and none object may have changes in any higher layer. You don't have to care about these things with modelstore deployment; you simply installed the application.

    Make sure you read Deploying Customizations Across Microsoft Dynamics AX 2012 Environments; it'll give you some extra details.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans