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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

About alternate key

(0) ShareShare
ReportReport
Posted on by 50

Hi all,

When a create an alternate key for a custom entity, I found that the key cannot be Contact as it's logical and cannot be used in a key.

But why it can be used to create an alternate key for Account entity? E.g. Parent Account / Primary Contact.

It's a bit confused for me and Hope to get an answer.

Thanks in advance.

I have the same question (0)
  • Verified answer
    Nya Profile Picture
    29,060 on at

    Hi Niheel,

    Do you mean the statement in Create alternate keys?

    pastedimage1640667467871v1.png

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    I have a custom entity Employee and I have create Contact lookup for this custom entity.

    I am able to create an alternate key with Contact lookup field and it works.

    CR36.PNG

    What is it that you are trying to achieve and not able to do?

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Suggested answer
    Niheel Profile Picture
    50 on at

    Thanks, Nya and Bipin. Thanks for the test.

    I just get confused with the the AttributeMetadata.IsLogical property in the link Nya provided.

    Didn't notice the sub-link, so now the problem is solved.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 93

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans