Announcements
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??
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
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 839
Valantis 533
Haque 412