Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Field with Data Type Autonumber Doesn't Increment

Posted on by Microsoft Employee

Hello,

I created a custom entity using PowerApps that has the primary field data type set to autonumber.  The autonumbering works great in the web client but in the UI I get the error "Required fields must be filled in." My workaround was to make the field optional.  

Why would autonumber work in the web client but not in UI?

Thanks,

Beth

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Field with Data Type Autonumber Doesn't Increment

    Thanks, Henry.

  • Verified answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: Field with Data Type Autonumber Doesn't Increment

    Hello,

    I think it kind of makes more sense in the Unified Interface, because Auto Number fields generate an incremented value only if the field is left empty. You can perfectly choose to enforce a specific value at creation time for the record, if you don't want the system to generate one for you.

    So if the field is mandatory, it expects that you provide a value upon creation.

    I think your workaround is the right approach, and if you want to ensure that users don't input random values, make the field read-only.

    Henry

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans