SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Need SharePoint Training? Attend a SharePoint Bootcamp!

Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!

Multi-valued (ARRAY) Comparisons only for Choice fields

The new Multi-Value fields are causing me quite some headaches lately. Exporting to Excel does not work, showing in Content-Editor-Webparts does not work, SharePoint Designer does not understand them, and now there's an issue querying them trough the Search Engine…

   

The SDK describes Multi-valued (ARRAY) Comparisons in Windows SharePoint Services Search SQL Syntax, but when using it it returns an error. The problem lies in SharePoint not recognizing an Multi-Value Lookup as Multi-valued.

You can use the MetaData Property Mappings page to check whether an Site Column gets indexed as a Multi-Value column:

I used an out-of-the-box environment with SP1. I've made a Content Type and added/created some Site Columns of different Multi-Value types:
- Multi Choice field
- Multiline text field (I know, this is just a blob, but I wanted to be sure..)
- Multiline text field with unlimited length
- Multi-Value Lookup field
- Multi-Value Lookup field with unlimited length
- Multi-Value People field

Except for the Multi Choice field none of them gets recognized as a Multi-Value field. I even tried to create a piece of content based on the content type with Multiple selections made, before I let the Index server crawl the content and discover the new Site Columns. If it doesn't see it by then it never wil… So were stuck using LIKE operators, which will probably not do the performance any good.  

   

Anyone with the same experience or a workaround?


Posted 01-21-2008 5:25 PM by Sander de Koning

Comments

Serge van den Oever [Macaw] wrote re: Multi-valued (ARRAY) Comparisons only for Choice fields
on 01-22-2008 5:41 PM

He Sander, you make it to easy for yourself! Get an external location for your weblog images, I used a public ftp accessible folder on my xs4all account for years. Configure your blog writing software like Word 2007 or Live Writer to upload the images over there.

But it sucks that sharepointblogs.com is not allowing upload of images to the blog post itself!

Keep up the good blogging work!

Sander de Koning wrote re: Multi-valued (ARRAY) Comparisons only for Choice fields
on 01-23-2008 3:37 AM

Thanks for the tip Serge! added the screenshot now;

SharePoint Link Love: 01-27-2008 part six at Virtual Generations wrote SharePoint Link Love: 01-27-2008 part six at Virtual Generations
on 01-27-2008 8:13 AM

Pingback from  SharePoint Link Love: 01-27-2008 part six at  Virtual Generations

SharePoint Link Love: 01-27-2008 part four at Virtual Generations wrote SharePoint Link Love: 01-27-2008 part four at Virtual Generations
on 01-27-2008 8:21 AM

Pingback from  SharePoint Link Love: 01-27-2008 part four at  Virtual Generations

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Need SharePoint Training? Attend a SharePoint Bootcamp!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.