-2023-
Jesus SharePoint, why am I specifying HTML tags in a JSON file
instead of just directly dictating formatting?What is this cowboy bullshit?
Oh you'd like to make a field a hyperlink? Just uh
{
"elmType": "div",
"attributes": {
"class": "sp-card-displayColumnContainer"
},
"children": [
{
"elmType": "a",
"attributes": {
"target": "_blank",
"href": "@currentField",
"title": "[$SharePointURL]",
"class": "ms-fontColor-neutralPrimary sp-card-content sp-card-multiline"
},
"txtContent": "=if ([$SharePointURL] == '', '–', 'SharePoint')",
"style": {
"-webkit-line-clamp": "2",
"height": "40px"
}
}
]
},
-Published 2 pm Thu, Jun 15 2023-