Forum Discussion
Matlot139
Feb 21, 2019Copper Contributor
List Hyperlink Column
Dear experts,
I have a hyperlink column with links to different items in a library. I've changed the fields to a button, but I can't figure out how to get the hyperlink to launch when the button is clicked.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "button",
"txtContent": "Open this item",
"customRowAction": {
"action": "defaultClick"
}
}
So the action bit is what I'm stuck on. I want the action to be opening the hyperlink in the cell, but I don't know how to write it. I'd really be grateful for some help.
Regards,
No RepliesBe the first to reply