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 AX (Archived)

When choosing a Primary Index for the table there are no options other than "Surrogate Key".

(0) ShareShare
ReportReport
Posted on by 1,036

Hello everyone, I'm new here and just started training on Dynamics AX R2.

I'm following a guide in making a Primary Index but I can't choose the Index I created as a Primary Index.

I created an Index and set the " AllowDuplicate " property to no, It's not showing up in the dropdown menu of "PrimaryIndex". AX-help-1.PNG

AX-help-2.PNG

AX-help-3.PNG

I hope you can help me cuz I can't progress the training with it. 
Thanks!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Anton Venter Profile Picture
    20,345 Super User 2025 Season 2 on at

    Hi, set AlternateKey to Yes and try again.

  • Momochi Profile Picture
    1,036 on at

    That did it! Thank you so much! :D

  • Suggested answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi Momochi.

    Anton is correct, on the Index that you would like to use as your primary key, you will need to set the "AlternateKey" property to yes. You will then have to save the record and you should then be able to select this property as needed

  • Suggested answer
    sureshch Profile Picture
    20 on at

    Hi All,

     Alternate key is not mandatory in order to set the pr.imary index. Usually alternate key is used for choosing the replacement key.

     Please find the below screen shot 

    6862.Index1.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

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans