Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Apply hotfix that effect to customization

(0) ShareShare
ReportReport
Posted on by 275

Hi all,

we have only 2 environments (Test and PROD) and we would like apply some HF that will effect our customization. Should i go with this procedure as below:

  1. Import Modelstore from PROD to Test. 
  2. Export Model files that have customizations from Test
  3. Apply HF on Test
  4. Import back Model files (with customization) to Test
  5. Compile, CIL generation, Synchronize DB
  6. Export ModelStore file from Test (after testing)
  7. Import ModeStore file (exported from Test) to PROD

Some concern:

  • At step 1: if there is any conflict, should i just simply overwrite?
  • At step 4: If there is any conflict the i will use -conflict push option to push the conflict to related layer and resolve or should i overwrite?
  • At step 7 there should not be any conflict?

Regards,

Mark

*This post is locked for comments

  • Mea_ Profile Picture
    60,278 on at
    RE: Apply hotfix that effect to customization

    It literally could not, you will have HF on syp layer and your changes on var\cus\usr. So your customization will overlay it. That's why you  need to merge code and you have dedicated step in checklist for that. Don't invent a bicycle, just follow official documentation technet.microsoft.com/.../hh335183.aspx

  • hoang.nguyen83 Profile Picture
    275 on at
    RE: Apply hotfix that effect to customization

    because the HF is effected (overwrite my customization)

  • Mea_ Profile Picture
    60,278 on at
    RE: Apply hotfix that effect to customization

    Why do you want to export them? Just apply hotfix on the top of existing code.

  • hoang.nguyen83 Profile Picture
    275 on at
    RE: Apply hotfix that effect to customization

    All customization that i have

  • Mea_ Profile Picture
    60,278 on at
    RE: Apply hotfix that effect to customization

    What kind of customization you are talking about ? Work in progress or all customization that you have ?

  • hoang.nguyen83 Profile Picture
    275 on at
    RE: Apply hotfix that effect to customization

    Hi Ievgen,

    What if i use XPO to backup my customization and import them back after applying HF.

    I may misunderstood on XPO file and model file since it re-uses ID and creates new one (pretty much the same to me). I have gone through many documents but it still seems blur to me

  • Mea_ Profile Picture
    60,278 on at
    RE: Apply hotfix that effect to customization

    When you import model store you cannot have any conflicts because it moves all models and conflicts could occur only between different models.  The only thing that could happen is Id conflicts on DB sync, but there is no option to "overwrite", so you have to resolve them.

  • hoang.nguyen83 Profile Picture
    275 on at
    RE: Apply hotfix that effect to customization

    Hi Ievgen,

    Great advise

    Step 2 to make sure Test is the same with PROD so if there is any conflict should i use overwrite option?

    The hotfix will effect my customization. I put them back after hotfix applied

    After import model store from Test to PROD, i think i do not need to compile, CIL or synchronization?

  • Suggested answer
    Mea_ Profile Picture
    60,278 on at
    RE: Apply hotfix that effect to customization

    Hi Mark,

    I'm not sure why do you need step 2. If I were you I would do next:

    1. Backup Test (Data and model).

    2. Import Modelstore from PROD to Test.

    3. Apply HF on Test

    4. Merge conflicts (if any)

    5. Compile, CIL generation, Synchronize DB

    6. Do functional and regression testing.

    If no errors found

    7. Backup Prod (Data and model).

    8. Import model store from Test to Prod

    9. Compile, CIL generation, Synchronize DB

    You could not have conflicts on step 1 or 7 because you applying model store not model.

    I don't see any sense to export customization and put them back, so if you won't do this you won't have to push conflicts.

    You need to export customization only if you have work in progress that is not in Prod. In this case you need to export them before step 2 (Import Modelstore from PROD to Test.) and then apply them back after step 9 (Compile, CIL generation, Synchronize DB). But anyway you should have proper dev environment and do not use test as a dev.

  • hoang.nguyen83 Profile Picture
    275 on at
    RE: Apply hotfix that effect to customization

    I meant i updated more questions on my first post

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans