Forum Discussion

bryanfrumkin220's avatar
bryanfrumkin220
Brass Contributor
Jul 17, 2026
Solved

Power Automate List Formatting - Compact List Rows

Hey everyone,  I am hoping I can get some assistance on the following request. I am currently using a SharePoint for leadership to request creation of an item, once the request goes in multiple...
  • bryanfrumkin220's avatar
    bryanfrumkin220
    Jul 20, 2026

    I have found a solution!

    If you're using a "Send an HTTP request to SharePoint" action to apply custom JSON view formatting to a list view, your request body looks something like this:

    {
      '__metadata': { 'type': 'SP.View' },
      'CustomFormatter': '@{outputs('Compose')}'
    }

    To also set the view to Compact List density, add the ViewType2 property with a value of COMPACTLIST:

    {
      '__metadata': { 'type': 'SP.View' },
      'CustomFormatter': '@{outputs('Compose')}',
      'ViewType2': 'COMPACTLIST'
    }

    Because both properties live on the same SP.View object, this single call applies your custom formatting and sets compact row height at once