web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Fixing customization to Ax elements

(0) ShareShare
ReportReport
Posted on by

I had added some new method to an existing table thru AOT and it shown as (usr) model

I need to fix this customization to secure it from deletion.

I had faced one problem with my company administrator (I'm not sure what happen exactly) but while he was doing a database backup from live server to test server (my work only in the test server) all my previous work had been canceled like new added custom tables, new methods added to an existing tables, etc.

I knew one fast solution it to import the saved .xpo for any custom projects I did before but I want another solution or suggestion to prevent like these problem to happened again.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Most thanks Sukrut for your suggested answer but would you please refer to any documentation on how to use TFS as I'm new in the pool.

  • Mahmoud Hakim Profile Picture
    17,887 on at

    Hi Mustafa Mansour

    you can check this blog

    stoneridgesoftware.com/how-to-connect-a-microsoft-dynamics-ax-7-tfs-project

  • Martin Dráb Profile Picture
    239,257 Most Valuable Professional on at

    Note that you don't have to set up TFS, you can use the hosted version called Visual Studio Team Services (VSTS).

  • Community Member Profile Picture
    on at

    Hi there,
    I had checked TFS and VSTS and this is not what I'm looking for. May my inquiry is not clear enough.
    My company using AX2012 and they have two different internal servers (one called LIVE and the other called TEST).

    My job is to do the development on TEST and then .xpo Export/Import from TEST to LIVE.
    I had notice that all of my developed projects are build in (usr) model and other model like (var) could not be deleted from the system.
    Any element in (var) model changed to (usr) model after any changes and if I delete the element it is back to (var) model and all changes had gone.
    My simple question how to fix and save my changes from deletion?

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    check this link for move customization from layer to layer

    blogs.msdn.microsoft.com/.../moving-customizations-between-layers-in-dynamics-ax-2012

  • Martin Dráb Profile Picture
    239,257 Most Valuable Professional on at

    Developing in TEST, deploying via .xpo files... That's exactly how it shouldn't be done. No wonder you all sorts of problem.

    Yes, if you delete your changes from USR, they get deleted. If you want to "save changes from deletion", simply don't delete them.

  • Verified answer
    startax Profile Picture
    1,845 on at

    HI Mustafa,

    Any element in (var) model changed to (usr) model after any changes and if I delete the element it is back to (var) model and all changes had gone.

    This is standard feature if you delete or compare any object in user layer it delete all changes done in user layer .

    If you want to save changes is done in user layer just take xpo  from user layer and delete changes in user layer. After import this xpo in var layer.

  • Community Member Profile Picture
    on at

    Thanks Dinkar, your answer ride to what I want ..

    loanfreezing.png

    When I import back this project it comes in the layer I selected (var) and changed could not be deleted.

    Thanks to all.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans