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 experience | Sales, Customer Insights,...
Answered

Cannot delete field inside entity

(0) ShareShare
ReportReport
Posted on by 5

I have a field called Region inside Contact entity.

I want to delete the field,however I cannot do so as the field has dependency,which is a view from Key Contact entity.

The view is called Key Contact Associated View. I have checked the view and the Region field cannot be seen inside the view: 

snip11.JPG

But when I try to open the xml using fetchxml, there is linking of Key Contact and Contact inside Key Contact Associated View :

snippp.JPG 

The attribute ads_region is the field I want to delete inside the view,so that I can delete the field inside Contact entity. However I cannot find the field when I try to edit the view but I can find attribute gendercode inside the view.

When I try to delete the relationship from fetchxml,it says that I cannot change the return attribute: 

snipppppp.JPG

How can I delete the field from the view (the dependency) so that I can delete the field in Contact entity?

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at

    Hi NurNina,

    We can also check dependencies of field in legacy web client:

    Top right gear icon > Advanced settings > Customizations > Customize the system > Entities > Fields

    pastedimage1599465298642v1.png

     When deleting a field which has dependencies, associated components can be also found in Details link of error prompt window.

    pastedimage1599465359355v2.png 

    Could you tell me why did you use XrmToolBox to remove field of view?

    You can remove the column of the view in OOB editor directly.

    pastedimage1599465694182v3.png

    Regards,

    Clofly

  • NurNina Profile Picture
    5 on at

    Hi there,thank you for the respond. I use XrmToolBox because I want to see the link inside the view. I cannot see the dependent column from the OOB editor.

  • cloflyMao Profile Picture
    25,210 on at

    How did you delete the relationship from fetchxml?

    Would it be by removing ads_region attribute from fetchxml query directly?

    Regards,

    Clofly 

  • NurNina Profile Picture
    5 on at

    yes, i directly tried to delete the attribute

  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi NurNina,

    I reproduced you issue:

    I created a view which is based on contact, it displays contact fields and its related country(a lookup field) information.

    In country entity, there is a field called "Continent", I want to remove it from the view.

    pastedimage1599533016964v1.png

    The reason for your issue would be that you were using FetchXML Builder to remove attributes, however, the plugin only updates the query of the view(only fetchXml), which means that the query must contain the expected set of columns, otherwise the view will "crash".

    Instead, you should use View Designer to edit view and remove attributes, it will change column(layoutXml) of view at same time.

    Your issue might be similar to following issue on GitHub:

    https://github.com/rappen/FetchXMLBuilder/issues/139

    Regards,

    Clofly

  • NurNina Profile Picture
    5 on at

    Thank you so much for the help!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 197 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans