Json formatting not working after SP List update

JooPauloSantos-7617 5 Reputation points
2024-03-07T16:56:05.9633333+00:00

Hey guys, after a recent update to sharepoint lists my json formatting code stopped working as expected, cant figure out why.

Please notice the images bellow to see the diference.

Before:

img6

After:img5

Here is the code

{

"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",

"groupProps": {

"headerFormatter": {

"elmType": "div",

"style": {

"flex-direction": "row"

},

"children": [

{

"elmType": "div",

"style": {

"padding": "4px 8px 5px 8px",

"border-radius": "6px",

"font-weight": "500"

},

"attributes": {

"class": {

"operator": "+",

"operands": [

"ms-bgColor-themePrimary ",

"ms-fontColor-white"

]

}

},

"children": [

{

"elmType": "span",

"style": {

"padding-right": "6px",

"padding-top": "2px"

}

},

{

"elmType": "div",

"style": {

"display": "inline-flex",

"padding-right": "9px"

},

"children": [

{

"elmType": "div",

"style": {

"padding-left": "5px"

},

"attributes": {

"class": "ms-fontWeight-normal"

},

"txtContent": "@group.fieldData"

}

]

}

]

}

]

}

}

}

Appreciate all the help

Microsoft 365 and Office SharePoint For business Windows
{count} vote

11 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.