cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lalit_Kadam
Helper III
Helper III

Autoincreement column handling in power app and CDS

Hi,

I have created one entity and added one chemical_id column as Autoincreement. When I am inserting data manually on entity it is always asking me to enter value in chemical_id column. It should get increase automatically. should I need to change anything on entity level?

Please also suggest how we should handle autoincreement column in canvas app while inserting data on table.

 

Regards,

Lalit Kadam

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @Lalit_Kadam ,

Do you mean that your autoincreement column keeps asking for value when you update?

I think the problem should be about whether the field is required.

Please do not set autoincreement column required.

The reason is: if you set a column required, you need to update with this field's value when created new record.

However, this field's data is generated by system. So this will cause conflict.

The autoincreement column's value is update after you create new record automatically.

Notice the order.

Please set this field like this:

556.PNG

 

 

Best regards,

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

View solution in original post

2 REPLIES 2
eka24
Super User
Super User

As the name suggest, you are not supposed to enter Data in autoincrement column. Have you tried submitting a form through Powerapps. What happened to the autoincrement if send data from Powerapps.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

v-yutliu-msft
Community Support
Community Support

Hi @Lalit_Kadam ,

Do you mean that your autoincreement column keeps asking for value when you update?

I think the problem should be about whether the field is required.

Please do not set autoincreement column required.

The reason is: if you set a column required, you need to update with this field's value when created new record.

However, this field's data is generated by system. So this will cause conflict.

The autoincreement column's value is update after you create new record automatically.

Notice the order.

Please set this field like this:

556.PNG

 

 

Best regards,

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,275)