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

Flow send an email action to show display name from people picker column

I have a flow that reads a SharePoint list ("Get Items") based on a filter condition and then sends an email listing all items returned.  The sequence is:

 

  • Get Items - filter and sort order applied
  • Create HTML Table (headers on, custom columns)
  • Send an email - the HTML table is inserted into the body of the email

 

This nicely displays in the email all the items returned (Title, Start Date, Due Date, Status) in a list except for one of the columns which is the standard Assigned To people picker column.  In the email this displays as:

[{"@odata.type":"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser","Claims":"i:0#.f|membership|chris.kaye@mysp365.com","DisplayName":"Christopher Kaye","Email":"chris.kaye@mysp365.com","Picture":"https://myspoffice.sharepoint.com/sites/myspportal/myspcorporate/_layouts/15/UserPhoto.aspx?Size=L&A...","Department":null,"JobTitle":"The Solutionist"}]

 

whereas, all I want to show is the Display Name.

 

Can anyone help?

 

Chris

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Flow send an email action to show display name from people picker column

Hi @ChrisKaye,

 

In the action Create HTML table, what value have you specified for the people picker column?

I have a people and group column Test1 in the list, in action Create HTML table, select Test1 DisplayName will only show the display name of the people.

Please try again with it.

1.PNG

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Community Support Team
Community Support Team

Re: Flow send an email action to show display name from people picker column

Hi @ChrisKaye,

 

In the action Create HTML table, what value have you specified for the people picker column?

I have a people and group column Test1 in the list, in action Create HTML table, select Test1 DisplayName will only show the display name of the people.

Please try again with it.

1.PNG

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Administrator
Administrator

Re: Flow send an email action to show display name from people picker column

Hey, @ChrisKaye!

Thank you for posting on the Flow Community Forum! It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
ChrisKaye
Level: Powered On

Re: Flow send an email action to show display name from people picker column

Hi @v-yamao-msft

 

I did not have the Display Name option.  On further investigation I realised that the People Picker had "Allow multiple selections" set to Yes.  I changed this to No and can now see Display Name in the dynamic content.

 

Many thanks for your reply.  Not urgent, but if Multiple Selection is a requirement, any idea how you implement this?

 

Chris

MJA
Level: Powered On

Flow send an email action to show MULTIPLE display names from people picker column

Hi, following up on the last comment regarding allowing multiple display names to appear.  If the People Picker column allowed for multiple users to be selected (e.g., Jane Doe, John Smith, Christopher Columbus), I would like to display each [display] name in the email body.  Any insight on the best approach would be very helpful, thanks.

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,589)