Skip to main content

Notifications

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.

  • Suggested answer
    Niheel Profile Picture
    Niheel 50 on at
    RE: About alternate key

    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.

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: About alternate key

    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/

  • Verified answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: About alternate key

    Hi Niheel,

    Do you mean the statement in Create alternate keys?

    pastedimage1640667467871v1.png

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans