Find D365FO labels in Powershell

You can use Dynamics 365 > Find labels… in Visual Studio to find D365FO labels, but its capabilities are quite limited. Sometimes a better option is searching through the underlying text files directly and you can easily automate it with Powershell. The following script looks at all label files for US English and finds all …

Continue reading ‘Find D365FO labels in Powershell’ »

Label ID fix

I recently saw an interesting problem with labels in AX 2012 – two customizations created different labels with the same IDs, therefore the newer won and the older one showed completely wrong texts in GUI. For example, one customization created a form with caption @XYZ1 = “Customers”. Another customization created a label with the same …

Continue reading ‘Label ID fix’ »

Label IDs in Dynamics AX 2012

Dynamics AX handles text localization by using a label ID (e.g. @SYS1234) in code and metadata; the real text is looked up then based on user’s language. .NET developers may recall localization resources and satellite assemblies and it’s indeed a very similar principle. There are few changes in Dynamics AX 2012 regarding labels, mostly because …

Continue reading ‘Label IDs in Dynamics AX 2012’ »