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

Community site session details

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

Version control in AX 2012 R3

(3) ShareShare
ReportReport
Posted on by 1,275
Dear team,
 
Can we use version control in AX 2012 R3?
 
If yes, pls let me know how to install it and how it's worked. Because there is no concept of Azure DevOps.
 
Kindly advise pls.
 
Thanks in advance.
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    237,662 Most Valuable Professional on at
    Version control in AX 2012 R3
    You may want to check AX 2012 documentation, namely Version Control System. You can also find various blog posts or videos on the topic.
     
    As you see, version control is supported and you even have several systems to choose from. In practice, you'll choose either MorphX VCS or TFVC (Azure DevOps)
     
    MorhpX VCS is a very simple system storing versions directly in AX DB. While it doesn't support many more advanced features, it may be a good choice for you learn a bit about VCS. Just don't forget to think about the storage when doing operations like DB restore.
     
    TFVC is much more powerful, but it requires more knowledge and management. Also, Microsoft doesn't support sharing the same DEV box by several developers when using TFVC. Workarounds exist, though. If you want to learn more about Azure DevOps, you'll again find a plenty of information on internet.
  • CU05031448-0 Profile Picture
    1,275 on at
    Version control in AX 2012 R3
    Thanks for the reply.
     
    What I understood, TFS is the best approach for the Version control.
    So, we need to think few things like :
     
    1. To install TFS
    2. To configure TFS to use AX
    3. Needs to configure developer workspace 
    4. Add objects to the Version control 
    5. Check in
    6. Synchronise with Version control 
     
    Am I correct with above points?
     
    Kindly elaborate me point no.2 & 3
     
    Thanks in advance.
  • CU05031448-0 Profile Picture
    1,275 on at
    Version control in AX 2012 R3
    Can anyone reply on this pls.
     
    Thanks in advance.
  • André Arnaud de Calavon Profile Picture
    300,716 Super User 2025 Season 2 on at
    Version control in AX 2012 R3
    Hi,
     
    Martin shared a link about version control for Dynamics AX 2012. At the bottom of this page, you can find a link to this page: Version Control Setup for Microsoft Dynamics AX | Microsoft Learn. Then at the bottom, you will find 6 links. The 2nd and 3rd link will answer the question for your number 2 and 3.
  • Martin Dráb Profile Picture
    237,662 Most Valuable Professional on at
    Version control in AX 2012 R3
    Don't install TFS - use Azure DevOps instead.
     
    There is no configuration in TFS to use AX. AX users TFS (Azure DevOps), not the other way around. Check out the discussion in How to integrate my Microsoft Dynamics AX 2012 R3 with TFS?; it mentions a compatibility pack that you need to install and it gives you links to additional information on the topic.
     
    TFVC does need a workspace, but AX will create it automatically for you, after you configure VCS in AX (How to: Set Up Local Version Control Parameters (Developer)). 
  • CU05031448-0 Profile Picture
    1,275 on at
    Version control in AX 2012 R3
    Hi, I go through the below video 
     
     
    It's explained about MorphxVCS
     
    I well understood that.
     
    My question is 
     
    1. Can I do the same for my DEV environment.
     
    2. We need to do the same for EACH Dev environment?
     
    3. Suppose, we are two developers. And having two different dev environment. Like Dev One, Dev Two.
    How will get the latest code from Dev Two to Dev One.  If I do the "get latest" from Dev One, can I get the latest changes from  Dev Two?
     
    4. Whatever changes the done by the Dev Two, can I see it from Dev One with help of particular objects - History.
     
    Kindly advise please.
  • Martin Dráb Profile Picture
    237,662 Most Valuable Professional on at
    Version control in AX 2012 R3
    Yes, you could use MorphX VCS. I talked about it in the first reply.
     
    But if you have multiple DEV environments and use MorphX VCS, you'll have multiple independent source control repositories, which would be pretty useless. For example, the answer to your questions 3 and 4 is "no" - developers wouldn't see each other's changes.
     
    If you'll have a development environment per developer, use TFVC (Azure DevOps).
     
     
  • CU05031448-0 Profile Picture
    1,275 on at
    Version control in AX 2012 R3
    Thanks Martin,
     
    What I understood, if we used 

    MorphxVCS - It actually worked independently for the DEV environment. I mean to say it stored the information about my code changes only. Not the other developers changes.
     
    TFVC(Azure DevOps) - We can achieve here which is not possible through MorphxVCS.
     
    Am I correct?
     
    Kindly advise please.
  • Verified answer
    Martin Dráb Profile Picture
    237,662 Most Valuable Professional on at
    Version control in AX 2012 R3
    That MorhpX VCS stores versions in the database is explained in my first reply, both in the text and the documentation page I linked there. If you read it, you'd have known that "MorphX VCS is intended for one to ten developers who use a shared AOS". As I pointed out again in my last reply, having two environments means having two independent MorhpX VCS repositories. And I explained that you need TFVC (Azure DevOps) instead of MorhpX VCS is each developer will have his/her own DEV environment.
     
    It would be great if I didn't have to repeat all these things.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 724 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 619 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 400 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans