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