0

In my SPO List there is a multiline column (Multiple lines of text). The column is not visible in the Gallery view. Is there anything I can do about this? Some JSON maybe?

1 Answer 1

0

I managed to fix this. I had to manually add the column to the JSON code in the gallery view:

{
        "elmType": "div",
        "attributes": {
          "class": "sp-card-lastTextColumnContainer"
        },
        "children": [
          {
            "elmType": "p",
            "attributes": {
              "class": "ms-fontColor-neutralSecondary sp-card-label"
            },
            "txtContent": "[!ColumnName.DisplayName]"
          },
          {
            "elmType": "div",
            "attributes": {
              "class": "sp-card-content sp-card-formatterRef"
            },
            "children": [
              {
                "columnFormatterReference": "[$ColumnName]"
              }
            ]
          }
        ]
      }    

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.