aprildunnam / ListFormatting

SharePoint List Formatting JSON Samples
81 stars 23 forks source link

Header, status not pulling from list #1

Open rdparris opened 3 years ago

rdparris commented 3 years ago

Two modern lists. Same code for header on both lists for the form. One will show the status while the other [again using the same code] does not show status. The only difference is that one is a newly created list, while the other is an existing list with content. The new list shows status in the header, the existing list does not. Any bugs or reports with this?

Figment93 commented 3 years ago

Similar issue here, the [$Title] value doesn't pull in the Title of List Item on new lists.

rdparris commented 3 years ago

One thing that I've found is that sometimes, especially when using a Microsoft Lists template, the name of a field has been changed. Try going into the list settings, click on the field / column name and when the field configuration page opens, in your browser address/URL, scroll all the way to the right until you find out if the field is exactly the same as what's displayed. Sometimes, it is not and you can use what's in the field configuration page to add the right name for "Title" or whatever you're having an issue with.

Figment93 commented 3 years ago

thanks @rdparris but I can confirm the column is still named title even here. I wouldn't expect it to change as this is a default value anyways.

masrieraana commented 2 years ago

Make sure you are using correct internal name of description column as JSON formatting works with internal names.

Check this URL to find out the internal name of SharePoint column: Find the internal name of SharePoint column.