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 / Collect data on galler...
Power Apps
Unanswered

Collect data on gallery by checkbox and send it as email

(0) ShareShare
ReportReport
Posted on by 148

Hello ^^, I need help with my gallery page.

 

I want to be able to click on a checkbox (Checkbox1) to select specific rows, and then I want to click the "Send Email" button (button5) to open Outlook and collect specific columns, which are  (Asset Name, Serial Number, PO )

 

I've tried various approaches, but I'm having trouble getting it to work.

 

Can you assist me with this?

 

Note:

Asset Name is a Choice column on SharePoint

Serial Number is a Single Text on SharePoint

PO is a Number on SharePoint

 

Screenshot 2023-10-05 at 10.58.34 AM.png
Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Stylead ,

     

    Please try:

    Launch("mailto:XXXXX@XXX.com" & 
     "?subject=" & EncodeUrl(ThisItem.'Asset Name'.Value) & 
     "&body=" & EncodeUrl(ThisItem.'Serial Number' & ThisItem.'PO')
    )

     

    Best Regards,
    Bof

  • Stylead Profile Picture
    148 on at

    hello 🙂

    I tried your code but it's not working, The below code works fine but the issue is I'm getting only data from one row instead of selected raws It has been checked on checkbox1

     

    If(Checkbox1.Value,
     Set(
     EmailData,
     Concatenate(
     Filter(Gallery5.AllItems, Checkbox1.Value);
     "Asset Name: " & ThisItem.'Asset Name'.Value & Char(160) & ", Serial Number: " & ThisItem.'Serial Number' & Char(160) & ", PO: " & Text(ThisItem.PO, "[$-en-US]#.00")
     )
     );
     Launch("mailto:?=&body=" & EmailData)
     // No need to reset EmailData
     ,
     Set(EmailData, "") // Set EmailData to an empty string if Checkbox1 is unchecked
    )

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

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard