Geoff Varosky's Blog

SharePoint, Office 365, Azure, and Other Musings…

  • Home
  • About
  • Blog Links
  • Calendar
Posts Comments
  • SharePoint
  • SharePoint 2010
  • Events
    • SharePoint Saturday
    • User Groups
      • BASPUG
  • Office 365
  • PowerShell
  • SharePoint Online
  • SharePoint 2013

ERROR: The column cannot be deleted because it is currently part of a composite column index.

October 17, 2011 5 Comments

image

If you’ve ever seen this error before, chances are, you are attempting to delete a Managed Metadata navigation in your list(s) in SharePoint 2010.

The answer to this is simple – you have indexing enabled on your column, and you are indexing multiple columns together, to create a composite index. The fix? Also simple. Go into the settings for your list or library, and under General Settings, click on Metadata navigation settings. As shown highlighted below.

image

Now if we look at the page, we can see what we’ve configured for Managed Metadata Services for this list. In my example, I allowed the default Folders and my custom column, MMSTest1 to allow for Managed Metadata Navigation within this Document Library, as well as used the MMSTest1 and Created columns as key filters.

image

Now, if you look at the bottom of the Metadata navigation settings screen, you will see this:

image

By default, if you haven’t changed this, any of the columns you use in the Metadata navigation settings, will be automatically indexed, and if you are selecting multiple columns to filter against under Key Filters, or under Configure Navigation Hierarchies, then you are creating an index with multiple columns – a composite index.

So you have two solutions to fix this…

  1. You can manually remove the indexes, either by clicking the Indexed Columns link under Configure automatic column indexing for this list, or, from the Document Library Settings page, clicking on Indexed Columns link under the Columns setting of the page (shown highlighted below)
    image

    Once you are there, you will see something like this:
    image

    Where number 3 on the index list shows the composite index.

  2. Or, if you leave the auto-indexing on under Metadata navigation settings,  removing the column from the key filters, and/or from the navigation configuration, then this will remove the composite index.

I may do a quick follow-up post to this soon to describe how columns are indexed using the metadata navigation screen at some point in the near future, and will link back to here, as it takes a little playing around to understand how it all works 😉

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print
Like Loading...

Filed under SharePoint, SharePoint 2010 Tagged with Composite Index, Document Libraries, Document Library, Index, Indexes, Metadata, Metadata Navigation, SharePoint, SharePoint 2010

Categories

Archives

Top Posts

  • PowerShell Script to Get HTTP Headers
  • Importing PowerShell Modules into Azure Automation

Twitter Feed (@gvaro)

Tweets by gvaro

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 87 other subscribers
All content copyright 2007-2017 Geoff Varosky. All rights reserved.

Blog at WordPress.com.

  • Subscribe Subscribed
    • Geoff Varosky's Blog
    • Join 87 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Geoff Varosky's Blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d