cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
appdataac
New Member

CDS primary name field data type auto number not generating auto number

In Canvas app the CDS entity primary name field with auto number data type not generating an auto number. How to fix it so app can generate an auto number for each form record entry.
2 REPLIES 2
Super User
Super User

Re: CDS primary name field data type auto number not generating auto number

Hi @appdataac 

Make sure to uncheck the required check box on the field properties fly out.  If you are importing data into the entity, it doesn't generate an autonumber at that time.  You will need to manually enter the sequence (using Excel) after the entity is populated. After that, new items added should have an autonumber generated by PowerApps.

Microsoft
Microsoft

Re: CDS primary name field data type auto number not generating auto number

Hello, The Primary Name field is limited to a string value only. It cannot be changes to be an autonumber field. However you can add an additional field for aotunumber that can be used on each entry.

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Users online (8,194)