web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Suggested answer
    Pravasti AK Profile Picture
    2,985 on at
  • hoang.nguyen83 Profile Picture
    275 on at

    Hi kavitha,

    thanks for the info. i actually want to go with that process.

    Just update some more questions

    Regards,

    Mark

  • Pravasti AK Profile Picture
    2,985 on at

    Great Mark,

    What update exactly you want

  • hoang.nguyen83 Profile Picture
    275 on at

    I meant i updated more questions on my first post

  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    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

    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?

  • Mea_ Profile Picture
    60,284 on at

    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

    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,284 on at

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

  • hoang.nguyen83 Profile Picture
    275 on at

    All customization that i have

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans