in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Sander's Blog

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?

Comments

 

Serge van den Oever [Macaw] said:

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!

January 22, 2008 5:41 PM
 

Sander de Koning said:

Thanks for the tip Serge! added the screenshot now;

January 23, 2008 3:37 AM
 

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

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

January 27, 2008 8:13 AM
 

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

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

January 27, 2008 8:21 AM

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts