Forum Discussion

creatis's avatar
creatis
Copper Contributor
Apr 14, 2021

JSON formatting - users need to reload the library view manually

Hello,

 

In april 2020, I have created JSON list formatting in one of my Document Library that would change the color of the item title [$FileLeafRef] if the number of child items [$ItemChildCount] if greater than 0.

 

All was perfect, but since some weeks, the JSON script rendering is OK, but the library view is not getting refreshed. Customers need to reload the library manually to see the change.

 

We have seen the following change in our JSON script (abstract below)

Before Microsoft update

 

 

 

{
  "schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
  "debugMode": true,
  "hideSelection": true,
  "hideColumnHeader": true,
  "rowFormatter":

 

 

 

After Microsoft Update

 

 

 

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",
  "schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
  "debugMode": true,
  "hideSelection": true,
  "hideColumnHeader": true,
  "rowFormatter":

 

 

 

Who knows if Microsoft will fix this bug and when?

 

4 Replies

  • Difficult to answer this one, best you can do here is open a support ticket to notify this issue. Hopefully Microsoft can move fast on the issue, but it's not guaranteed
    • creatis's avatar
      creatis
      Copper Contributor

      Hello jcgonzalezmartin 

      Thank you for your message. I already try to open a support ticket to Microsoft 365 support, unfortunately, the answers was "We provide no support for JSON Scripts and code at Microsoft 365. please ask Microsoft Tech Community" !!!

       

      Best regards,

      Pierre-Yves

Resources