Hi Power Apps Community,
Currently in the process of creating a request app with the ability to Cc multiple email addresses when a Send Button is clicked. For this, I am using 365 as data source and gallery.
However although I can select multiple emails, it only sends to 1 email (usually only the one at the top of the list) when the Send Button is clicked.
Is there a way to collect the selected multiple email addressed without using collections? Thank you!
depending how you're selecting the users (assuming its a gallery in this case) you are able to Concat YourGallery.AllItems with the semicolon seperator and then set that Concat as the input for your CC, essentially separating in the same way outlook would.
let me know if that solves your problem, and if it does feel free to mark it as a solution!
In the gallery, an icon is used to select a specific email address. I would like to your idea. Can you walk me through it? Where should I add the Concat function, in the gallery's display mode or default?
so in your gallery, set a collect item for the icon onselect function, as per the below:
Collect(EmailAddresses,ThisItem.Email) - if using the office365users connector then use .mail as opposed to .email, i just built a table for this example 🙂
then you can use either the function itself - Concat(EmailAddresses,Value,";") in your CC option for email, or add it into a text label and reference the label in your send email function. example below:
Hi @dmc_103 , its the name of the Collection created by the icon, you can name it to whatever you like, just ensure its the same collection in the Concat function 🙂
Hi @Alex_Security my icon has this string so I can see both Name and email address when collected:
NOTIFIED is the name of the Collection.
In my send button - Cc looks like this:
I also tried:
Both don't seem to work or did I miss anything?
or failing that, if you want to keep both the name and email in the collection, edit your CC to this:
Check out new user group experience and if you are a leader please create your group
Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.