Itemupdating event not
To recap on the previous post we are aiming to avoid the following problems when creating Share Point 2010 taxonomy fields through features: We found the first problem was due to a missing note field when creating a list definition that used the site column.
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.
At least in my testing when we create a list definition this isn’t all wired up correctly and the following steps were required.
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.
Note that if we are only creating a site column (or even a content type) this should work without completing the following steps.I find the easiest way to ensure all the columns are added to the list definition is to add them to a content type first.This content type should contain the managed metadata/taxonomy field, the note field and the Tax Catch All and Tax Catch All Label fields as shown below.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.With this information we can use the following steps to deploy managed metadata fields that avoid these issues.