My powerapps form i have 3 repeating sections. when i select a gallery the repeating section data visible but send a mail to form the data not visible. Could you please give me examples of repeating section data.
Loading
My powerapps form i have 3 repeating sections. when i select a gallery the repeating section data visible but send a mail to form the data not visible. Could you please give me examples of repeating section data.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mohammad HussainRank #513 · 4.8K reputationPosted Aug 9, 2023, 2:43 PM EDT
Let's assume you have a PowerApps form with three repeating sections, each containing fields for Name and Age. Here's how you might structure the data and then send it in an email:
Data Structure: Let's assume you are using a collection to store the repeating section data. You can create a collection like this:
ClearCollect( RepeatingSectionData, { SectionIndex: 1, Entries: Table( { Name: "", Age: 0 }, { Name: "", Age: 0 }, { Name: "", Age: 0 } ) }, { SectionIndex: 2, Entries: Table( { Name: "", Age: 0 }, { Name: "", Age: 0 } ) }, { SectionIndex: 3, Entries: Table( { Name: "", Age: 0 } ) } )Repeating Sections in PowerApps Form: You have three repeating sections in your form, each bound to a specific section of the
RepeatingSectionDatacollection. Users can input Name and Age for each entry in the repeating section.Send Email Action: When you want to send the repeating section data in an email, you can use the
Concatenatefunction to format the data and then use it in the email's body.Office365Outlook.SendEmailV2( "[email protected]", "Repeating Section Data", Concatenate( "Repeating Section 1:\n", ConcatenateTable(RepeatingSectionData[Entries], "Name & ': ' & Age", "\n"), "\n\nRepeating Section 2:\n", ConcatenateTable(RepeatingSectionData[Entries], "Name & ': ' & Age", "\n"), "\n\nRepeating Section 3:\n", ConcatenateTable(RepeatingSectionData[Entries], "Name & ': ' & Age", "\n") ) )In this example, the
ConcatenateTablefunction is used to concatenate the Name and Age values for each entry in the repeating section. The resulting concatenated data is then used in the email body when sending the email.Cr BhargaviRank #420 · 5.9K reputationPosted Aug 10, 2023, 8:30 AM EDT
You would need to loop through the repeating section data and construct this string before sending the email. This could involve using a combination of the ForAll and Concatenate functions to build the email content
Shaik Rafi18 reputationPosted Aug 10, 2023, 10:12 AM EDT
My powerapp form sending to reviewer. in this form 3 fields have repeated sections when i submit form it sends to reviewer. he is not able to show repetings section data. my data source is SharePoint.