Group By Content Type in SharePoint List View

group by content type sharepoint

In this article, we will explain How to group by Content Type in SharePoint 2016 and 2013 and SharePoint online.

You might also like to read DataView is disabled in SharePoint Designer 2013


Group By Content Type Field in SharePoint List View

  • In SharePoint 2016, I have a SharePoint list with two Content Types
    1. Item and
    2. Announcement,
Group By Content Type in SharePoint online

So that, I need to display this SharePoint List view grouped by the Content Type field as shown below:

Group By Content Type in SharePoint List View

So I thought I can modify the view and at Group by section I can group by Content Type field name!

Modify View

Unfortunately, I had noticed that there is no field called Content Type in Group By section as shown below.

No "Group By" Content Type In List View

How to Group By Content Type in SharePoint?

As we earlier mentioned, you can’t find Content Type field in the Group By section when modifying the list view. However, you can Group By Content Type in SharePoint by modifying the list view using SharePoint Designer as the following:

Steps

  • Modify your view > In the Group by section, > select any field like Title.
No Group By Content Type In SharePoint List View
  • Open SharePoint Designer > From the left menue > Select List & Library > Click on your List .
edit list view using SharePoint designer
  • In View Section, Right Click on your view and select “Edit file in Advanced Mode”.
Group By 'Content-Type' field in SharePoint list
  • Search for a <view> tag.
Group By 'Content-Type' in SharePoint list
  • Scroll horizontally till get the <GroupBy> tag as shown below.
Group By 'Content-Type' in SharePoint list
  • In <GroupBy> tag, Change the Name value to ContentType.
Group By 'Content-Type' field in SharePoint list
  • Save.
  • Open your view, your list view should be now grouped by Content Type.
Group By 'Content-Type' field in SharePoint list

Conclusion

In SharePoint list view, when modifying a list to group by a specific field, you will note that the content type field is not listed, so that here, we have provided a quick workaround to group by content type in SharePoint Online and SharePoint 2016 / 2013.

Applies To
  • SharePoint 2016.
  • SharePoint 2013.
  • SharePoint 2010.
  • SharePoint Online.

See Also

10 thoughts on “Group By Content Type in SharePoint List View”

  1. Pingback: Disable SharePoint Field in Edit Form | SPGeeks

  2. Pingback: Hide Content Type Column In Edit Form In SharePoint - ITCore

  3. Pingback: Hide Content Type Column In Edit Form In SharePoint – IT Core

Leave a Reply