I created a simple little canvas app. It shows a list of our clients, the user chooses one and click next. On the next screen is an email template. The user enters the email address and click send. An email with the relevant client's information is then sent to the recipient.
There is a small issue that I don't know how to fix.
See attachment ss1: if I were to type the entire email address and click send, it works.
See attachment ss2: if I were to select the suggested person, the email address box is cleared, and the name is moved to below it.
See attachment ss3: If I send the email with the empty to box, with the name underneath, I get this error. And afterwards, the name in blue underneath the to box, isn't cleared either.
My send button has the following on select:
What am I missing?
I hope you are using the Email template (from the screens),
Please cross-check your Power Automate connection once.
i guess there is a gallery below the To search box which is showing all the selected recipients
in your onselect function you have to get the email addresses from the collection which is connected to the gallery.
pls check the items property of the gallery there should be a collection
in order to send the email to all users you have to loop through the collection with the ForAll function
for example ForAll(MyPeople, Office365SendEmailV2(ThisRecord.Mail, Subject, Body))
WarrenBelz
146,552
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional