SP List Comments - Making it anonymous

New Contributor

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]) "
    }
  ]
}

0 Replies