Monday, 13 January 2014

Dynamics AX 2012 model file and Labels

I have seen some posts recently about model files and missing labels. There is confusion when delivering model file, if all newest labels are exported. Sometimes if model version is updated, new labels are still not showing up in application. What is more strange that when you go to AOT\Labels\<your label> and export language file - you will see the old labels. That is not the problem with model file, but rather the way Dynamics AX 2012 handles labels. Application is using temporary label files from ..\program files\Microsoft dynamics ax\60\server\bin\appl\standard, and these files sometimes are out of sync with model repository.

So if you see missing labels after model file installation, do the following:
1. Stop AOS
2. go to ..\program files\Microsoft dynamics ax\60\server\bin\appl\standard and delete all files starting with axXXX*.* (where XXX your label file ID). Do not worry these are only temporary files that are created when you starting AOS.
3. Start AOS. You can check the same folder as in step 2 to make sure your new label files are generated.