Improved TFS Version Control tools

All companies should be using some form of Version Control nowadays, as Microsoft is also pushing us in that direction with Dynamics 365 for Operations already. The frameworks in AX are mostly open, ready for improvement – and there is a lot of room for that. You can find below some of my improved TFS Version Control tools below. If you have additional tools or ideas, feel free to share it.

  1. XPO Import dialog

    A new Check out button has been added, so when trying to import an object from XPO that is already under VCS, you do not have to navigate to the AOT, but can directly access it from here.
  2. Version Control Pending objects

    The Version Control Changes > Contents list already had an Open new window button for the currently selected objects, but it was missing from the Pending objects list – which is more frequently used -, until now.
  3. Version Control Check-in dialog

    IDs are now sorted in a descending order to have the most recent tasks on the top.
    I am now hiding the TFS entries in a Closed state by default and can be shown by a checkbox.
    Developers are typically working on Tasks, which was opened from a User Story using the Agile methodology setup in VCS, and check-ins are done against Tasks, so now I am hiding User Stories by default.

Please find attached the Improved TFS Version Control tools.

DAXRunBase / 2017-05-20 / AX 2012, TFS / 0 Comments

TFS 2010 List of deleted AX XPO files

Recently our company had a need to create a clean TFS project for a new AX environment, and I have found out that there is no simple way of listing objects that were deleted from the repository. We had to make sure that these objects do not land in the new AX environment, so I had to figure out how to collect these objects.

I came across this blog post on how to use the Team Foundation Server API in .Net C#, which turned me in the right direction to be able to list the deleted XPO files:
http://blogs.microsoft.co.il/blogs/shair/archive/2011/08/03/tfs-api-part-39-show-deleted-items-in-source-control.aspx

(more…)

DAXRunBase / 2013-03-07 / TFS / 0 Comments

Team Foundation Server and AX labels

Today we will cover the topic of using labels with the Team Foundation Server (TFS) as our Microsoft Dynamics AX Version Control System (VCS).

If you set up a new environment from scratch and your repository is empty, you can import your existing ALD label files to AX and add it to VCS in 2 easy steps.

1) You may use the standard “ALDImport” startup command with the AX client and pass in your labels one by one, or use the following code to import all files from a specific folder with the help of .Net managed code:

(more…)

DAXRunBase / 2012-11-30 / TFS / 0 Comments

DAXRunBase 2012

Hi Friends!

Since Microsoft Dynamics AX 2012 is now booming, it is time to share some interesting features, problems and solutions for this exciting new product which is already out in the wild on the DAXRunBase blog.

In future posts I am planning to cover ways of using the Team Foundation Server and build automation, show tricks that can make everyday development a bliss, introduce using PowerShell and AxUtil during your everyday life and a lot more.

I really hope you will find the following posts useful, and a thumbsup in comments always helps to keep me motivated =)

Cheers
Vilmos Kintera

DAXRunBase / 2012-08-13 / Microsoft Dynamics AX / 0 Comments