Mimicking the “Enterprise Keywords” term set with a custom control
Sharing Our Expertise

Our consultants solve challenging business problems and love sharing their knowledge. Tap into our insights and put them to work for you.

Back to Blogs >>

Published by Chris Johnson, on Tuesday, April 8, 2014

I’ve often wondered if the functionality of the “Enterprise Keywords” term set and its control can be recreated with a custom term set.  This functionality is mainly:

  • Users can enter as many terms as desired into a single control
  • Terms that don’t resolve to existing terms are automatically added to the term set on submit (rather than requiring the user to explicitly create new terms)

It turns out that you can, as long as you implement a custom control to do so.

The TaxonomyWebTaggingControl has a boolean property called IsAddTerms that, when set to “true” (the default value is “false”), will attempt to add whatever is currently typed in the control to the control-bound term set.

Hey, listen!  To alternatively allow a user to explicitly add a term to the term set, set the “AllowFillIn” property of the control to “true”

This, combined with setting the IsMulti property to true and binding the control to a custom term set, could theoretically reproduce the functionality of the “Enterprise Keywords” term set in a more tightly-governed manner that does not require all terms to be visible throughout the term store, and can add terms automatically to a custom term set.

Categories: SharePoint,SharePoint 2013,Enterprise Keywords,managed metadata,Microsoft.SharePoint.Taxonomy,multiple-select managed metadata,PSC,sharepoint,term set,term store,terms

Original Post: https://thedotnetter.wordpress.com/2014/04/11/mimicking-the-enterprise-keywords-term-set-with-a-custom-control/

Recommended For You
Join Mark Roden for "Using VSTS to automate build and deployment tasks for SharePoint Framework webparts" at SharePoint Fest Chicago on Dec 7.
View More ...
What do email-enabled apps look like in the modern (cloud) workplace? In this multi-part series, I try to answer that very question– beginning ...
View More ...
I use it all day, every day at work. I also help run my office Fantasy Football league. See where this is headed? This year, I decided to run our...
View More ...
Confidence in info security and access gets a lot of attention when using SharePoint Online. Here's how to set it properly for your requirements.
View More ...