Forum Discussion
GeriWales
Oct 22, 2021Copper Contributor
SP List Comments - Making it anonymous
Hello -
I have the JSON code below - how can I change it to not post the person who submitted the comment?
09:30 AM
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "div",
"attributes": {
"class": "ms-fontColor-themePrimary ms-fontSize-m"
},
"children": [
{
"elmType": "span",
"style": {
"padding-right": "10px"
},
"attributes": {
"iconName": "Comment"
}
},
{
"elmType": "span",
"txtContent": "=if([$_CommentCount] == '' , 0 ,[$_CommentCount]) "
}
]
}
No RepliesBe the first to reply