Archive for the ‘metadata’ tag
Adding Managed Metadata Fields to SharePoint Publishing Pages
The Managed Metadata functionality provided by SharePoint 2010 allows you to centrally manage metadata and keywords. In a previous post I covered how to provision a SharePoint 2010 managed metadata field and add this to a content type and a list definition. In this post I will cover how to add these types of fields to a publishing page layout so that content authors can add metadata and keywords to webpages they create using these layouts.
If there are a large number of content pages this type of tagging can help users find information as these columns can be used… Continue reading Adding Managed Metadata Fields to SharePoint Publishing Pages »
Provisioning SharePoint 2010 Managed Metadata fields
The first part of this two part series discussed some of the problems with provisioning SharePoint 2010 managed metadata fields. This post will cover a robust method of deploying SharePoint 2010 managed metadata columns in a way that avoids common errors and enables the columns to automatically show up in the search refinement panel.
To recap on the previous post we are aiming to avoid the following problems when creating SharePoint 2010 taxonomy fields through features:
- If you create a list definition that uses this site column you get the error: Failed to get value of the “{0}” column from the “Managed Metadata” field type control. See details in log. Exception message: Invalid field name. {00000000-0000-0000-0000-000000000000}.
- The managed metadata column does not appear in
Issues provisioning SharePoint 2010 Managed Metadata fields
I’ve been working with the managed metadata functionality provided in SharePoint 2010 fairly extensively over the past few months. While it is a great feature and works well when used through the UI it has several rough edges that can cause problems when you are deploying features that use managed metadata fields. Some of these have been documented elsewhere but some of these haven’t so this will be the first of two posts covering (1) some of the potential problems using managed metadata (this post), and (2) a robust way of provisioning SharePoint 2010 managed metadata fields.
SharePoint 2010 column default values missing
Default Column Values
SharePoint 2010 has some great document management enhancements. One of these is the ability to set location based metadata defaults. This allows you to specify default metadata for documents based on the document library or folder they are uploaded to (i.e. a document could be automatically tagged with Subject=Legal when uploaded to one folder or Subject=Finance if uploaded to another). This is especially useful in situations where users are bulk adding documents that need to have the same metadata applied.
The Problem
I was showing a developer this feature recently when I noticed that on one particular library the column default settings were not applied. The settings were available and I could set the properties correctly using the default column values page but when we tried… Continue reading SharePoint 2010 column default values missing »