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 ?
Solved! Go to Solution.
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.
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.
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 !
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
209 | |
194 | |
82 | |
58 | |
38 |
User | Count |
---|---|
303 | |
249 | |
120 | |
83 | |
55 |