Across the Internet I have read a lot of posts which explain the labels importation from a development environment to a production environment moving the *.ald files from one to another. The location of these files is a bit different depending on the AX version:

  • C:Program FilesMicrosoft Dynamics AX40ApplicationAppl[AX4.0 application folder]
  • C:Program FilesMicrosoft Dynamics AX50ApplicationAppl[AX2009 application folder]
  • C:Program FilesMicrosoft Dynamics AX60ApplicationAppl[AX2012 application folder]

After copy the *.ald files into the production server it will be needed (in the production environment):

  • Delete the *.ali files
  • Restart the AOS

This method is totally valid and secure, but there is another way to do this that I feel that is not as known in the community (maybe I’m wrong but is my feel after looking for this kind of information across the Internet).

The alternative is use the export tool:

  • Export labels from development environment


Selecting the check ‘Export labels’:


We can define if we want to export all the label files or only some of them if we don’t use all the languages:


  • After that, in the production environment we can import the changes and the labels with the standard import tool:

By default, this tool import only the application objects, but we can change this behavior to import also the labels changing the ‘import’ option:


You can get some information about labels (new labels that is going to be added or else…) selecting the ‘Show details’ field:


In the ‘Note’ section you can view if each label is new (and is going to be created) or if already exists.

In the ‘Action’ column is possible to force the behavior related to a concrete label

For those who are curious, I reference a post which makes the label import/export by code (you can never learn too much :))