Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Deleting Project and customisation

Posted on by Microsoft Employee

I have created a project for practice purpose. After practising I have deleted the project, but still tables/forms/query and everything is there in AOT. 

Is there any method by that i can delete all customisation I made in one stretch?

Or

I have to trace each and everything and i have to delete?

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,056 Most Valuable Professional on at
    RE: Deleting Project and customisation

    Please read my answer again. It begins with: "If you want to delete all customizations..." So yes, it would uninstall all customizations. If it's not what you want, why didn't say "that's nice, but I don't want to delete all customizations, I want to ..." and explain your actual requirement? We can't read your mind, therefore you'll have to invest a few minutes to explain what you actually need. Otherwise we're all wasting time here.

  • Hariharans87 Profile Picture
    Hariharans87 4,971 on at
    RE: Deleting Project and customisation

    Sorry, please explain me that what you want actually.

  • Hariharans87 Profile Picture
    Hariharans87 4,971 on at
    RE: Deleting Project and customisation

    Yes.

    First you asked that delete your practice project, so I have shared one link.

    Second you asked to restore the original, I explained,

    Now, you are asking to delete all customization. My answer is uninstall the model technet.microsoft.com/.../hh433514.aspx.

    If you uninstall the model, all customization will be removed, even others.

    Please clear your problem.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Deleting Project and customisation

    If I un-install whole model...It will affect the customisation made by other developers made in that table...isn't it?

  • Martin Dráb Profile Picture
    Martin Dráb 230,056 Most Valuable Professional on at
    RE: Deleting Project and customisation

    I already gave you such a method. If you want "yet another method", please explain which aspect should be different. Do you have any requirement that isn't covered by uninstalling the model?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Deleting Project and customisation

    Thank you Hariharan....

    I got to Know new thing from you....

    But Still...instead of deleting each customisation, is there any other method?

    As Martin said it will not be the proper way of doing i guess...

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Deleting Project and customisation

    Hi Martin....

    I agree with your words " if you delete customizations one by one, you easily forget some..."..

    That is why I am asking for other ways....

  • Suggested answer
    dekaasboer Profile Picture
    dekaasboer 1,530 on at
    RE: Deleting Project and customisation

    Perhaps you can filter out all your customisations.

    First create a new blank project. Open the project and hit CTRL+F3

    Select append and a grouping to your liking. (if you want to select all items at once for deleting do not group)

    You can search for all items in a layer. But allso on modifieddatetime and createdby (table SysModelElementData)

    This will searh the entire AOT and add elements that fit your criteria to the project.

    Next select all the elements in your project and hit DEL and select permanently delete.

  • Martin Dráb Profile Picture
    Martin Dráb 230,056 Most Valuable Professional on at
    RE: Deleting Project and customisation

    Working are the primary way of managing customizations. Of course, you still can do something stupid with them, but it's still the safest way available. For example, if you delete customizations one by one, you easily forget some...

    "Deleting a model may cause orphan elements in other models" refers to deleting models that other models depend on.

  • 5400 Profile Picture
    5400 7,160 on at
    RE: Deleting Project and customisation

    Do u have project back-up. if yes, please import the project definition only and get the project objects in one place. After that you can delete one by one.

    Another process, if you know the objects name which you have customized under this project, please select under in different project, whatever objects are new please delete permanently. whatever object having conflict within same layer please compare and remove it.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans