Share via

Sharepoint list view JSON formatting: unable to reference @group.fieldData in groupProps > footerFormatter

Elizabeth 20 Reputation points
2026-04-20T21:07:23.75+00:00

When grouping by column in a Sharepoint list view, is it possible to reference @group.fieldData in the footer of each group? It works in groupProps > headerFormatter, but in footer it displays as blank. I would like to use @group.fieldData or fieldData.displayValue as a dynamic value. As an example:

{

"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",

"groupProps": {

"footerFormatter": {

  "elmType": "div",

  "children": [

    {

      "elmType": "a",

      "style": {

        "font-size": "18px"

      },

      "attributes": {

        "href": "='https://www.google.com/search?q=' + @group.fieldData.displayValue"

      },

      "txtContent": "More"

    }

  ]

}

}

}

Microsoft 365 and Office | SharePoint | Development
0 comments No comments

Answer accepted by question author

  1. Q&A Assist
    2026-04-20T21:07:33.7866667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    @group.fieldData is only supported in the group header context. In the current view formatting capabilities, the group footer (groupProps > footerFormatter) uses the same schema as column/row formats but does not expose the @group object, so @group.fieldData (or @group.fieldData.displayValue) will resolve to blank there.

    In other words, the behavior observed is by design: @group.fieldData can be used in headerFormatter, but it is not available in footerFormatter. The footer can still use the standard context tokens and field references (for example [$InternalName], [!InternalName.DisplayName], @now, @rowIndex, etc.), but not the group metadata object.

    A dynamic value based specifically on the group’s fieldData cannot currently be produced in the group footer via @group.fieldData; any workaround would need to rely on other available tokens or precomputed fields in the list.


    References:

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.