<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://jay.leask.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Digital Serenity : Community Server, Community Server 2008</title><link>http://jay.leask.com/archive/tags/Community+Server/Community+Server+2008/default.aspx</link><description>Tags: Community Server, Community Server 2008</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>QueryOverrides and the GroupsToSearch attribute</title><link>http://jay.leask.com/archive/2008/08/26/queryoverrides-and-the-groupstosearch-attribute.aspx</link><pubDate>Tue, 26 Aug 2008 23:50:09 GMT</pubDate><guid isPermaLink="false">8d8a2304-c812-41d6-94bc-4e6dd6490643:67</guid><dc:creator>jleask</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://jay.leask.com/rsscomments.aspx?PostID=67</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://jay.leask.com/commentapi.aspx?PostID=67</wfw:comment><comments>http://jay.leask.com/archive/2008/08/26/queryoverrides-and-the-groupstosearch-attribute.aspx#comments</comments><description>&lt;p&gt;QueryOverrides allow great customizations to lists (WeblogPostList / IndexPostList / etc) including page sizes, sections to search on, sort instructions and much more.&lt;/p&gt;  &lt;p&gt;In this particular case I need to search by multiple sections.&amp;#160; While the SectionApplicationKeysToSearch or SectionIDsToSearch options would work, Community Server has blog groups, making it easy to group blogs together.&amp;#160; Conveniently the QueryOverrides have the option GroupsToSearch ... should be easy, and in fact it is; once you know what to put there.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://getben.com/Documentation/CS2008/Chameleon/default.aspx" target="_blank"&gt;The amazing wealth of information over at GetBen.com&lt;/a&gt; has about 99.9% of everything you could need to know about CS controls ... including the instructions that CS expects a string value for this option.&amp;#160; What took me hours to figure out (because, apparently, my head wasn't in quite the right frame of mind) was that the GroupsToSearch is actually looking for a comma (see? string!) separated list of integers, the IDs of the groups you wish to search on.&lt;/p&gt;  &lt;p&gt;So, while I was putting in: &lt;strong&gt;GroupsToSearch=&amp;quot;MyGroup,MyOtherGroup&amp;quot;&lt;/strong&gt;; what was expected, and the reason I was getting the &lt;em&gt;Input string was not in a correct format&lt;/em&gt; error, was &lt;strong&gt;GroupsToSearch=&amp;quot;3,5&amp;quot;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;I hope this helps someone save a few minutes compared to what I lost this evening ...&lt;/p&gt;&lt;img src="http://jay.leask.com/aggbug.aspx?PostID=67" width="1" height="1"&gt;</description><category domain="http://jay.leask.com/archive/tags/CSTheme/default.aspx">CSTheme</category><category domain="http://jay.leask.com/archive/tags/Community+Server/default.aspx">Community Server</category><category domain="http://jay.leask.com/archive/tags/Community+Server+2008/default.aspx">Community Server 2008</category></item></channel></rss>