web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Cannot delete a custom field (option set) from a custom entity.

(0) ShareShare
ReportReport
Posted on by

I am trying to delete a custom field from an entity it shows it has dependencies to two custom vies and a system view. I have removed the field from all views and published the solution and it still appears as the dependency relationship exist. In order to remove it from the custom views, I deleted the sub-grids on forms the entity existed and had to delete the view. Unfortunately, I cannot do the same for the system view.

Microsoft Dynamics CRM 2015

*This post is locked for comments

I have the same question (0)
  • Qukly Profile Picture
    5 on at
    RE: Cannot delete a custom field (option set) from a custom entity.

    I had the same issue.

    My solution was that i went to Views of the from and there was in search bar riht on top.I delete it and it helped.Hope i save some time to somebody.

  • Steve_E Profile Picture
    on at
    RE: Cannot delete a custom field (option set) from a custom entity.

    HI

    I had a similar situation. the dependency of the field was in the quick search view (although i removed the field from the display columns). it was still stuck in this view as a dependent field. For me, what strangely worked was to change the field that was checked in the "Searchable Columns" list, to another random field (the one that was checked was of type lookup, and the one that i chose to check was a simple text type). It was strange because the checked field had nothing to do with the problematic dependent field, but this change, kind of "refreshed" the view, releasing the dependency and allowing the field to be delete.

    Hope this helps someone

  • Stella Lin Profile Picture
    15 on at
    RE: Cannot delete a custom field (option set) from a custom entity.

    Hi, 

    I had the same issue and found if I do the following actions then I am able to delete the field.

    1.  Make field not searchable and rename the field

    2.  Go to Quick Find view and click "Add Find Column", uncheck all fields and select the ones you want it to search again

    3. Publish the entity

  • Suggested answer
    surucas Profile Picture
    on at
    RE: Cannot delete a custom field (option set) from a custom entity.

    That was it. I forgot I had filter criteria in the view that utilized the custom field. I was now able to remove.

    Thanks!

  • Verified answer
    mscrmba Profile Picture
    on at
    RE: Cannot delete a custom field (option set) from a custom entity.

    Hi Ralph,

    Is it a global option set?

    Did you publish all customizations, not just the single entity?

    You are not alone.

    We have struck this before on the odd occasion.  

    There seemed to be no logic.

    For us the field had been removed from everywhere it was telling us to remove it from, and was no-longer actually referenced by anything we could configure/code, but the dependencies persisted.

    We made the field non-searchable (so people didn't see it in Advanced Find lists), renamed it as (do not use) and left it in the solution.  

    Not ideal, but generally not the end of the world.  

  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at
    RE: Cannot delete a custom field (option set) from a custom entity.

    Do you have this attribute used in sorting colums  for that system view?

    you need to remove from there also..and if quick find view then remove or uncheck from find columns also..publish you changes.

    Hope this will help

  • surucas Profile Picture
    on at
    RE: Cannot delete a custom field (option set) from a custom entity.

    Yes. I already did that. The system view does not have the field yet it is still referencing a dependency.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans