Forum Discussion
JSON formatting not sticking in SharePoint Online List Form
- Feb 19, 2022Another update and just tried this right now. I saw from another post for a different issue that they changed the list settings - >Advanced Settings - > set Offline Client Availability to No. When I did this on the lists I was having issues with, it worked! the formatting sticks. I'll check again next week and make sure. Let me know if this works for you guys.
Same this kept happening to me... I kept adding the JSON to Configure Layout, looks perfect, then after a browser refresh, the JSON had been removed. I had tried Chrome and Edge. Just tried Firefox and it STUCK! The JSON is still there after a browser refresh. Hoping it stays for good.
Update... this isn't good... now it's stuck in there and when I go back in to edit the JSON, it's showing as blank again, but the previous formatting I added is there. and, I can't overwrite it with new JSON. UGH!
Okay another update... I followed this video tutorial here:
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjgtPCls_j1AhWHHjQIHTWrDOQQwqsBegQIBhAB&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dye3-kGsTy-4&usg=AOvVaw0T04tlwyN5NOCGM3ix2iRE
and used her JSON code and it seems to be really sticking now. She is using Chrome in the video and I am using Firefox. I refreshed, cleared browser cache, closed and reopened my browser and the JSON is still there and functioning to where I can update it and it overwrote my old code.
- pdfrigFeb 19, 2022Brass Contributor
KaraLynnMcGinn - Thanks for sharing! We use Edge in our firm, although some users are allowed to use Chrome, Edge is our official browser. But it doesn't work in Chrome either. The custom formatting works fine on Edge/Chrome on one of my machines, but not the other. But other users are having the same issue as well. Also another interesting thing I found is from list view, if you click on New Item and copy the link or copy the link from one of the entries, if you paste in a new window, the formatting is intact!
I've been working with Edge Support and SPO. We tested also in I.E. Mode and it worked. But we wouldn't want to use I.E. for this. I'm still working with them so hopefully they can come up with a solution that will work with Edge, will keep you all posted.- pdfrigFeb 19, 2022Brass ContributorAnother update and just tried this right now. I saw from another post for a different issue that they changed the list settings - >Advanced Settings - > set Offline Client Availability to No. When I did this on the lists I was having issues with, it worked! the formatting sticks. I'll check again next week and make sure. Let me know if this works for you guys.
- Gabriel_SuarezMay 09, 2022Copper ContributorThis worked for me THANKS A LOT!!!!!