< All Topics
Print

json for forms

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-configuration

formatting ideas

https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#creating-custom-json

Show or hide columns in a list form | Microsoft Docs

Headers

{
“elmType”: “div”,
“attributes”: {
“class”: “ms-borderColor-neutralTertiary”
},
“style”: {
“width”: “99%”,
“border-top-width”: “0px”,
“border-bottom-width”: “1px”,
“border-left-width”: “0px”,
“border-right-width”: “0px”,
“border-style”: “solid”,
“margin-bottom”: “16px”
},
“children”: [
{
“elmType”: “div”,
“style”: {
“display”: “flex”,
“box-sizing”: “border-box”,
“align-items”: “center”
},
“children”: [
{
“elmType”: “div”,
“attributes”: {
“iconName”: “Group”,
“class”: “ms-fontSize-42 ms-fontWeight-regular ms-fontColor-themePrimary”,
“title”: “Details”
},
“style”: {
“flex”: “none”,
“padding”: “0px”,
“padding-left”: “0px”,
“height”: “36px”
}
}
]
},
{
“elmType”: “div”,
“attributes”: {
“class”: “ms-fontColor-neutralSecondary ms-fontWeight-bold ms-fontSize-24”
},
“style”: {
“box-sizing”: “border-box”,
“width”: “100%”,
“text-align”: “left”,
“padding”: “21px 12px”,
“overflow”: “hidden”
},
“children”: [
{
“elmType”: “div”,
“txtContent”: “Submit a request for a Team or SharePoint site”
}
]
}
]
}

Footers

{
“elmType”: “div”,
“style”: {
“width”: “100%”,
“text-align”: “left”,
“overflow”: “hidden”,
“border-top-width”: “1px”
},
“children”: [
{
“elmType”: “div”,
“style”: {
“width”: “100%”,
“padding-top”: “10px”,
“height”: “24px”
},
“children”: [
{
“elmType”: “div”,
“txtContent”: “Thank you”
}
]
}
]
}

Previous Json for button to open a item
Next links to edit and view forms etc
Table of Contents