cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
appdataac
Level: Powered On

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.

NHelgren
Level: Powered On

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
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,703)