cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Smilee279
Resolver I
Resolver I

Update PowerApp Form email address in Sharepoint List based on User selection

Hello!

 

I'm relatively new to PowerApps--so bear with me.  I've created a form in my app based on a SharePoint list.  I have column 1 that is "assigned name" which is a drop down list of names.  The column itself is set to "single line of text" in SharePoint.  I would like to make it so that column 2 called "assigned email address" match whatever is selected in the form for "assigned name".  Both are currently set in SharePoint as "single line of text" for formatting.  I would very much like to not hard code the names into the app. 

I've tried doing an If/Lookup in the Default value of the assigned email address dropdown, but I'm pretty sure I'm not doing this right.  Any help would be much appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Smilee279 ,

Assuming your 'Assigned Name' drop down's values are based on the 'Assigned Name' column, the Default would be

Lookup(
   YourListName,
   'Assigned Name' = YourDDName.Selected.'Assigned Name'
).'Email Address'

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @Smilee279 ,

Assuming your 'Assigned Name' drop down's values are based on the 'Assigned Name' column, the Default would be

Lookup(
   YourListName,
   'Assigned Name' = YourDDName.Selected.'Assigned Name'
).'Email Address'

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Smilee279
Resolver I
Resolver I

This worked!  Thank you so much!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,048)