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 / Getting row guid after...
Power Apps
Answered

Getting row guid after Edit Form OnSuccess

(0) ShareShare
ReportReport
Posted on by 27

I have an edit form for a Dataverse table. Nothing super extreme.

I need to get the guid of the record I create after I click on a button with SubmitForm() on it.

 

Somehow I can get to everything, except for the GUID:

aanhalzer_0-1630916682273.png

 

I need to get the GUID and then trigger a flow with the GUID as a parameter. Why not set the flow trigger when a dataverse item is created? Because I need to pass other parameters to this flow.

Please help! Need to get this GUID from the app after successful form submission.

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey! I am not sure why you cant get the ID but I know that you ID is auto number, you cant define it.
    Plus, If you need the ID, after you submit the form, on OnSucess property, define a var with the Id and after that use the Id. Or, on OnSucess property, define the var and star the flow

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

  • aanhalzer Profile Picture
    27 on at

    I'm sorry I am a little bit confused.

    Form.LastSubmit.ID (I also tried GUID, and even ODataID) does not work. How could defining it as a variable help? I don't get that.

     

    Just to be extra clear: I am looking for the row GUID of a dataverse record, not an ID column I made separately. This is not something I can edit or modify. 

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    I think the error is because you are trying to define an ID...

     

    Defining the var would save the work of Form.LastSubmit.ID 
    You could define a var with the hole last submited

    And then you would only use: varLast.ID, varLast.Name, varLast.Number....

     

    I think that you can get it because you are trying to write a default in an item that you cant 

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

  • Verified answer
    aanhalzer Profile Picture
    27 on at

    Solution found: you can get the GUID text like this 

    Text(Form.LastSubmit.<TABLENAME>)

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 May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard