cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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
Super User III
Super User III

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
Super User III
Super User III

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

Frequent Visitor

This worked!  Thank you so much!

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (21,631)