Dynamics AX Development: Label Files

by | Updated August 15, 2016 | Development, Dynamics AX

Trust me, we all have been there. We created a custom label file in AX and now for some reason we want to delete it. So, as we have all gone through our daily dose of what’s new in AX 2012, we are well aware that Labels are no longer a file system like we had in 2009. Instead we have them under AOT; so a smart alec like me goes to AOT, under the Label Files node, finds the custom label that I want to delete and right-click (hoping that delete would be an option) but what???….  it’s not there:

 

Also, it is also not even in “Add-Ins”. So, the next step of expedition was to go under Tools/Label and try to find something of that nature; but that too ended in vain.
So, asking some peers and stumbling upon some webpages here is what I have found:

1) Create a temporary model; this is going to be just for the sake of this exercise so you can name it anything.
Go to Tools –> Model Management –> Create model.

 

2) Find the label file that you want to delete and move it to the recently created model.
Go to AOT–>LabelFiles–> LabelYouWantToDelete –> Move to model

 

 

3) Close the AX Client

4) Stop the AOS Service.

5) Delete the model we created in step 1).
You can use AXUtil(via command prompt) to delete the model: ” AXUTIL delete /model:YourModelName

6) On every AOS restart, all label files will be copied to the server folder from the model store. So before we go ahead and start the AOS Service, we need to delete the label files from:
‘C:\Program Files\Microsoft Dynamics AX\60\Server\…\bin\Application\Appl\Standard’.

7) Start the AOS Service.

Label file should be deleted now, and we can check that under AOT–>Label Files.  If you have any questions or comments to follow, please email us at: ‘info@stoneridgesoftware.com’.

Related Posts

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

august

12aug10:00 am10:30 amWhy Levridge Grain? How to Achieve Efficient and Accurate Scale Tickets

12aug12:00 pm1:00 pmThe Three Paths to Dynamics 365 Finance and Supply Chain from Dynamics AX

13aug11:00 am12:00 pmConfab with Stoneridge - Livestream - Inspire Keynote Breakdown

19aug10:00 am11:00 amWhat is Levridge? An Overview of the Ultimate Ag Solution

19aug12:00 pm12:30 pmThe Modern Manufacturer - Death by Safety Stock

27aug12:00 pm1:00 pmConfab with Stoneridge - Livestream - Dynamics 365 2020 Wave 2 Preview

september

02sep10:00 am10:30 amThe Modern Manufacturer - Cycle Count Management

09sep10:00 am11:00 amWhat is Levridge? An Overview of the Ultimate Ag Solution

16sep10:00 am10:30 amThe Modern Manufacturer - Product Lifecycle Management

30sep10:00 am10:30 amThe Modern Manufacturer - Return Management

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X