Forum Discussion
How to hide "New item" title on SharePoint List Form?
Hi there,
I have a SharePoint List with a PowerApps customized list form, however when viewing the app on SharePoint full screen (via NewForm.aspx), it shows this annoying 'New item' title, that I can't seem to figure out how to remove.
There doesn't seem to be any settings, and I opened the site in File Explorer and looked at the NewForm.aspx file and couldn't find the title in the code. Any help?
19 Replies
- AniruddhokodaliCopper Contributor
You can achive this by formatting the Header using JSON
here is the code:
{
"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": " ",
"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": " "
}
]
}
]
}Please let me know if this could resolve your issue.Thanks.
- mythiliaravindCopper Contributor
this code working in sharepoint list form itself, and when i copy the form link and paste in new window not working because showing New item .for this what a do?
- mythiliaravindCopper ContributorThank you for me working.
- tommypangCopper ContributorAniruddhokodali, would you please elaborate on how you could format the header? Which header? I would like to get this annoying "New Item" label out of the new list form that I am creating. Thank you.
- RobElliottSilver Contributor
JPJPJP I have the same but unfortunately there is no way to remove it or change the title.
Rob
Los GallardosMicrosoft Flow Community Super User
- I do not experience this with my custom PowerApp form. Wondering if it's something with the list type, or possibly you are on standard release or a GCC tenant? I do have the additional "Copy Link" in my menu so I feel it might be a newer release in my tenant.
- JPJPJPBrass Contributor
ChrisWebbTechIt's not on the side window PowerApps form, but on the full page version of the PowerApps form. You can see that by going to your list, and changing "AllItems.aspx" to "NewForm.aspx" in the URL. If you do that, you still don't see 'New item' above your form?