You will also want to add in the file dialog view as it goes missing when using the Visual Studio 2010 tools.
The first part of this two part series discussed some of the problems with provisioning Share Point 2010 managed metadata fields.
With this information we can use the following steps to deploy managed metadata fields that avoid these issues.
I’ve also created an example project that I’ve included at the end of the article if you want to see this working for yourself.
The second problem was due to the missing Tax Catch All and Tax Catch All Label columns and missing event receivers on the list definition.
The last issue can be easily avoided by adding a feature dependency to ensure the required feature is activated before we deploy our custom site column.
You won’t get any obvious error messages and the feature is hidden so you won’t see it in the site features list either.
The Taxonomy Field Added feature is not activated on sites created using the blank site template, or sites created using custom site definitions so a good idea is to include a feature activation dependency that ensures this is activated before we attempt to provision our field.
This and the following step is often missed out in other articles but cause problems if you try to create custom list definitions that include the managed metadata column. The problem stems from the fact that Share Point is looking for an associated note (i.e.
The specific error message you get is: Error – Failed to get value of the “” column from the “Managed Metadata” field type control. text) field that is required for the metadata column to work.
Wictor Wilén is the Nordic Digital Workplace Lead working at Avanade.
Wictor has achieved the Microsoft Certified Architect (MCA) - Share Point 2010, Microsoft Certified Solutions Master (MCSM) - Share Point and Microsoft Certified Master (MCM) - Share Point 2010 certifications.
This post will cover a robust method of deploying Share Point 2010 managed metadata columns in a way that avoids common errors and enables the columns to automatically show up in the search refinement panel.