Tuesday, 6 December 2011

Navigation Key Filters and Hierarchies

SharePoint 2010 Navigation Hierarchies and Key Filters

Navigation Hierarchies
Navigation Hierarchies appear in the left hand pane of the new user interface and allow users to navigate metadata taxonomy in order to filter the view of lists / document libraries etc. For example, I've setup a document library that contains documents with different security classifications.  To do this I've added a column called Classification that has possible values of PUBLIC, CONFIDENTIAL and INTERNAL. Here is the document library:


Navigation4


I can turn on the navigation hierarchy for this library by going into the Document Library settings, selecting Metadata Navigation Settings, and then adding the Classification column to the list of Selected Hierarchy Fields.

Navigation

Once this Setting is in place we can go back to our document linrary and we will see Classification as a available field in the Hierarchy:
Navigation2

By clicking on the CONFIDENTIAL value in the hierarchy, I will see only the CONFIDENTIAL documents in my library.

Navigation3

Maybe not that impressive in a document library that only has 15 documents, but in a library that may contain a few hundred documents this would really help users filter down to specific documents they want to find and work with.


Key Filters

Key Filters also appear in the left hand pane of the user interface just below the navigation hierarchy. Key Filters operate in a similar fashion to the navigation hierarchy.  They are also used to filter a list or document library.  The difference is that the user does not have to navigate a hierarchy, they can simply type in the value they wish to filter on, or in some cases select the value from a drop down list.  When the user clicks Apply, their list or library will be filtered based on the value.

Navigation5

In order to configure the Key Filters option, the administrator goes into the Document Settings, Metadata Navigation Settings, and then adds the Classification column to the Selected Key Filters Fields.

Navigation6

These features should help your users get more value out of the metadata.  If you are interested in using metadata for SharePoint security see the Metadata Security blog.

Thursday, 1 December 2011

Removing Unused Service Application App Pools Using Power Shell

1.  Log into your Central Administration server

2.  Bring up SharePoint 2010 Management Shell (PowerShell) using Admin rights

3.  To list all SharePoint 2010 Service Application App Pools run this PowerShell cmdlt

Get-SPServiceApplicationPool

4.  To remove the Service Application App Pools simply run this PowerShell cmdlt
Remove-SPServiceApplicationPool “[Name of Service Application App Pool]“

5.  You will be promoted to confirm:
Are you sure you want to perform this action?
Performing operation “Remove-SPServiceApplicationPool” on Target “Name of Service Application Pool”
[Y] Yes [A]Yes to All [N] No [L] No to All [S] Suspend [?] Help
<default is “Y”>:


6.  After selecting Y for Yes, you can now double check to make sure the Service Application App Pool was indeed removed by re-running the Get-SPServiceApplicationPool cmdlt

7.  You should no longer see the Service Application App Pool.

8.  Now you can go back to Central Administration and attempt to create the Service Application App Pool using the same name used previously.