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 / Send email with dynami...
Power Apps
Answered

Send email with dynamic data from gallery

(0) ShareShare
ReportReport
Posted on by 33

Hi,

 

I'm trying to send an email with information based on which button is selected in a gallery item. I.e. if low stock is chosen for dogs, then in stock for wedges, then empty for saddles, I want to send an email requestion more inventory based on the Min Max values.

 

My question is: How do i get the dynamic data from each gallery item based on which button is selected. 

 

eobrie22_0-1654268003988.png

 

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

    Hi @eobrie22 ,

     

    You might consider saving every selection of a user to a collection. For example:

     

    Set the 'IN Stock' button's OnSelect property to:

    RemoveIf(TheCollection,Title=ThisItem.Title);
    Collect(TheCollection,{Title:ThisItem.Title,Selected:"In Stock"});

     

    Set the 'Low Stock' button's OnSelect property to:

     

    RemoveIf(TheCollection,Title=ThisItem.Title);
    Collect(TheCollection,{Title:ThisItem.Title,Selected:"Low Stock"});

     

     

    Set the 'Empty' button's OnSelect property to:

     

    RemoveIf(TheCollection,Title=ThisItem.Title);
    Collect(TheCollection,{Title:ThisItem.Title,Selected:"Empty"});

     

     

    Best Regards,

    Bof

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard