Dynamics AX Development: Label Files

By Sourabh Khosla | February 24, 2014

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

Recommended Reading:

Manage U.S. Use Tax on Purchase Orders in Dynamics 365 Finance and Operations

  Managing sales tax requirements on your business purchase can be complicated, but Dynamics 365 Finance and Operations can help […]

Read the Article
5.19.22 Dynamics CRM

How to Write a Great Support Ticket in the Stoneridge Support Portal

Submitting a support ticket through the Stoneridge Support Portal is a quick and effective way to get assistance for any […]

Read the Article

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article
5.5.22 Dynamics GP

The Real Story about the Long-Term Future of Dynamics GP Support

I’ve seen a number of people put forward comment that Dynamics GP is going away and you have to get […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Financial Enhancements

The Dynamics 365 Businses Central 2022 Wave 1 Release has a lot of new and exciting features to help your […]

Read the Article
4.29.22 Dynamics GP

Dynamics GP Transaction Removals: Bank Reconciliation

  This is part 2 of a 3 part series on Dynamics GP Transaction Removals. These quick tips will hopefully […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X