Today, I’m going to explore how can we import and delete
label files in Dynamics AX 2012. Labels are no longer a file system like we had
in 2009. We now have a new node in AOT - Label Files
To import labels that is exported from some other system right click on the Label Files node and select Create from File. Browse and select your .ald file. Once you select the file and hit OK, a new node is added under the Label Files node corresponding to the label file imported.
In Dynamics AX 2012, the label file is imported in your current model.
One of the important things to note is that if you right click on your label file you will not see a delete/remove option. In order to delete label file we have to transfer this file to a temporary Model and then we will delete the model by stopping AOS. Let’s do step by step
When you open AX now, you will get a dialog saying that "Your model store has been modified." This is normal because each time you perform an operation on a model, you will get this dialog. Depending on your operation, you should select one of the options. Since we just deleted a model which just had a label file, select Skip.
Open AOT and notice that the label file is deleted now.
To import labels that is exported from some other system right click on the Label Files node and select Create from File. Browse and select your .ald file. Once you select the file and hit OK, a new node is added under the Label Files node corresponding to the label file imported.
The amazing thing in 2012 is that you don’t need to restart
AOS to re-build index files that we were doing in AX 2009. Just try using the
label somewhere and you will see that it is immediately referenced.
If you search in your application folder, you won’t find the label file there. The application folder is located here
C:\Program Files\Microsoft
DynamicsAX\60\Server\MicrosoftDynamicsAX\bin\Application\Appl\StandardIf you search in your application folder, you won’t find the label file there. The application folder is located here
In Dynamics AX 2012, the label file is imported in your current model.
One of the important things to note is that if you right click on your label file you will not see a delete/remove option. In order to delete label file we have to transfer this file to a temporary Model and then we will delete the model by stopping AOS. Let’s do step by step
When you open AX now, you will get a dialog saying that "Your model store has been modified." This is normal because each time you perform an operation on a model, you will get this dialog. Depending on your operation, you should select one of the options. Since we just deleted a model which just had a label file, select Skip.
Open AOT and notice that the label file is deleted now.