Is there a way to determine if the Metadata Navigation and Filtering
feature is activated on a site collection?
I've looped through the farm features, site features and web features but I can only find this feature at the farm level. However, this can be activated down at the site collection level.
SPFeatureCollection spfc = web.Features;
foreach (SPFeature f in spfc)
{
spew(f.Definition.DisplayName);
}
SPFeatureDefinitionCollection spfdc = site.FeatureDefinitions; //this is empty
foreach (SPFeatureDefinition f in spfdc)
{
spew(f.DisplayName);
}
I also saw TaxonomyFieldAdded
but that doesn't seem to indicate that metadata is currently activated on the site collection.