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

How to add Auto-increment column in CDS

Hi All,

I searched the forum for an answer to the following problem but alas not found it.

In both SQL server and MS-ACCESS it is very easy to create  an Auto-increment column. SQL server also has the option to specify the starting value and the increment. I expected the same functionality in CDS but it seems not to be there.

My question: did I mis something or is it not available? If missing, is there a work around?

Many thanks in advance

Bart

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to add Auto-increment column in CDS

Hi @BartSchaap,

Which version CDS do you use within your PowerApps?

If you use the old version CDS (CDS 1.0) within your PowerApps, you could add a Auto-Number type column within a Entity.

If you use the new version CDS (CDS 2.0) within your PowerApps, you could not add a Auto-Number type column within a Entity. The Auto-Number type has been removed from the new version CDS.

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: How to add Auto-increment column in CDS

Hi @BartSchaap,

Which version CDS do you use within your PowerApps?

If you use the old version CDS (CDS 1.0) within your PowerApps, you could add a Auto-Number type column within a Entity.

If you use the new version CDS (CDS 2.0) within your PowerApps, you could not add a Auto-Number type column within a Entity. The Auto-Number type has been removed from the new version CDS.

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
BartSchaap
Level: Powered On

Re: How to add Auto-increment column in CDS

Hi @v-xida-msft Kris,

 

Thank you for clarifying this. As the option is not there I guess I am using CDS 2.0. (can I check this somewhere?) I will post the request as you suggested, I think having an Auto-increment column is essential for many business solutions. I my case for instance I need this to generate a unique personel number.

 

Best regards

Bart

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

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

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 87 members 3,889 guests
Please welcome our newest community members: