Forum Discussion

JoelGDucharme's avatar
JoelGDucharme
Copper Contributor
Mar 10, 2024
Solved

Formatting form header

I have a Sharepoint list for our contacts. I am formatting the form and want to change the header.   I used the example that adds        "children": [ { "elmType": "div", "txtContent": "= 'Dét...
  • ganeshsanap's avatar
    Mar 11, 2024

    JoelGDucharme 

     

    Last time I checked, using calculated columns in the form header JSON formatting was not supported. Check details: How to get value of Calculated field in Header using JSON? 

     

    So, you will have to recreate the logic you used for your calculated column in the JSON formatting using JSON operators/functions.

     

    1. What is the formula used in your calculated column? I can suggest how to build same logic in SharePoint JSON formatting by looking at the formula.
    2. SharePoint JSON formatting works with internal name of columns. You can get the internal name of your SharePoint list columns by following this article: How to find the Internal name of columns 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.

Resources