Imagine this: you’re using a good old SharePoint blog site, and have a bunch of categories in use. That’s nice and easy – SharePoint offers the categorization functionality natively, and it works decently. Problems arise when you have a lot of categories, though – not all of them will be shown. Even if you tweak the web part to show more items on a page, this isn’t reflected on the whole blog site!
This post article explains how to fix this.
For background info – the category listing is actually an XSLT list view web part. It’s not obvious just looking at it, but to change its view you’ll need to modify the list view it’s attached to.
With low numbers of categories, this works quite nicely.
By default, however, SharePoint only shows 30 first (alphabetically ordered) of your categories. Weirdly enough, it doesn’t show any paging for them – and it doesn’t even indicate in any way, that it’s not showing all of the categories! This is a bit annoying, so luckily there’s a way to change this.
Solution: Modify the view to show more categories on 4 different pages!
Changing the settings for the list viewer web part is simple enough. But first, you’ll need to create a new view that we’ll be using for this web part. To do that, you’ll need to open the “Categories” list for your blog web (it’s usually in an URL like “/Lists/Categories/AllCategories.aspx”). When there, just create a new view (you can base it on “All Categories” or create it from the scratch), set most of the settings to be whatever you want, but be mindful to set the “Item limit” to 99, and for the mobile view too! (see below)
Click “OK” to save it.
Great – now we’ve got the view, and we’ll just have to use it!
To achieve this, first, you’ll need to open the page in edit mode and edit the web part.
Then, you’ll want to create a new view and set it as the default one for this web part.
Now, the trick is realizing you’ll actually have to do this for 4 different pages. The default.aspx (blog home page), Post.aspx (page for viewing posts by ID) and Category.aspx (page for filtering by category) and Date.aspx (page for filtering by month). That’s a lot of pages to edit, but at least it’s a simple change.
After editing those 4 pages, you should be good! 🙂
Latest posts by Antti K. Koskela (see all)
- Subsite creation in SharePoint fails with error 0x80070005 for any user (even global/farm admins!) - December 4, 2018
- New-PnPSite fails with “SiteStatus” : 3 - November 29, 2018
- Issues with User Profile Property visibility in Search-powered functionalities - November 27, 2018
- “PictureThumbnailURL” always null in SharePoint Online Search results - November 21, 2018