Tuesday, September 30, 2008

Customizing the Search Results Web Part

So I was setting up a custom search results (Search Core Results) Web Part the other day to display some fields from a custom content type I created...

I added them to "Selected Columns" as you are supposed to, only to be confronted by the very annoying error message: "Property doesn't exist or is used in a manner inconsistent with schema settings."

This error is of course not particularly helpful, so after some digging I discovered that you can only selected columns that you have created Managed Properties for! (Ref: http://msdn.microsoft.com/en-us/library/ms560074.aspx) Totally lame, but at least now I know why it wasn't working, I must have never added non-managed properties before...

No comments: