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

3 REPLIES 3
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 Flow Community Manager
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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 393 members 2,851 guests
Please welcome our newest community members: