web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Auto Increment Id in a...
Power Apps
Unanswered

Auto Increment Id in a Collection, and update collection via that Id.

(1) ShareShare
ReportReport
Posted on by 1,430

Hey all

 

 

Before I start of things, I already made this work with a SQL table, but now I want to recreate this but with a collection, to have faster loadings and just to test it out in general.

 

But Im struggling with the following, I want to add tasks to a collection with a Id that auto increments everytime a new task is created.

What also needs to possible is that a task can be modified and can be deleted.

 

Now the incrementing Id works fine only passing that Id to a new task doenst seem to work.

 

I hope the screenshots below make it a bit more cleat what I try to achieve.

 

Kind regards

 

 

Tom

 

New Task screenNew Task screen

FIrst task saved in the collection, makes a blank record with itFIrst task saved in the collection, makes a blank record with itTasklist viewTasklist view

 

 

 

 

OnHidden NewTaskOnHidden NewTask

 

 

 

 

OnVisible of the NewTask ScreenOnVisible of the NewTask ScreenUpdatecontext IdUpdatecontext IdUpdated IdUpdated IdTaskCollection, where only two tasks can be added apparentlyTaskCollection, where only two tasks can be added apparentlyI

 

 

 

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Tom_Slosse,

     

    Would you please shared the formula you used to create the collection? 

     

    Regards,

    Mona

  • Tom_Slosse Profile Picture
    1,430 on at

    Hey @v-monli-msft

     

     

    I solved my problem by adding some more screens to my app. So I have one for a New Task and one for Edit Task now and it works fine. I guess the auto increment Id wasn't the problem but the resetting of the field won't work and I think that messed it up. 

     

    But thanks for the reply.

     

    Kind regards

     

     

    Tom

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 421

#2
Valantis Profile Picture

Valantis 405

#3
timl Profile Picture

timl 337 Super User 2026 Season 1

Last 30 days Overall leaderboard