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)

Objects move from USR layer to CUS layer

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

I have some pieces of objects which we wrongly modified in USR layer.
Now i want to move all those objects (USR layer) to CUS layer without loosing any modification which is already did in USR layer.
Please let me know the best approach.

Please give me more shed on this.

Thanks!

Arpan sen

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Kauto Profile Picture
    2,699 on at

    Hi,

    This is not best practise I would imagine but you could do the following:

    1. log into the user layer environment and open the AOT

    2. Create a project from all the USR layer changes

    3. Export this project.

    4. log into the CUS layer environment and open the AOT

    5. Import the project you exported from the USR layer with all the changes.

    6. Compile this fully.

    7. Delete/remove every USR layer change on each object that was in the original project before you exported * making sure you do this in the USR layer.

    8. Fully compile your system after this and regenerate full CIL.

  • @rp@n Profile Picture
    30 on at

    Thanks Kauto.

    Point no 7:

    Log into CUS layer or USR layer?   ( Delete /Remove USR layer changes)

    Thanks!

    Arpan Sen

  • Kauto Profile Picture
    2,699 on at

    Log into USR layer environment sorry, then you can see the USR layer changes and manually remove/delete these.

  • @rp@n Profile Picture
    30 on at

    Hi Kuto,

    Point no 3 :

    Export the project

    Point no 5  :

    You mentioned , Import the project in CUS layer

    Now in Point no 7

    You mentioned :

    Delete/remove every USR layer change on each object that was in the original project before you exported * making sure you do this in the USR layer.

    Note : Here we already exported project as per point no 3

    Please give me more shed on this

    Thanks!

    Arpan Sen

  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,037 Super User 2025 Season 2 on at

    HI Arpan,

    When you have exported the objects, they were will present in the USR layer. When you import in the CUS layer, the existing objects will be duplicated in the CUS layer. So in step 7 you need to delete the USR layer changes.

    The reason why the objects aren't deleted already in step 3 is that you might re-use environment specific element ID's and don't lose any data present in tables.

    One note: make sure you check if all objects are still correct in the CUS layer when you have deleted the USR layer changes. In some scenarios objects might not be saved in the CUS layer if they do have a version in the USR layer. I would recommend to login in the CUS layer again after point 7 and import the objects again to be sure...

  • Verified answer
    Kauto Profile Picture
    2,699 on at

    Basically as long as you export the USR layer modifications in a project while logged into the USR layer and then import them back into the CUS layer environment, they will effectively become CUS layer changes.

    It is then advisable to remove the original modifications you did in the USR layer, so log back into the USR layer and delete or remove the same modifications you exported earlier only now because they are in the CUS layer you can safely remove them without losing functionality.

  • @rp@n Profile Picture
    30 on at

    Thanks  Andre and Kuto

  • @rp@n Profile Picture
    30 on at

    Thanks Andre,

    So, when we found in CUS layer all objects are correctly imported from USR layer then only we can login in USR layer and delete those objects.

    Please confirm.

    Arpan Sen

  • Kauto Profile Picture
    2,699 on at

    Hi, as Andre has said, you do this but make sure you compile afterwards, check through your functionality to ensure all is working.

    if there are any problems at all, you may need to go back into the CUS layer after you have deleted everything in the USR layer and reimport your project again and compile just to be sure.

  • @rp@n Profile Picture
    30 on at

    Hi Kuto,

    1. Login in CUS layer

    2. Import Objects (CUS layer)

    3. Then full compile.

    Note : If it's error free in CUS layer then check all functionality is working or not. If it's properly work then only we can login in to USR layer and delete those objects.

    Note : Point no 3 : Compile is AOT compile?

    Please confirm.

    Thanks!

    Arpan Sen

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans