Hi we have Sharepoint online site using old template and switched list to use modern experience.
Problem is with JSON formatting, because some things do not work as expected.
Unable to use/reference any site column in fashion [$CustomColumnName] which are not used in the view. Error given is: Failure: CustomColumnName was not found on the data object.
Referencing column [$ID] gives two possible errors: empty like there is no data or Failure: Cannot read property 'valueOf' of null
I have tested out of the box examples from Microsoft site and many more and the behaviour is the same.
Does it have to do something that the site is not completely on modern design? Did you experienced this? Thanks
Linking also the same issue somebody else created, I have same behaviour. https://github.com/SharePoint/sp-dev-column-formatting/issues/19