SharePoint Lists – Hyperlinks, alternative text, and row formatting errors.
I have looked a lot on line for an answer but nothing matches quite right.
I have created a Sharepoint List with a hyperlink column – each entry has a different hyperlink and different alternative text. This works fine when just using the List, but when I apply row formatting the link opens about:blank.
Do I need to add something else within the code to make it pick up the link, or do column formatting? Below is the snippet of code:
“children”: [
{
“elmType”: “a”,
“attributes”: {
“href”: “[$Link.url]”,
“target”: “_blank”
},
“txtContent”: “[$Link.desc]”
I have looked a lot on line for an answer but nothing matches quite right. I have created a Sharepoint List with a hyperlink column – each entry has a different hyperlink and different alternative text. This works fine when just using the List, but when I apply row formatting the link opens about:blank. Do I need to add something else within the code to make it pick up the link, or do column formatting? Below is the snippet of code: “children”: [ { “elmType”: “a”, “attributes”: { “href”: “[$Link.url]”, “target”: “_blank” }, “txtContent”: “[$Link.desc]” Read More