
It sounds like you may need to update the column formatting JSON code to properly render the hyperlink column as a clickable link in the Gallery view.
To do this, you'll need to modify the "fieldTypes" section of your column formatting JSON code to include the appropriate hyperlink formatting. Here's an example of what the JSON code might look like:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "a",
"txtContent": "@currentField.desc",
"attributes": {
"target": "_blank",
"href": "@currentField"
},
"style": {
"color": "green",
"text-decoration": "underline"
}
}
In this example, the "elmType" is set to "a" to indicate that this is a hyperlink element. The "txtContent" property sets the text that will be displayed as the hyperlink. The "attributes" property sets the target and href attributes of the hyperlink element, which are necessary for the link to work properly. Finally, the "style" property sets the formatting of the hyperlink, including the green color and underline.
You can modify this code to match your specific column name and formatting requirements. Once you've updated the code, save it and apply it to your SharePoint list column. The links should now be clickable in the Gallery view.