Vladi Gubler
Vladi Gubler
August 25, 2012
Stay in the know
Get helpful videos

Hi,

We recently needed to add suppot for Managed Metadata column in out List Search product. Managed metadata column is of type TaxonomyFieldType, which in turns derives from the Lookup column type. List Search in its Advanced mode provides an interactive search query builder. You can enter up to 5 conditions, selecting a column for the condition will filter the list of possible operators and also present a suitable value selector, e.g. a date picker for a date or a combo box for lookups/choice fields.

Originally developed for 2007, List Search had no specific support for managed metadata. In fact, it treated it as a lookup field (because of the inheritance), which basically broke it completely.

When we got the request to support managed metadata field type, we started checking the possibilities. First we investigated the option of treating it as a lookup field. But apparently that would have required us to retrieve the IDs using SharePoint Server 2010-specific object model, introducing a lot of complexity (as we still need to support 2007 as well).

But the solution was actually extremely simple. Just use the field as you would any lookup, basing your query on the display value, not the ID. SharePoint will support any types of queries you can on a text field, such as equals, contains or begins with. So you can even enter just a couple of characters and receive search results!

Something like this works great:

<Where>
<Contains>
<FieldRef Name="ManagedMetadata"/>
<Value Type="TaxonomyFieldType">My Value</Value>
</Contains>
</Where>

So thanks to Microsoft for making it so easy for us!

Loading...

Add your comment

Comments are not meant for support. If you experiencing an issue, please open a support request.
Build powerful business applications in SharePoint using only your browser.
100% No-Code Solution
It’s never been easier to create, innovate, and share. All you need is your web browser!
Cost-Effective
Address business process pain points immediately. Save time and money.
Fantastic Support Team
In addition to our responsive support team, a wide variety of resources, documentations, tutorials, blogs and webinars is available to you

Flexible Forms

Convenient responsive modern forms, featuring tabs, section and column permissions, dynamic rules, repeating sections, electronic signatures and input validation, while keeping all your data safely inside SharePoint
Form designer Form designer

Intuitive Automation

Replace complex SharePoint and Power Automate workflows with simple, but versatile Actions to create and update data inside SharePoint and in a variety of integrated applications, such as Exchange, MS SQL, Teams and many more
Automation Automation

Clear Reporting

Present data as actionable insights with detailed shareable reports, dashboards, KPIs, calendars and charts
Reporting Reporting

100’s of Templates

Easily create, replicate and distribute forms and automation-enhanced SharePoint business solutions, selecting from our vast free library and creating your own custom templates in Infowise UltimateForms
Templates Templates
Dive deeper
Watch a short introductory video showcasing the different unique capabilities of UltimateForms.
Microsoft partner logo
© 2005-2025 Infowise Solutions Ltd. All rights reserved.
Privacy | Cookie Policy | Accessibility | Cloud SLA