An attribute with the specified name already exists

An attribute with the specified name already exists

If you're creating custom entities in Microsoft Dynamics 365, you may encounter an error message that reads "An attribute with the specified name already exists." But why does this happen when creating specific data type fields? In this post, we'll explore the hidden fields that are created using the field name and how they can clash with other fields you're trying to create.

For example, let's say you're trying to create two fields for an entity: "Location" and "Location Name". The issue arises because the system automatically creates a field with the name "location" when the first field is created. This hidden field conflicts with the second field you're trying to create, resulting in the error message mentioned above.

To avoid this issue, it's important to keep in mind the hidden fields that are created by the system. When creating fields, make sure to avoid naming conflicts by using unique names or modifying existing field names. By following these tips, you'll be able to smoothly create custom entities without encountering errors related to hidden fields.

If you're interested in learning more about this topic, be sure to check out the full post at the link below.

Read more »

Published on:

Learn more
HIMBAP | Dynamics 365 Experts
HIMBAP | Dynamics 365 Experts

We are committed to deliver successful Microsoft Dynamics 365 CE solutions. We provide gamut of Microsoft Dynamics 365 CE and Power Platform services.

Share post:

Related posts

How the “Regarding” field works in Microsoft Dynamics 365 CRM and the process for adding a custom entity to the “Regarding” lookup field.

Microsoft Dynamics 365 CRM is a powerful tool that allows you to associate records with other entities through the use of the "Regarding" fiel...

1 month ago

Getting Additional Fields from Lookup while using Email Template

In this post, we'll explore a scenario where we need to incorporate fields from a related entity and use them in our emails while utilizing em...

4 months ago

Set Field Error Notification using JavaScript by checking related parent entity record info in Dataverse Model driven app power apps

If you're using Dataverse Model driven app power apps and need to validate form fields based on parent record information, this article may be...

9 months ago


In Dynamics 365, it is crucial to know which fields have been modified on the form during an update. While creating a plugin to receive data o...

1 year ago


If you're looking to create a custom entity in Microsoft Dynamics 365 using SDK, this tutorial provides a step-by-step guide on how to do so. ...

2 years ago

How to make Read Only, show and hide and other conditions to fields in Project Operations?

If you're looking to make fields in Project Operations read-only or apply other conditions such as show and hide, then this tutorial is for yo...

2 years ago

JS: Access values of fields located on the “Form Component” PCF Control

In this informative post, Andrew Butenko talks about a fascinating feature he discovered while working with a colleague. The feature enables a...

2 years ago

Allow Native Mapping When Referencing a Parent Entity

If you are working with CRM Relationship mapping in Out of Box (OOB) CRM, you may be aware of the limitations of the mapping, which only works...

7 years ago

Resolving "Entity doesn't contain attribute with Name = 'transactioncurrencyid'" Errors (Microsoft Dataverse)

Are you facing errors when deploying a solution in Microsoft Dataverse? Don't worry; this post has got you covered. It delves into a specific ...

2 years ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy