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 / SharePoint List Form: ...
Power Apps
Answered

SharePoint List Form: Getting ID back for Newly Created List Entry

(0) ShareShare
ReportReport
Posted on by 765 Super User 2024 Season 1

I am creating a new entry in my SharePoint list using Patch.  I need to get the ID back for the newly created record to use it as part of a lookup column in another list.  Any help would be appreciated.

 

Thank you.

Categories:
  • Verified answer
    CU-18081211-6 Profile Picture
    9,272 Moderator on at

    Hi @sperry1625 ,

     

    Use:

    Set(lastRecord,Patch( yourPatchFormula))

    and then you can find your required ID with lastRecord.ID

     

    Hope it helps !

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard