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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Basics of TFS usage

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

Recently i am working in one project. They using TFS in AX 2012 R3. 1st time i am working on TFS.
Could you please let me know
1. AX Development Environment : Version Control : Synchronization
It's mandatory to  do sync before starting work in AX? If yes then what is the impact in application after sync.

2. If i need to work in existing standard object OR existing customized object.
It's mandatory to "Check Out" before any modification on this?

3. What is the concept of "Check Out" and "Check In" in TFS?

4. What is the advantage of TFS?

Please give me more shed on this.

Thanks!
Arpan Sen


 

 

 

 

 

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    The whitepapers and the MSDN documentations explains the use of Version Control very well.

    blogs.msdn.microsoft.com/.../tfs-integration-with-microsoft-dynamics-ax-2012-and-automated-scripts-for-build-and-deployment

    Current whitepaper link: technet.microsoft.com/.../jj713631.aspx

    Some additional links are in these posts: community.dynamics.com/.../159011

    Joris has some very comprehensive resource page around TFS: daxmusings.codecrib.com/.../alm-tfs.html

    We can talk for days about the advantages of using TFS, but essentially it is to track what individual developers are doing, distinguish code changes per a specific functional improvement or bugfix (User story/Task), track what has been changed by whom and when in dev/test/production (depending on how many repositories/branches you hook up), automate code builds based on changes etc.

  • Martin Dráb Profile Picture
    237,805 Most Valuable Professional on at

    If you don't synchronize AX in TFS at all, AX won't be aware of any code of TFS, which is like not using TFS at all. Then if somebody put changes to TFS, they won't magically appear in your AX (assuming that you have more than one environment); you have to synchronize them.

    You have to use Check out before working with an object that already exists in TFS. If it's not in TFS yet, you need Add.

  • @rp@n Profile Picture
    30 on at

    Thanks Martin,

    If the object is still not yet in TFS then how to add?

    Is like Object -- Add to Version control? 

    Example : Once NewConnectionWizard is added in to TFS.
    Class : NewConnectionWizard, then started work in to it right?

    In the EOD need "Check In" NewConnectionWizard.

    Next day if i need to work in to the same object then "Check Out" NewConnectionWizard.

    Note : Before starting work in AX , required Version Control - Sync.

    Please verify is't correct?

    Thanks!

    Arpan Sen

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    If you make changes to an existing object on a lower layer, or create a new one, you need to add it to VCS (Version Control System, in your case TFS).

    Once it is added, you can only make changes if it is checked out. You only should check it in if you want to make it available for other developers, or include it in the build to release it in another environment.

    I typically only allow a check-in of a new functionality once it is code complete, or if there are overlapping developments going on and need to test compatibility with each other in a Test environment.

  • @rp@n Profile Picture
    30 on at

    Thanks Vilmos

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans