Forum Discussion

Narender's avatar
Narender
Copper Contributor
May 28, 2022
Solved

SharePoint list Form footer formatting with JSON

Hi  I am formatting sharePoint List  with JSON . I want Add to links to the footer . I am new to JSON. so i am able to add One link with JSON like below code. How can i add another link to the for...
  • PamDeGraffenreid's avatar
    May 29, 2022

    Narender   I think this is what you are looking for - let me know if it works for you.

    {
        "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
        "elmType": "div",
        "style": {
            "display": "flex",
            "flex-direction": "column",
            "justify-content": "flex-start",
            "align-items": "flex-start"
        },
        "children": [
            {
                "elmType": "a",
                "txtContent": "Link A",
                "attributes": {
                    "target": "_blank",
                    "href": "https://microsoft.com/"
                }
            },
            {
                "elmType": "a",
                "txtContent": "Link B",
                "attributes": {
                    "target": "_blank",
                    "href": "https://microsoft.com"
                }
            }
        ]
    }

     

Resources