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 / Inserting data into Ri...
Power Apps
Answered

Inserting data into Rich Text Editor from Gallery

(0) ShareShare
ReportReport
Posted on by 421

Hi everyone.  I have a feature in my app that allows a user to book travel for a predetermined group of people.  Their info Is displayed in a gallery, and I would like to include this in my email to our booking agent.  Is this possible?  Currently the RTE shows this:

 

After "hotel rooms" I would like to display a table, ideally, of the contents of Gallery25. 

 

"Hello "& Gallery19_1.Selected.Tip1 &",<br><br>"&
"Here is the list of names and dates for the " &Dropdown10_1.Selected.Name& " hotel rooms. "

 

&"<br><br><br><br>Thank you,<br>" &varUser.DisplayName & "<br>"& varUser.JobTitle

 

Thanks!

 

Chris

Categories:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @ckserra33,

    Do you want to send the Gallery data with Rich text to emal body?

     

    Modify your formula as below:

    "Hello "& Gallery19_1.Selected.Tip1 &",<br><br>"&
    "Here is the list of names and dates for the " &Dropdown10_1.Selected.Name& " hotel rooms. "&"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" & "<tr style='background-color:#efefef'> <th>Title</th><th>UserName</th><th>Department</th> </tr> <tr>" & Concat( Gallery.AllItems, "<td>" & Body15.Text & " </td> <td>" & Title27.Text & " </td> <td>" & Subtitle19.Text & " </td> ", " </tr><tr>" ) & "</table>"

    Note that the Title27.Text and Subtitle19.Text, Body15.Text represents the labels within your Gallery, you need to replace it with the real one in your scenario.

    vqiaqimsft_0-1678420205470.png

    This is a screenshot for your reference.

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard