Customer Engagement & Dynamics CRM Forum

How to delete managed fields where iscomponentdeletionenabled is false?

  • 1.  How to delete managed fields where iscomponentdeletionenabled is false?

    SILVER CONTRIBUTOR
    Posted Mar 29, 2019 02:39 PM
    ​​We have some custom fields that are now obsolete and I need to emove. We created these fields but they got included in a managed solution that ended up overwriting our development environment.
    There are no dependencies. When I try to delete the fields in the UI, I get an error RE:
    The 'Delete' operation on the current component(name='Attribute', id='27b59de5-6d13-43ac-a668-a3b79abefb4b') failed during managed property evaluation of condition: 'Managed Property Name: iscomponentdeletionenabled; Component Name: Attribute; '

    I tried the method of creating the Managed Solution and updating the Managed Solution to delete the field components, but they were not removed. Method here.

    I cannot find this attribute "iscomponentdeletionenabled" in the MetadataSchema in the database to be able to change it.

    Is there a way to find and edit the offending condition in the SQL database or the customizations.xml file to enable deletion of these obsolete fields?




    ------------------------------
    Allison Briden
    Business Systems Analyst
    Energy Trust of Oregon
    Portland OR
    ------------------------------


If you've found this thread useful, dive deeper into User Group community content by role