Skip to main content

Posts

Showing posts from 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).