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 :
Customer Service forum

How to replace an Entity with same named Entity from another crm instance?

(0) ShareShare
ReportReport
Posted on by

I want to replace the entity "Product" in sandbox instance by the "Product" from my dev instance. I created a temerally solution which only have Product entity, export it and then import it into sandbox. Now the question is how can I replace the Product(in sandbox) with Product(from dev)?

Please direct me a way. Thanks.

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Though I am confused with your questions as you have mentioned that you updated Product entity from Dev to Sandbox and then again you are asking how you can replace Product entity in your sandbox from your dev?

    In anycase, to update the entities, you need to follow the same steps, i.e.

    1) In Source environment, create solution, add entity and export solution. Ensure that you don't add any other component which you don't want to update in target environment.

    2) In Target environment, import the solution exported from your source.

    Hope this helps.

  • Datadvancer Profile Picture
    on at

    Actually the whole process like this:

    1. I need export the solution(name is, for example, my_abc) from dev instance and be going to import into sandbox instance to same name solution.

    2. Before import it into sandbox instance, I have backup the Product entity by create a solution named my_backup and only left one entity Product.

    3. After import my_abc into sandbox, the soluton in sandbox(name also my_abc) has been totally replace by the solution from Dev instance.

    4. now in sandbox, I want to use the Product entity in my_backup solution to replace the Product entity in my_abc solution.

    How to do that?

    Sorry for so much confusion, anyway I want to keep the customization of Product entity in sandbox NOT be overwrote by the same entity from dev instance.

    Thanks.

  • Verified answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    CRM unmanaged solution will merge/overwrite the existing customizations whatever order you do.

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    The entities exists in your system and not on the unmanaged solution. Unmanaged solution is just like container. This means if you have 3 unmanaged solution in your system and all 3 contains product entity, if you update the product entity in one solution, it will be updated in all the solutions. So it doesn't matter under which solution you have your entity, if you update the entity either manually or by importing any solution, it will actually update the entity.

    Regarding, "4. now in sandbox, I want to use the Product entity in my_backup solution to replace the Product entity in my_abc solution.", you can simply import your back up solution in your sandbox environment.

    Hope this help

  • Datadvancer Profile Picture
    on at

    Thank you all for valuable answer.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans