cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DeeDor
Level: Powered On

DisplayName - Is it possible to edit ?

I have a customer who use the format for their DisplayName as Surname,Firstname but I would like to be able to show the DisplayName in Powerapps and Flow as Firstname,Surname. 

Is it possible ? 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: DisplayName - Is it possible to edit ?

@DeeDor 

You cannot switch the way the DisplayName is coming in, but you have options.

You didn't mention if you are getting the DisplayName from a SharePoint person column or from an Office 365 profile.

If you are getting from an Office 365 profile, then you can use:

   Office365Users.MyProfileV2().givenName & " " & Office365Users.MyProfileV2().surname

 

If you are getting the information from a SharePoint column, then you can use (again you'll need the Office365User connector):

   Office365Users.UserProfileV2(yourSharePointColumn.Email).givenName & " " & Office365Users.UserProfileV2(yourSharePointColumn.Email).surname

 

I hope this is helpful for you.  If you have more specifics on where you are getting displayName and need more help, just post back.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

3 REPLIES 3
Super User
Super User

Re: DisplayName - Is it possible to edit ?

@DeeDor 

You cannot switch the way the DisplayName is coming in, but you have options.

You didn't mention if you are getting the DisplayName from a SharePoint person column or from an Office 365 profile.

If you are getting from an Office 365 profile, then you can use:

   Office365Users.MyProfileV2().givenName & " " & Office365Users.MyProfileV2().surname

 

If you are getting the information from a SharePoint column, then you can use (again you'll need the Office365User connector):

   Office365Users.UserProfileV2(yourSharePointColumn.Email).givenName & " " & Office365Users.UserProfileV2(yourSharePointColumn.Email).surname

 

I hope this is helpful for you.  If you have more specifics on where you are getting displayName and need more help, just post back.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

DeeDor
Level: Powered On

Re: DisplayName - Is it possible to edit ?

Hi @RandyHayes , Im getting the information from a person field in a sharepoint list but I can easily add the User connector. Ill try your suggestion out. Thanks so much !

DeeDor
Level: Powered On

Re: DisplayName - Is it possible to edit ?

@RandyHayes  Worked perfectly !! Thanks so much ! 

 

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 (3,856)