cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dadegroff11
Level: Power Up

Adding custom text to dropdown in data card.

New user to powerapps.  I've been given the reins to a powerapp that my company uses after the creator left the company.  

 

From what I understand of the terminology, I am trying to do two things.

 

1. I am trying to be able to add multiple selections in this drop down and both people are going to be sent emails based on this selection from the outlook database.  I have tinkered enough and found the ability to turn "selectmultiple" to true but that only seems to send the email to the last person entered on the list, not the whole selected list.

 

2. I am trying to be able to add a custom email address that isn't in our database.

 

Capture.PNG

3 REPLIES 3
WarrenBelz
Level 8

Re: Adding custom text to dropdown in data card.

Hi @dadegroff11 ,

 

You need a ForAll loop.

Have a look at  this post

 

 

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up. 

dadegroff11
Level: Power Up

Re: Adding custom text to dropdown in data card.

Would the ForAll loop be applied to the combobox or to the button that sends out the emails?  

 

The button has current code of:

 

SubmitForm(Form1) & Office365.SendEmail(Form1.LastSubmit.AssignedTo.Email, "You have been assigned an observed safety item.",
"Project Name: " & Form1.LastSubmit.Title & "

Review Date: " & Form1.LastSubmit.Review_x0020_Date & "

Hazard Description: " & Form1.LastSubmit.Description & "

Location: " & Form1.LastSubmit.Location & "

Corrective Actions: " & Form1.LastSubmit.Corrective_x0020_Action & "

Current Status: " & If(Form1.LastSubmit.Corrected = true, "Corrected", "Not Corrected") & "

" & "To view attached pictures and correct the item, follow this link: " & Form1.LastSubmit.'{Link}' & "

WarrenBelz
Level 8

Re: Adding custom text to dropdown in data card.

Hi @dadegroff11 ,

You can ForAll the email function, through the collection of email addresses and add this directly after the SubmitForm.

 

Please click and accept as Solution if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,039)