Using taxonomy fields in SharePoint 2010: Part III

By bhoeijmakers at January 13, 2011 21:21
Filed Under: .NET, SharePoint 2010

This is part III in my series about using TaxonomyFields in SharePoint 2010. In this part I will talk about how to search TaxonomyFields. I will show how to set up the metadata properties and how to search TaxonomyFields programmatically. This post continues on my previous posts about this subject:

 

Introduction

Part I: Declaration and initialization

Part II: Using taxonomyfields programmatically

Part III: Searching taxonomy fields (you are reading it!)

 

Managed Properties

To use our taxonomyfields in SharePoint search they need to be available in the managed properties of the farm. This works a little bit different with TaxonomyFields than with other fieldtypes. In this example I use the custom contenttype created in part I of this series and make the contained TaxonomyField “My taxonomy field” searchable using SharePoint search.

More...

About the author

Bart-Jan Hoeijmakers is Lead SharePoint Developer at VX Company. Since 2006 he is the driving force behind the development of several enterprise SharePoint projects within VX Company. He is a hardcore developer in both SharePoint and ASP.NET and loves to dive into the dark sides of SharePoint development.

Month List