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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

Top Community Contributors for September  2019

Top Community Contributors for September 2019 🎉🎉

Let's thank our top community contributors

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 324 members 5,062 guests
Please welcome our newest community members: