web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to write gallery i...
Power Apps
Unanswered

How to write gallery in text label

(0) ShareShare
ReportReport
Posted on by

I would like to write my gallery into a text label so that I can send it as an email. The gallery is currently being filled in by a collection. 

At the moment, it just repeats the first column in my gallery

email_outlook.SendEmail(lbl_emailto1,lbl_subject1,Concat(Expenses, "Column:" & category & Char(10)& "Cost: " & cost & Char(10) & "Customer Number: " & customerNo & Char(10) & "Date: " & date & Char(10) & "Description: " & description & Char(10)))

Categories:
I have the same question (0)
  • Silvester. Akakpo Profile Picture
    783 on at

     You can't write a gallery to a text label. Either i am getting you wrong, can you be a little more elaborate?

  • uwenagel Profile Picture
    382 on at

    I'm assuming that 'Expenses' is your gallery and 'category', 'cost' ... are your record fields.

     

    I think your Concat is wrong, as you don't loop through your collection.

     

    Try the following:

     

    Concat(Expenses.AllItems,"Column: " & ThisRecord.category & Char(10) & "Cost: " & ThisRecord.cost ...)

     

    You may also think of using .SendEmailV2 with Html code/tags to better format the email body.

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard