sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Person column example does not work.

Open sympmarc opened this issue 9 years ago • 3 comments

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.

Category

  • [ ] Question
  • [ ] Typo
  • [X ] Bug
  • [ ] Additional article idea

If you are planning to share a new feature request (enhancement / suggestion), please use SP Dev UserVoice at http://aka.ms/sp-dev-uservoice.

Expected or Desired Behavior

In the Display field values (basic) section, the example to display a person column using the "@currentField.Title" format does not work.

Observed Behavior

Using the Modified By (Editor) column with "debugMode": true, this message displays in the column: Failure: Editor.Title was not found on the data object.

Steps to Reproduce

See above.

sympmarc avatar Nov 11 '17 00:11 sympmarc

@sympmarc this looks to be a casing issue.

  • "@currentField.title" : works
  • "@currentField.Title" does not work

patrickabel avatar Nov 13 '17 19:11 patrickabel

I've closed this assuming that the article you were mentioning is the following article with the correct casing: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting

Thanks for the feedback!

GrahamMcMynn avatar Dec 07 '17 18:12 GrahamMcMynn

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 28 '20 18:01 msft-github-bot