Header sharepoint forms
Hello, I would like to show the reference (‘REF’ column) in the header of my form sharepoint but I can’t do it. This is a column of text.
Could you take a look and help me?
Below is the code used
{
“elmType”: “div”,
“attributes”: {
“class”: “ms-borderColor-themePrimary”
},
“style”: {
“width”: “99%”,
“border-top-width”: “0px”,
“border-bottom-width”: “2px”,
“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”: “RealEstate”,
“class”: “ms-fontSize-su ms-fontWeight-regular ms-fontColor-themePrimary”
},
“style”: {
“flex”: “none”,
“padding”: “0px”,
“padding-left”: “0px”,
“height”: “36px”
}
}
]
},
{
“elmType”: “div”,
“attributes”: {
“class”: “ms-fontColor-neutralSecondary ms-fontWeight-bold ms-fontSize-xl”
},
“style”: {
“box-sizing”: “border-box”,
“width”: “100%”,
“text-align”: “left”,
“padding”: “21px 12px”,
“overflow”: “hidden”
},
“children”: [
{
“elmType”: “div”,
“txtContent”: {
“operator”: “+”,
“operands”: [
“Détail XXXXXXX “,
“[$REF]”
]
},
“style”: {
“height”: “24px”
}
}
]
}
]
}
Hello, I would like to show the reference (‘REF’ column) in the header of my form sharepoint but I can’t do it. This is a column of text.Could you take a look and help me?Below is the code used{“elmType”: “div”,”attributes”: {“class”: “ms-borderColor-themePrimary”},”style”: {“width”: “99%”,”border-top-width”: “0px”,”border-bottom-width”: “2px”,”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”: “RealEstate”,”class”: “ms-fontSize-su ms-fontWeight-regular ms-fontColor-themePrimary”},”style”: {“flex”: “none”,”padding”: “0px”,”padding-left”: “0px”,”height”: “36px”}}]},{“elmType”: “div”,”attributes”: {“class”: “ms-fontColor-neutralSecondary ms-fontWeight-bold ms-fontSize-xl”},”style”: {“box-sizing”: “border-box”,”width”: “100%”,”text-align”: “left”,”padding”: “21px 12px”,”overflow”: “hidden”},”children”: [{“elmType”: “div”,”txtContent”: {“operator”: “+”,”operands”: [“Détail XXXXXXX “,”[$REF]”] },”style”: {“height”: “24px”}}]}]} Read More