Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

how to delete a custom relationship in a managed solution

Posted on by 2,397

It gives me error when deleting this. any advise?

*This post is locked for comments

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: how to delete a custom relationship in a managed solution

    is it the same as removing a component from a managed solution? I clone a solution not clone patch

    dynamicscrmcoe.com/crm-2016-remove-components-from-managed-solution

  • Verified answer
    Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: how to delete a custom relationship in a managed solution

    Delete That relationship from the default solution and then package a new managed solution from dev to target environment.  This way you can remove the custom relationship

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: how to delete a custom relationship in a managed solution

    yes, that is what I did, but still get the error, since the relationship exists in prod while it gets deleted in dev, and when I import in prod, it gives me error.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: how to delete a custom relationship in a managed solution

    A patch can't delete anything:

    technet.microsoft.com/.../mt628808.aspx

    You'll likely have to export/import complete solution

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: how to delete a custom relationship in a managed solution

    yes, I deleted in dev. and should I clone this solution and export as a managed solution then import into the target one?

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: how to delete a custom relationship in a managed solution

    Any particular error message?

    Other than that, probably something along these lines: delete from unmanaged in dev, then export as managed, then deploy to prod..

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans