Sunday, 19 April 2015

TFS labels with multiple models [AX 2012]

For sometime I have been working on a project which uses multiple models. TFS doesn’t support multiple models and one of the issues is labels. It only works with a single label file from the system settings.

My project was building a new module in AX with its own label file. This way we don’t have a dependency on the the existing implementation. We decided to keep it simple by modifying the class that returns the default label id when objects are checked in.

By making the small change below – It will return a specific label id (ABC) when you are in the particular model (MyModel).

LabelVersionControl

4 comments:

Martin Dráb said...

What do you meany by "TFS doesn’t support multiple models"? I don't agree - use it only daily basis.

There may be some problems with multiple label files, but that's a different statement. It might be worth explaining what exactly is the problem that your solution is addressing.

Munib Ahmed said...

Should have probably said multiple label checkins. Rather than model.

Munib Ahmed said...

Should have probably said multiple label checkins. Rather than model.

Blogger said...

If you want your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (no matter why you broke up) you got to watch this video
right away...

(VIDEO) Get your ex CRAWLING back to you...?