Jul 30 2021 12:33 PM
Hi
I am formatting a SharePoint List Form following the Microsoft documentation Configure the list form | Microsoft Docs
Both the Form Header & Footer work well. However the Body does not! It simply won't show when "Preview" is pressed and I get no errors on my JSON (copied below). I have tried to create more sections with less fields, but still - simply nothing happens! No error message nothing, when I click "Preview".
If I click "Save" it simply closes the form and when I open it again the JSON is gone.
Can someone help?
I want to avoid creating a new form using PowerApps Integration as the changes we want are quite simple!
{
"sections": [
{
"displayname": "Role",
"fields": [
"Resource Role"
]
},
{
"displayname": "Details",
"fields": [
"Months",
"Min Rate",
"Max Rate",
"Line Manager",
"Project",
"Geography",
"Charge To"
]
},
{
"displayname": "Contract",
"fields": [
"Contract Terms to Add"
]
}
]
}
Aug 03 2021 07:37 AM
Aug 03 2021 08:17 AM
Aug 04 2021 04:19 AM
Aug 04 2021 06:58 AM
Solution
I have observed this behavior as well on my SharePoint site. Try below things after "saving" the JSON in body section:
It worked for me after hard refresh and I also think that this is a temporary issue from Microsoft side (maybe because of latest updates in SharePoint online).
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Oct 19 2021 05:21 AM
Nov 02 2021 08:02 AM
Facing the same issue .@JHS2020
Nov 09 2021 04:01 PM
Nov 14 2021 10:42 PM
It is not working on subsites or teamsites. The format just crashes when an item is selected and the "Edit all" button is pressed.
Nov 24 2021 07:58 AM
Seems its still an issue. By clearing browser cache and hitting F5 it started working. But the list items which were opened in the past seems having some cache and they are not considering the formatting.
Hope this will be resolved soon.
Nov 25 2021 11:13 AM
@ganeshsanap I'm having the same issue, but the hard refresh did not work for me. Strangely, the loss appeared to happen in stages: after the first save, the edit form appeared to have the proper sections and a wide-screen format. After the refresh I opened a list item, and the edit form showed the proper sections, but in a vertical format. The next time I opened a list item (immediately after), the sections had disappeared.
Nov 29 2021 12:54 AM
Nov 30 2021 11:36 AM
Dec 01 2021 01:28 AM
Dec 02 2021 10:31 AM
Dec 02 2021 11:22 AM
@Klutzu2 BRUuuuh! this worked. I forgot I even created this one from another list but must have been.
Thankyou for your service.
Dec 04 2021 08:54 AM - edited Dec 04 2021 10:26 AM
Issue prevails with a list created from scratch (blank list) and a custom content type added.
See https://sharepoint.stackexchange.com/questions/299257/sharepoint-list-loosing-json-formatting
Dec 05 2021 11:29 AM
Dec 05 2021 02:30 PM
@BennoS I too had the feeling it was working in the beginning, but I am not sure. Just discovered it later on.
Dec 07 2021 02:33 PM
Aug 04 2021 06:58 AM
Solution
I have observed this behavior as well on my SharePoint site. Try below things after "saving" the JSON in body section:
It worked for me after hard refresh and I also think that this is a temporary issue from Microsoft side (maybe because of latest updates in SharePoint online).
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.