Forum Discussion
Jeff_Lacarte
Nov 05, 2021Brass Contributor
Approval Status Column Suddenly Numeric - Due to Column Formatting?
I'm working in my tenant and noticed an issue with all of my lists that have content approval turned on. The approval status column now lists a number instead of the words "Approved" | "Rejected" | "...
- Nov 16, 2021
Jeff_Lacarte nfsg20 DavidLang Amiryunus SteveB aricornish YeBuu mcancela Duncan2450 Gavin Tully TonieB
This is happening because of recent change in JSON schema to officially support Approval Status column in JSON formatting.
Due to this update, the @currentField and [$_ModerationStatus] will resolve to internal code (enum value) and @currentField.displayValue and [$_ModerationStatus.displayValue] will resolve to the localized string (I guess according to language).
The Microsoft official docs will be updated with more info in the coming weeks. You can check the details for now at: SharePoint Online Column Formatting for Approval Status: uses language specific text?
Related Read: How to find the Internal name of columns in SharePoint Online?
Please consider giving a Like if my post helped you in any way. For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
Gavin Tully
Nov 09, 2021Copper Contributor
I also have the exact same problem. I've had the formatting set on the approval status column for a couple of months. Suddenly it is showing the numeric value just as you describe. I have custom JSON formatting applied as well. Even stranger, it seems to occasionally revert back to the written status. I randomly refreshed my browser and it was back to normal followed by another refresh back to numeric value. This must be something MSFT did.
Duncan2450
Nov 10, 2021Copper Contributor
We are experiencing the same problem. We have had conditional formatting on for about 6 months without a problem. All libraries with the approval status column have the same problem.