cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Brice235i
Level 8

Extract Given Name and Surname from selected user in combo box

This post: https://powerusers.microsoft.com/t5/forums/replypage/board-id/PowerAppsForum1/message-id/40826

really helpful, however, the values are for the current user only.  For the app I'm building, the user has the ability to submit the form on behalf of someone else, so they can overwrite the 'Submitted By' and 'Line Leader' field.

 

I can't seem to work out how to extract the given name and surname for the particular user that is selected in the combo field. I tried the datacardvalue name but couldn't get it working. For the associated flow, it seems I can only select the Display name (surname, firstname) rather then given name surname. Unfortunately the users are not satisfied with DisplayName.

 

Any ideas, much appreciated.  

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Extract Given Name and Surname from selected user in combo box

Hi Brice,

 

It sounds like you are trying to parse a field.  There is a good tutorial on this and how to use the text functions Left(), Mid() and Right(). https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-left-mid-right.  Also see the Split() function

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-split. I hope that helps get you started.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Extract Given Name and Surname from selected user in combo box

Hi Brice,

 

It sounds like you are trying to parse a field.  There is a good tutorial on this and how to use the text functions Left(), Mid() and Right(). https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-left-mid-right.  Also see the Split() function

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-split. I hope that helps get you started.

View solution in original post

Highlighted
Brice235i
Level 8

Re: Extract Given Name and Surname from selected user in combo box

Thank you kindly!

Helpful resources

Announcements
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 115 members 5,215 guests
Please welcome our newest community members: