Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
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

Categories:
  • Nhelgren Profile Picture
    on at
    Re: Autonumber in Common Data Service Primary Field/Forms

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

  • Verified answer
    JasonAlmeida Profile Picture
    96 on at
    Re: Autonumber in Common Data Service Primary Field/Forms

    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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 19

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 15 Super User 2025 Season 1

Overall leaderboard

Featured topics