Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Unable to publish Opportunity ! Unable to delete the custom view ..

Posted on by

Hi All,

I am unable to publish the opportunity post doing certain customizations. I get below error.

The error is due to a custom view. So when I try deleting the same, it is pointing to some component under dependency and not allowing to delete the same. When I try selecting the component, it says not found.

Is there a way to delete this view ?

*This post is locked for comments

  • Suggested answer
    prt33k Profile Picture
    prt33k 6,907 on at
    RE: Unable to publish Opportunity ! Unable to delete the custom view ..

    Hi SV,

    Yes, it wont have 1:N but the view can be used in N:1 .. eg. you can have a a subgrid of opportunity in account form. That is what I was suggesting t o check.

    You can check the dependency check as above on each N:1 relationship to see no other dependent entity exist.

  • RE: Unable to publish Opportunity ! Unable to delete the custom view ..

    Hi Prateek,

    Thanks for taking your time on this.

    As I said earlier, the view which I am trying to delete is simple opportunity view without any related entity columns.

    So I don't think a view of same entity can be in 1:N relation with form of the same entity.

  • prt33k Profile Picture
    prt33k 6,907 on at
    RE: Unable to publish Opportunity ! Unable to delete the custom view ..

    Please go to customization->entities->opportunity->N:1 relationship.

    For all the entities listed here ( mainly the customized relationship), please go to respective form and check if opportunity subgrid is added or not.

    blogopp2.PNG

    blogopp2.PNG

    blogopp3.PNG

  • RE: Unable to publish Opportunity ! Unable to delete the custom view ..

    Hi Prateek,

    Can you please tell me the exact steps on where I should look for ?

  • Suggested answer
    prt33k Profile Picture
    prt33k 6,907 on at
    RE: Unable to publish Opportunity ! Unable to delete the custom view ..

    The view usually get referred in form with 1:N relationship in a subgrid. Please ensure you have removed such references.

    Thanks,

    Prateek

  • RE: Unable to publish Opportunity ! Unable to delete the custom view ..

    Error-deleting.jpg

  • RE: Unable to publish Opportunity ! Unable to delete the custom view ..

    Error-publishing.png

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans