How to: Use Label Files Under Version Control
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
You can create Microsoft Dynamics AX label files and check them into version control in Microsoft Dynamics AX. You can create a new label file by using the Label file wizard. For more information, see How to: Create a Label File. You can add a label file to version control by using the Label editor.
Checking Out and Checking in the Label File
Create or edit labels by using the Label editor. When you create a new label, a temporary label ID is assigned to it.
To add a label file to version control
Click Tools > Label > Label editor.
Click Add to version control.
To check out the label file
Click Tools > Label > Label editor.
Click Check out.
When finished, check the label file back in. When you check in a new label, the temporary label ID and references to it are mapped to a globally unique label ID.
Note
If you create a label while the label file is checked out, do not start the client using the –labelsync flag before you check in the label file. If you do, the temporary label file will be added to the AOT.
To check in the label file
On the Label editor form, click Check in.
Type a description of the work you completed, and then click OK.
Resolving References to a Temporary Label ID that is Not Valid
If you have references to a temporary label ID that has already been checked in, those references are not valid because the temporary label ID is replaced with a globally unique label ID when you check it in. This can happen when references to the temporary label ID are not in the scope of the check-in.
To resolve references to temporary labels
Manually locate references to a temporary label ID that should reference the new globally unique label ID.
Update the references to point to the new globally unique label ID.