Question sent by a reader recently, on my Quick SharePoint Approvals using list formatting JSON to set field values formatting post:
Will this not work if my column name has a number in it?
I have to submit documents for 2 reviews, and I am using “1st Reviewer Status” and “2nd Reviewer Status” as the column names, but the above code will not populate the approved/rejected in that column. I modified the columns to “Reviewer One Status” and “Reviewer Two Status” and the code worked fine. But spelling out the values doesn’t look as clean, in my opinion.
List formatting uses the internal name for the columns. When creating it from the modern UI ,not all internal names are generated as we expect, especially with names containing numbers and special characters.
You can find the correct encoded internal name for the column by accessing the ‘List Settings’ menu:
Then opening the column settings:
You will see something like this in the browser URL…