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 / Select newly created f...
Power Apps
Answered

Select newly created form - SQL

(0) ShareShare
ReportReport
Posted on by

In my app I have a gallery that can be used to open submitted forms.  All forms are submitted using patch.  I found how to make the newly created record open upon saving it when using SharePoint lists and I'm assuming it would also work with Dataverse, I can't seem to find how to do it though with SQL.  Any suggestions are appreciated!

 

Example:

ID# 1 - 5 already exists.

Submit record with ID# 6

App should automatically open ID#6 once it's saved.

Categories:
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @csSoftDev ,

     

    You can use a variable to include the Patch function and get the ID of newly created record:

    Set(varID, Patch(.....).ID)

     

    With this variable, you can use LookUp function to address this record:

    LookUp(Table, ID = varID)

     

    Best regards,

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard