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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Autonumber in Common D...
Power Apps
Answered

Autonumber in Common Data Service Primary Field/Forms

(0) ShareShare
ReportReport
Posted on by 409

If I convert the Primary Field of a Custom Entity to 'Autonumber', would I not expect that to be auto-populated when i created a new record?

 

See 2 x screenprints below - i would expect a new form to increment the next number??

 

1.PNG2.PNG

I have the same question (0)
  • Verified answer
    JasonAlmeida Profile Picture
    96 on at

    hey dude,

     

    The new form doesn't set the number when you load the page, but actually when you save the record. CDS handles the leg-work of ensuring that numbers don't overlap.

    Also, if you use the name field as an autonumber, you will need to mark it as optional as opposed to required. CDS will populate it after you hit the save button. 

    I've attached a couple of screenshots to help

  • Nhelgren Profile Picture
    on at

    Also, if you don't want the users to overwrite the autonumber, make sure the optional field is not displayed in your form.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard