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 / Fetch GUID of Currentl...
Power Apps
Answered

Fetch GUID of Currently Selected Gallery Item

(0) ShareShare
ReportReport
Posted on by

This seems like it should be very straight forward, but I can't find any resources to help with it.

 

I have a page in the app (canvas) showing a record in a form (FormViewScreen), this is the record selected in a gallery in a previous screen, so the item is simply "Gallery1.Selected".

 

I have set up a Flow (ApptoEmail) with hopes of getting the info from this screen, and doing a mail-merge-type email, the button to start this flow is on the same screen (FormViewScreen). I need to pass the GUID of the item with the button to Flow.

 

I should say the items are recorded in Dataverse/CDS

 

However, I can't figure out how to get the GUID of "Gallery1.Selected", I thought it may be as simple as something "Gallery1. Selected, ApptoEmail.Run(GUID()) or even ApptoEmail.Run(GUID(Gallery1.Selected)) but neither of these return the GUID to Flow.

 

I anyone able to suggest the correct way to do this?

Categories:
I have the same question (0)
  • Verified answer
    v-JessicaG-msft Profile Picture
    Microsoft Employee on at

    Hi @adwoody ,

     

    You could view the column name where the GUID are stored in the Dataverse table.  GUID format you could refer to this link : https://docs.microsoft.com/en-us/power-automate/dataverse/get-row-id

     

    vJessicaGmsft_0-1643353216514.png

    vJessicaGmsft_2-1643353540291.png

    vJessicaGmsft_3-1643353554591.png

     

    Best Regards,

    Jessica Gu

     

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard