View Formatting - JSON

%3CLINGO-SUB%20id%3D%22lingo-sub-1137349%22%20slang%3D%22en-US%22%3EView%20Formatting%20-%20JSON%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1137349%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20been%20using%20JSON%20on%20SharePoint%20List%20to%20showcase%20information%20better.%20Here%20is%20how%20it%20starts%3A%3C%2FP%3E%3CP%3E%7B%3CBR%20%2F%3E%22%24schema%22%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fjson-schema%2Fsp%2Fview-formatting.schema.json%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fjson-schema%2Fsp%2Fview-formatting.schema.json%3C%2FA%3E%22%2C%3CBR%20%2F%3E%22hideSelection%22%3A%20true%2C%3CBR%20%2F%3E%22hideColumnHeader%22%3A%20true%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20using%20this%20for%20a%20while%20and%20I%20have%20had%20no%20issues.%20Ever%20since%20SharePoint%20lets%20you%20%22switch%20to%20Design%20Mode%22%20on%20Format%20View%2C%20the%20%22hideColumnHeader%22%20has%20not%20been%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20been%20able%20to%20fix%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFYI-%20while%20I%20edit%20the%20list%2C%20it%20will%20work%20but%20once%20i%20put%20the%20list%20into%20a%20SharePoint%20page%2C%20it%20will%20still%20show%20the%20column%20headers%20(BIG%20NO%20NO).%20It%20used%20to%20not%20show%20it.%20Also%2C%20my%20code%20is%20not%20wrong%2C%20It%20is%20now%20a%20template%20i%20use%20for%20multiple%20lists%20with%20no%20issues%20until%20recently!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1137349%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

I've been using JSON on SharePoint List to showcase information better. Here is how it starts:

{
"$schema": "https://developer.microsoft.com/json-schema/sp/view-formatting.schema.json",
"hideSelection": true,
"hideColumnHeader": true,

 

I have been using this for a while and I have had no issues. Ever since SharePoint lets you "switch to Design Mode" on Format View, the "hideColumnHeader" has not been working.

 

Has anyone been able to fix this?

 

FYI- while I edit the list, it will work but once i put the list into a SharePoint page, it will still show the column headers (BIG NO NO). It used to not show it. Also, my code is not wrong, It is now a template i use for multiple lists with no issues until recently!

0 Replies