Hello community,
I'm trying to add some dynamism to a Microsoft Lists list.
Is there a way to add a variable to the link "href"?
The link, or rather the last characters of the link, should change depending on which list entry is currently selected (ID).
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "a",
"attributes": {
"href": "https://www.test.de/" + [$ID],
"target": "_blank"
},
"style": {
"color": "#0066CC",
"text-decoration": "underline"
},
"txtContent": "Dokumente"
}
i hope i am right here