Format column in modern list
I have a JSON format code that ive applied to a SPO list. This JSON creates a button that simply links to another library.
This is the code
{
“$schema”: “https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json”,
“elmType”: “a”,
“attributes”: {
“href”: “=’https://abcd.sharepoint.com/sites/hubby/Lists/Workflow%20Log/Item%20History.aspx?FilterField1=LinkTitle&FilterValue1=’+[$WFHistoryLink]”,
“target”: “_blank”
},
“children”: [
{
“elmType”: “button”,
“txtContent”: “WF Log Details”,
“style”: {
“background-color”: “#FFFFFF”,
“color”: “#000000”,
“width”: “100%”,
“font-weight”: “normal”,
“padding”: “5px”
}
}
]
}
In a modern list, you CANT click directly on this “button” if you move your mouse just below it it changes from an arrow to a hand and then its clickable. Is there something in the JSON I can adjust for this?
I have a JSON format code that ive applied to a SPO list. This JSON creates a button that simply links to another library. This is the code {
“$schema”: “https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json”,
“elmType”: “a”,
“attributes”: {
“href”: “=’https://abcd.sharepoint.com/sites/hubby/Lists/Workflow%20Log/Item%20History.aspx?FilterField1=LinkTitle&FilterValue1=’+[$WFHistoryLink]”,
“target”: “_blank”
},
“children”: [
{
“elmType”: “button”,
“txtContent”: “WF Log Details”,
“style”: {
“background-color”: “#FFFFFF”,
“color”: “#000000”,
“width”: “100%”,
“font-weight”: “normal”,
“padding”: “5px”
}
}
]
} In a modern list, you CANT click directly on this “button” if you move your mouse just below it it changes from an arrow to a hand and then its clickable. Is there something in the JSON I can adjust for this? Read More