cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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
Community Support

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

5 REPLIES 5
Community Support
Community Support

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

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
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities

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

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.

New Member

Hello,

Any updates on allowing multiple display names to appear.  If the People Picker column allowed for multiple users to be selected, 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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (85,196)