Hi All,
Please explain the difference between Model store deployment and XPO deployment technically,
Regards,
Akbar
*This post is locked for comments
Thank you very much Martin for the great information.
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.
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156