Person column example does not work.
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 this looks to be a casing issue.
- "@currentField.title" : works
- "@currentField.Title" does not work
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!
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