Show display name in 'Title' Column

  • 16 December 2019
  • 2 replies
  • 8 views

Badge +2

Currently, 

  • Form has a people control that is linked to the 'Title' column in my list
  • Default set on the people control is Item: Display Name
  • Title contents still display as -1;#i:0f|membership|username@xyz.com

 

Tried JSON

{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField.title"
}

This makes my Title value disappear from the list altogether (when Default mentioned above is not set), or displays "@currentField.title"  in Title field. 

 

All I want is a nice looking list with two columns of people, the person and then their direct report, both showing with display name. 

 


2 replies

Badge +7
You can try to use a 'Calculated value' that shows the display name of the user selected in the People control. Then, you can add the 'Calculated value' to the Title column.
Badge +2
Excuse my severe lack of knowledge a round this but try a calculated value within the form? If so, I don't have that control option, if that's what you mean.

Reply