Group By Content-Type in SharePoint list view

In this article, I’ll show How to

Group By ‘Content-Type’ field in SharePoint list view

Group By 'Content-Type' field in SharePoint list


Scenario:

I have a SharePoint list with two Content Type eg: Item and Announcement,

Group By 'Content Type' in SharePoint list

I need to display the view grouped by the Content-Type field as shown below:

Group By 'Content-Type' field in SharePoint list

I tried to modify the view.

Modify ViewBut unfortunately, There is no field called Content Type in Group By section as shown below.No "Group By" Content Type In List View


Solution:

  • Modify your view > In the Group by section, > select any field like Title.
  • Open SharePoint Designer > From the left menue > Select List & Library > Click on your List .

Group By 'Content-Type' field in SharePoint list

  • In View Section, Click on your view to edit it.

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, It should be now grouped by Content type.

Group By 'Content-Type' field in SharePoint list


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

In this article, I have explained How to Group By “Content-Type” field in SharePoint List view?

Advertisements

2 thoughts on “Group By Content-Type in SharePoint list view

  1. This is great thanks 🙂

    One issue I have is on load it groups it by content type ID rather then content type in O365.

    If you click the content type then go back to the list it groups by content type.

    Anyone else having this issue?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s