The json formatting code provided by Microsoft at this page: List layout customizations under "Build custom group headers and footers" doesn't seem to work.

If I remove the nested if(s) I manage to get the background color on 1 value, but I still can't manage to get a picture.

If I put the nested if I get a JSON error "unexpected end of string":

enter image description here

I've tried many things without success. Thanks for you help!

  • Are you copying the JSON from documentation as is or did you make any changes to the JSON? Please edit your original question and provide the current JSON you are using in case if you have modified it. Commented Mar 1 at 10:34
  • As the documentation saids The JSON below contains line breaks. These have been added to improve the readability of the code. so lines 18 to 23 must be on the same line.
    – jleture
    Commented Mar 1 at 15:35
  • Can you share your JSON in the form of code which will help me to test your JSON to find out the problem. Please be careful not to disclose your private information. Commented Mar 4 at 2:17


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.