I have a sharepoint list including employee data from the AD like Name, Email etc.
Entries from this list get filtered in the PowerApp and shown in a PowerApp gallery. (E.g. Steven Miller; Chicago; Head of Marketing)
I want to create a button which fills a textbox with all email addresses from this pre-filtered gallery (to create some kind of topic specific mail distribution list)
The textbox is set to show a variable ('var1'), therefore I thought to store all email addresses as a long string into this variable.
I basically need a loop like the following one, but have no idea how the syntax in PowerApps would look like:
For each item in gallery
Var1 = Var1 + "; " + row.value
Is there an easy way to solve this?
Go to Solution.
Thank you, this hint basically led me to my solution. I got stuck searching for a solution using "ForAll", but this is not necessary.
I just save the gallery into a collection and display it via concat.
Concat(Collection; 'Employee Name'.Email & "; ")
Thanks for the support.
View solution in original post
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.