Announcements
I am using powerapps to submit a form to a table of Recruits in Dynamics 365. The GUID is generated and autoassigned to the record by CRM on submission to the table, my app does not create it. How would I collect the guid of the record I just created in powerapps? I tried Last(Recruits).guid, but that gives the wrong value.
Hey
What is your field in Dynamics 365 called? guid? Not RecruitId or something?
Can't you reach it via ThisItem.guid?
Kr
Yes, it is called guid. My app creates a new blank form (the guid field is not set), the user enters in their info (e.g. name, etc), then I SubmitForm and send the data to crm. CRM makes a new record and fills in the guid field in the database. I can't use ThisItem.guid because at the time of submission, guid is blank.
I need the value of guid on the next screen after the form is submitted, but I'm not sure how to get it then. Hope that clarifies my problem.
Ok another suggestion. Add a field to your form, reference it to the guid field from your datasource and you can hide it by chanding the Visible option. If all goes well the guid should just be there after your submitform action. Have you tried that?
If you're using an Edit Form to create the new record, you can use the LastSubmit property of the form, it should have the record that was inserted in the successful form submission, including any server-generated fields. Take a look at the property description in the Edit Form details page for more information.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135