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

Cannot delete attribute map

(0) ShareShare
ReportReport
Posted on by 187

Hi Community, 

I'm really stuck with a problem and I dont know how to figure out the solution. 

My issue is the following, on the opportunity entity I have four lookup fields on the account and all of them have mappings. Now when I try to delete one of the mappings, I get an error saying "Cannot create or delete system attribute map having id 564f51a5-9fb9-e711-810a-5065f38a3901 from accountid to otheroeminvolved belonging to an entity map with id f56c0f8e-a429-e611-80e3-5065f38a8a91 from account to opportunity"

After some reasearches on the community, it says to do so I should remove it from all related componenents (Vues, workflows, forms.. etc). While I'm removing the components I find out a strange dependancy with potential customer field on the opportunity which I cannot remove. 

2020_2D00_01_2D00_06_5F00_17h23_5F00_18.png

No Idea from where this depandancy comes, and whether removing it is the right path to delete those mappings or not ?

 

I have the same question (0)
  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Cannot delete attribute map

    Hi partner,

    You could raise a ticket to Microsoft Team for more professional help.

    Best Regards,

    Leo

  • elmaslouhi1 Profile Picture
    187 on at
    RE: Cannot delete attribute map

    I'm already using a workflow to clear the field, but now I'm looking for an explanation for the dependency and a solution to remove the mapping.

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Cannot delete attribute map

    Hi partner,

    "potential customer" is a system field in the opportunity, and in default, it should be in the field list, not on the form. But once you put it on the form, you will not be able to remove it cause it is business required.

    https://neilparkhurst.com/2015/12/10/opportunity-potential-customer/

    pastedimage1578364768097v1.png

    According to your description, please check if you put the "potential customer" on your form.

    If so, I suggest that you could use JS code to make the mapping field which you want to remove value as null to meet your requirement.

    function OnLoad(executionContext) {
        var formContext = executionContext.getFormContext();
        if (formContext.getAttribute("new_name").getValue() != null) {
            formContext.getAttribute("new_name").setValue(null);
        }

    }

    Hope it helps.

    Best Regards,

    Leo

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 129 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans