cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Responsive Resident
Responsive Resident

ID filed in Sharepoint list

Hi

 i just want to know why does Generating and ID takes a lot of time in sharepoint list and not updated as the record is generated? like my record is updated in a second but the ID filed is still empty as im using the Sharepoint list ID filed which i guess is auto generated. do you know why ?

 

#SharepointLIst, #autogenratedID 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: ID filed in Sharepoint list

@Tapesh
What do you mean by “a long time?” How long?

Are you trying to obtain the SharePoint Id when a new item gets created? When a new item is created from an Edit form your can do this to get the Id:

Form1.LastSubmit.Id

If you are using a PATCH you can do this instead

Set(myLastRecordId, Patch(your_list_name, Defaults(your_list_name), {Field1: “hello”}).Id);

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

1 REPLY 1
Highlighted
Super User III
Super User III

Re: ID filed in Sharepoint list

@Tapesh
What do you mean by “a long time?” How long?

Are you trying to obtain the SharePoint Id when a new item gets created? When a new item is created from an Edit form your can do this to get the Id:

Form1.LastSubmit.Id

If you are using a PATCH you can do this instead

Set(myLastRecordId, Patch(your_list_name, Defaults(your_list_name), {Field1: “hello”}).Id);

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,311)