Blogroll

Tuesday, May 14, 2013

Folder child count and Item Child Count in SharePoint 2010


I had a very different requirement from one of my client where he asked me if we there is any feature in SharePoint where we can count how any numbers of folders/ items each folder have.

I know this was possible using SP.ItemCount class using some C# code in SharePoint 2007. However was looking something out of box in SharePoint.

While looking at this, I came to know that there two new columns introduced in SharePoint 2010 named Folder child count and Item Child Count.

Item Child Count – This column when added to the view will display the number of items\files in a folder (only if the item is a folder else it displays zero). The count does not include any sub-folders or items in those sub-folders.

This column can be added by modifying the default (or whatever) views your using and selecting “Item Child Count” from the columns list.

Folder child count - This column when added to the view will display the number of subfolders in a folder (only if the current item is a folder else it displays zero).This column can be added by modifying the default (or whatever) view your using and selecting “Folder child count” from the columns list.

If you have any queries/questions regarding the above mentioned information then please let me know.

I would be more than happy to help you as well as resolves your issues, thank you.

Applies to: SharePoint 2010, SharePoint Foundation Server.

No comments:

ShareThis

snow flakes

blogger widgets Blogspot Tutorial

LinkWithin

Related Posts Plugin for WordPress, Blogger...