Forum Discussion
Adding a statement to a list
For the list itself you could add additional text to the title without changing the internal name of the column
Just click on the list title next to the icon and add your additional text. Out of the box there is no other way to add in a statement at the top of the list.
For the list form you can some text like in my form below:
To do this click the Add new item button, then in the top right click the pen & paper dropdown and select Configure layout:
In the format pane that appears, make sure the header section is selected. Initially there will be nothing in the formatting code box.
I used the following JSON and you'll need to change the column names to yours and make any other changes or additions to to suit your requirements:
{
"elmType": "div",
"attributes": {
"class": "ms-bgColor-themePrimary ms-fontColor-white"
},
"children": [
{
"elmType": "div",
"style": {
"margin": "10px",
"width": "100%",
"border": "none",
"padding": "10px",
"display": "=if([$Title] == '' , 'none' , 'flex')",
"flex-direction": "column"
},
"children": [
{
"elmType": "div",
"txtContent": "[$Title]",
"style": {
"text-align": "left"
},
"attributes": {
"class": "ms-fontSize-28 ms-fontWeight-bold"
}
},
{
"elmType": "div",
"txtContent": "For assistance please call 555-7886",
"style": {
"text-align": "left",
"display": "=if([$field_10] == '' , 'none' , '')"
},
"attributes": {
"class": "ms-fontSize-16"
}
}
]
}
]
}
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)
Hi Rob - Thank you so much for your response. I think I may have confused matters.
I have already created a partial template (as below), with various fields/columns. The one I have highlighted in red below is the one that I want as a permanent statement (along with the actual telephone numbers). So that everytime someone opens up a template, the statement will be there. Is that something that can be easily done?
Thanks again
James