<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Peter Gerritsen&#039;s blog &#187; SP2010</title>
	<atom:link href="http://blog.petergerritsen.nl/tag/sp2010/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.petergerritsen.nl</link>
	<description>about .Net and application platform development</description>
	<lastBuildDate>Tue, 03 Jan 2012 08:03:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Install Help Collection files for a different language in SharePoint 2010</title>
		<link>http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 13:07:18 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Language Packs]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/?p=871</guid>
		<description><![CDATA[After installing a languagepack help contents should be available when you create a site collection in that language. Sometimes however SharePoint gives you a message that the files have not been installed when you click the help button or go to the Help-settings page for your sitecollection. You can force SharePoint to install the files [...]<p><a href="http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/">Install Help Collection files for a different language in SharePoint 2010</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>After installing a languagepack help contents should be available when you create a site collection in that language.<br />
Sometimes however SharePoint gives you a message that the files have not been installed when you click the help button or go to the Help-settings page for your sitecollection. </p>
<p>You can force SharePoint to install the files using the hcinstal.exe tool in the bin folder under the SharePoint root (c:\program files\common files\microsoft shared\web server extensions\14\bin):</p>
<pre class="brush: php">
hcinstal.exe /act InstallAllHCs /loc 1043
</pre>
<p>This command will install all available help content for LCID 1043 (Dutch)</p>
<p>After this running this command (which can take up to 10-15 minutes easily) you need to run the SharePoint Products and Configuration Wizard on each front-end server.</p>
<p>I think you can also use the following 2 PowerShell commands, but I wasn&#8217;t able to test these after the first solution worked:</p>
<ul>
<li>Install-SPHelpCollection</li>
<li>Install-SPApplicationContent</li>
</ul>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Twitter" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Install+Help+Collection+files+for+a+different+language+in+SharePoint+2010&#038;c=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to MySpace" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/&#038;title=Install+Help+Collection+files+for+a+different+language+in+SharePoint+2010" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Del.icio.us" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/&#038;title=Install+Help+Collection+files+for+a+different+language+in+SharePoint+2010" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to digg" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/&#038;title=Install+Help+Collection+files+for+a+different+language+in+SharePoint+2010" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to reddit" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/&#038;t=Install+Help+Collection+files+for+a+different+language+in+SharePoint+2010" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to FaceBook" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Technorati" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/&#038;title=Install+Help+Collection+files+for+a+different+language+in+SharePoint+2010" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Stumble Upon" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/&#038;title=Install+Help+Collection+files+for+a+different+language+in+SharePoint+2010" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to Google Bookmarks" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Install+Help+Collection+files+for+a+different+language+in+SharePoint+2010&#038;url=http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'Install Help Collection files for a different language in SharePoint 2010' to SlashDot" alt="Add 'Install Help Collection files for a different language in SharePoint 2010' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/">Install Help Collection files for a different language in SharePoint 2010</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F10%2F26%2Finstall-help-collection-files-for-a-different-language-in-sharepoint-2010%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/10/26/install-help-collection-files-for-a-different-language-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>People Search: Use a custom Ranking Model to search in added Profile Properties</title>
		<link>http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 13:37:04 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SharePoint Profile System]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/?p=855</guid>
		<description><![CDATA[When you use the out-of-the box components for searching for people, a generic search with a keyword that is included in an added Profile property will not give the results you might expect. This is especially a problem with the out-of-the-box webpart that shows information about a person: When you click on one of the [...]<p><a href="http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/">People Search: Use a custom Ranking Model to search in added Profile Properties</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>When you use the out-of-the box components for searching for people, a generic search with a keyword that is included in an added Profile property will not give the results you might expect. </p>
<p>This is especially a problem with the out-of-the-box webpart that shows information about a person:<br />
<br/><br />
<a  href="http://blog.petergerritsen.nl/wp-content/uploads/2010/10/Profile-properties-webpart.png" class="thickbox no_icon" rel="gallery-855" title=""><img src="http://blog.petergerritsen.nl/wp-content/uploads/2010/10/Profile-properties-webpart-300x103.png" alt="" title="Profile properties webpart" width="300" height="103" class="size-medium wp-image-856" /></a><br />
When you click on one of the values in this webpart, you will be redirected to the people search results page with the value you clicked passed in as the search keyword:<br />
<br/><br />
<a  href="http://blog.petergerritsen.nl/wp-content/uploads/2010/10/Profile-search-generic.png" class="thickbox no_icon" rel="gallery-855" title=""><img src="http://blog.petergerritsen.nl/wp-content/uploads/2010/10/Profile-search-generic-300x105.png" alt="" title="Profile search generic" width="300" height="105" class="size-medium wp-image-859" /></a><br />
But this will not give you any results. <a  href="http://kgraeme.wordpress.com/2010/07/28/sharepoint-user-profile-custom-properties-keyword-search-problem/">This post</a> by kgreame outlines the same problems and some of the steps he tried to solve this issue. In the comments to that post, a workaround is mentioned: map the matching crawled properties to the ContentsHidden Managed Property.<br />
There is however an other way. In <a  href="http://sharepoint.microsoft.com/blogs/LKuhn/Lists/Posts/Post.aspx?List=29310d0a-1eda-4834-bb4c-06ee575a40c3&#038;ID=52">this post</a> by Larry Kuhn, he explains how the DEFAULTPROPERTIES within the SharePoint Search work. By setting a weight of a Managed Property, you will include it in the ranking model SharePoint uses and the property is therefore added to the default properties that are searched.<br />
SharePoint 2010 introduces the concept of Ranking Models, so the solution mentioned in that blogpost doesn&#8217;t work. We can however create our own Ranking Model. I&#8217;ve copied the information from the Ranking Model that SharePoint uses for People Search and added my own Managed Property, Expertise, with a weight of 1.0:</p>
<pre class="brush: xml">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;rankingModel name=&quot;CustomPeopleRanking&quot; id=&quot;5EA2750C-8165-4f65-BD12-6E6DAAD45FE0&quot; description=&quot;Custom People Ranking&quot; xmlns=&quot;http://schemas.microsoft.com/office/2009/rankingModel&quot;&gt;
  &lt;queryDependentFeatures&gt;
    &lt;queryDependentFeature pid=&quot;177&quot; name=&quot;RankingWeightName&quot; weight=&quot;0.5&quot; lengthNormalization=&quot;0&quot; /&gt;
    &lt;queryDependentFeature pid=&quot;19&quot; name=&quot;PreferredName&quot; weight=&quot;1.0&quot; lengthNormalization=&quot;0&quot; /&gt;
    &lt;queryDependentFeature pid=&quot;24&quot; name=&quot;JobTitle&quot; weight=&quot;2.0&quot; lengthNormalization=&quot;0&quot; /&gt;
    &lt;queryDependentFeature pid=&quot;39&quot; name=&quot;Responsibilities&quot; weight=&quot;1.0&quot; lengthNormalization=&quot;5&quot; /&gt;
    &lt;queryDependentFeature pid=&quot;179&quot; name=&quot;RankingWeightLow&quot; weight=&quot;0.2&quot; lengthNormalization=&quot;5&quot; /&gt;
    &lt;queryDependentFeature pid=&quot;175&quot; name=&quot;ContentsHidden&quot; weight=&quot;0.1&quot; lengthNormalization=&quot;5&quot; /&gt;
    &lt;queryDependentFeature pid=&quot;35&quot; name=&quot;Memberships&quot; weight=&quot;0.25&quot; lengthNormalization=&quot;5&quot; /&gt;
    &lt;queryDependentFeature pid=&quot;178&quot; name=&quot;RankingWeightHigh&quot; weight=&quot;2.0&quot; lengthNormalization=&quot;0&quot; /&gt;
    &lt;queryDependentFeature pid=&quot;180&quot; name=&quot;Pronunciations&quot; weight=&quot;0.05&quot; lengthNormalization=&quot;0&quot; /&gt;
    &lt;queryDependentFeature pid=&quot;408&quot; name=&quot;Expertise&quot; weight=&quot;1.0&quot; lengthNormalization=&quot;0&quot; /&gt;
  &lt;/queryDependentFeatures&gt;
&lt;/rankingModel&gt;
</pre>
<p>We can then add this Ranking Model to SharePoint with Powershell:</p>
<pre class="brush: php">

Get-SPEnterpriseSearchServiceApplication | New-SPEnterpriseSearchRankingModel
</pre>
<p>And paste in the XML of this Ranking Model when Powershell prompts you for it.</p>
<p>But how do we force SharePoint to use this Ranking Model? I&#8217;ve outlined one of the solutions in a <a  href="http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/">previous post</a>. </p>
<p>So after adding a web part that sets the ranking model we can perform the search again:<br/><br />
<a  href="http://blog.petergerritsen.nl/wp-content/uploads/2010/10/Profile-search-after-ranking-model.png" class="thickbox no_icon" rel="gallery-855" title=""><img src="http://blog.petergerritsen.nl/wp-content/uploads/2010/10/Profile-search-after-ranking-model-300x139.png" alt="" title="Profile search after ranking model" width="300" height="139" class="size-medium wp-image-861" /></a><br />
And bingo, the user with this value in an extra profile property shows up in the search results.</p>
<p>Why use this over mapping the properties in the &#8216;ContentsHidden&#8217; Managed Property? As you can see the &#8216;ContentsHidden&#8217; property is included in the Ranking Model with a value of 0.1. If you want to give more weight to a custom property or you have more properties to which you want to assign a different weight, you will need to modify the Ranking Model.</p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Twitter" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=People+Search%3A+Use+a+custom+Ranking+Model+to+search+in+added+Profile+Properties&#038;c=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to MySpace" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/&#038;title=People+Search%3A+Use+a+custom+Ranking+Model+to+search+in+added+Profile+Properties" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Del.icio.us" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/&#038;title=People+Search%3A+Use+a+custom+Ranking+Model+to+search+in+added+Profile+Properties" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to digg" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/&#038;title=People+Search%3A+Use+a+custom+Ranking+Model+to+search+in+added+Profile+Properties" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to reddit" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/&#038;t=People+Search%3A+Use+a+custom+Ranking+Model+to+search+in+added+Profile+Properties" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to FaceBook" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Technorati" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/&#038;title=People+Search%3A+Use+a+custom+Ranking+Model+to+search+in+added+Profile+Properties" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Stumble Upon" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/&#038;title=People+Search%3A+Use+a+custom+Ranking+Model+to+search+in+added+Profile+Properties" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Google Bookmarks" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=People+Search%3A+Use+a+custom+Ranking+Model+to+search+in+added+Profile+Properties&#038;url=http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to SlashDot" alt="Add 'People Search: Use a custom Ranking Model to search in added Profile Properties' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/">People Search: Use a custom Ranking Model to search in added Profile Properties</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F10%2F12%2Fpeople-search-use-a-custom-ranking-model-to-search-in-added-profile-properties%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/10/12/people-search-use-a-custom-ranking-model-to-search-in-added-profile-properties/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Let the SharePoint Search web parts use an other Ranking Model</title>
		<link>http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 18:48:47 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/</guid>
		<description><![CDATA[SharePoint 2010 introduces the concept of Ranking Models. These models allow you to control the ranking of search results. But how do you tell the search web parts to use your custom ranking model, once you specified it? As far as I can tell there’s 2 options: Pass in the id of the model through [...]<p><a href="http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/">Let the SharePoint Search web parts use an other Ranking Model</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>SharePoint 2010 introduces the concept of Ranking Models. These models allow you to control the ranking of search results.</p>
<p>But how do you tell the search web parts to use your custom ranking model, once you specified it? As far as I can tell there’s 2 options:</p>
<ul>
<li>Pass in the id of the model through the querystring by appending “&amp;rm=&lt;guid of ranking model&gt;”</li>
<li>Use the Shared Query Manager</li>
</ul>
<p>The Shared Query Manager is _the_ option for modifying the query the search web parts are going to use.</p>
<p>To use the Query Manager to set an other Ranking Model I’ve created a custom web part. To retrieve the Query Manager all you have to do is call the static GetInstance method of the SharedQueryManager class.</p>
<p>After that, you can loop through the query manager and each location within the LocationList to set the ID of the Ranking Model:</p>
<pre class="brush: csharp">
public class SetRankingModel : WebPart
    {
        protected override void OnInit(EventArgs e)
        {
            try
            {
                QueryManager qm = SharedQueryManager.GetInstance(this.Page).QueryManager;

                foreach (LocationList ll in qm)
                {
                    foreach (Location l in ll)
                    {
                        try
                        {
                            l.RankingModelID = &quot;5ea2750c-8165-4f65-bd12-6e6daad45fe1&quot;;
                        }
                        catch { }
                    }
                }

                base.OnInit(e);
            }
            catch { }
        }
    }
</pre>
<p>After you’ve placed this web part on a search results page, each web part will use your custom Ranking Model.</p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Twitter" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Let+the+SharePoint+Search+web+parts+use+an+other+Ranking+Model&#038;c=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to MySpace" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/&#038;title=Let+the+SharePoint+Search+web+parts+use+an+other+Ranking+Model" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Del.icio.us" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/&#038;title=Let+the+SharePoint+Search+web+parts+use+an+other+Ranking+Model" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to digg" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/&#038;title=Let+the+SharePoint+Search+web+parts+use+an+other+Ranking+Model" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to reddit" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/&#038;t=Let+the+SharePoint+Search+web+parts+use+an+other+Ranking+Model" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to FaceBook" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Technorati" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/&#038;title=Let+the+SharePoint+Search+web+parts+use+an+other+Ranking+Model" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Stumble Upon" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/&#038;title=Let+the+SharePoint+Search+web+parts+use+an+other+Ranking+Model" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Google Bookmarks" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Let+the+SharePoint+Search+web+parts+use+an+other+Ranking+Model&#038;url=http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'Let the SharePoint Search web parts use an other Ranking Model' to SlashDot" alt="Add 'Let the SharePoint Search web parts use an other Ranking Model' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/">Let the SharePoint Search web parts use an other Ranking Model</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F10%2F11%2Flet-the-sharepoint-search-web-parts-use-an-other-ranking-model%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/10/11/let-the-sharepoint-search-web-parts-use-an-other-ranking-model/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)</title>
		<link>http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 11:55:56 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/?p=841</guid>
		<description><![CDATA[Today I was trying to fix an error in a custom webpart that performs a query on the SharePoint farm. The goal was to retreive the records within a site though the search system. First I added a metadata property ItemDeclaredRecord that is mapped to ows__vti_ItemDeclaredRecord (DateTime). Then I tried the following query (using Steve [...]<p><a href="http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/">Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to fix an error in a custom webpart that performs a query on the SharePoint farm. The goal was to retreive the records within a site though the search system.</p>
<p>First I added a metadata property ItemDeclaredRecord that is mapped to ows__vti_ItemDeclaredRecord (DateTime).<br />
Then I tried the following query (using <a  href="http://blogs.technet.com/b/speschka/archive/2010/08/15/free-developer-search-tool-for-sharepoint-2010-search-and-fast-search-for-sharepoint.aspx">Steve Peschka&#8217;s Developer Search Tool</a>):</p>
<p><code>SELECT Size, Rank, Path, Title, Description, Write FROM scope() WHERE  (ItemDeclaredRecord &gt; '1900/01/01 00:00:00')  AND CONTAINS (Path, '&quot;/projecten&quot;')<br />
</code></p>
<p>This query works fine and retreives all records declared after January 1st, 1900 under the &#8220;projecten&#8221; site. To retreive all records within a specific subsite I then tried the following query:</p>
<p><code>SELECT Size, Rank, Path, Title, Description, Write FROM scope() WHERE  (ItemDeclaredRecord > '1900/01/01 00:00:00')  AND CONTAINS (Path, '"/projecten/subsite1"')</code></p>
<p>This threw a FaultException?!<br />
After fiddling around with the query for a few hours, I finally found a query that works:</p>
<p><code>SELECT Size, Rank, Path, Title, Description, Write FROM scope() WHERE  (ItemDeclaredRecord > '1900/01/01 00:00:00')  AND CONTAINS (Path, '"/projecten/subsite1"') ORDER BY Rank DESC</code></p>
<p>I&#8217;m not sure what the ORDER BY part does to the search system internally, but for now I&#8217;m guessing it&#8217;s SQL for &#8216;Pretty pretty please!&#8217;.</p>
<p>EDIT:<br />
The property you add in the ORDER BY part has to have the &#8220;Reduce storage requirements for text properties by using a hash for comparison” option checked.</p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Twitter" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Strange+FullTextSqlQuery+query+behaviour+%28System.ServiceModel.FaultException%29&#038;c=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to MySpace" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/&#038;title=Strange+FullTextSqlQuery+query+behaviour+%28System.ServiceModel.FaultException%29" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Del.icio.us" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/&#038;title=Strange+FullTextSqlQuery+query+behaviour+%28System.ServiceModel.FaultException%29" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to digg" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/&#038;title=Strange+FullTextSqlQuery+query+behaviour+%28System.ServiceModel.FaultException%29" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to reddit" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/&#038;t=Strange+FullTextSqlQuery+query+behaviour+%28System.ServiceModel.FaultException%29" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to FaceBook" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Technorati" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/&#038;title=Strange+FullTextSqlQuery+query+behaviour+%28System.ServiceModel.FaultException%29" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Stumble Upon" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/&#038;title=Strange+FullTextSqlQuery+query+behaviour+%28System.ServiceModel.FaultException%29" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Google Bookmarks" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Strange+FullTextSqlQuery+query+behaviour+%28System.ServiceModel.FaultException%29&#038;url=http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to SlashDot" alt="Add 'Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/">Strange FullTextSqlQuery query behaviour (System.ServiceModel.FaultException)</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F09%2F20%2Fstrange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/09/20/strange-fulltextsqlquery-query-behaviour-system-servicemodel-faultexception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ribbon buttons and the Client Object Model</title>
		<link>http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 11:03:17 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ribbon buttons]]></category>
		<category><![CDATA[Sandboxed]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/</guid>
		<description><![CDATA[One of the standard Ribbon buttons in SharePoint 2010 allows you to mail a link to a document. Unfortunately the dev team at Microsoft didn’t update the functionality of this button to use one of the enhanced UI features: multiple selection. When you select 2 or more items, the button is automatically disabled. To bypass [...]<p><a href="http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/">Ribbon buttons and the Client Object Model</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>One of the standard Ribbon buttons in SharePoint 2010 allows you to mail a link to a document. Unfortunately the dev team at Microsoft didn’t update the functionality of this button to use one of the enhanced UI features: multiple selection. When you select 2 or more items, the button is automatically disabled.</p>
<p>To bypass this inconvenience, we decided to implement our own version of the button to replace the standard button. Replacing a button is actually quite easy with the UI extensibility options in SP2010.</p>
<p>First of, I started with an empty SharePoint project in Visual Studio 2010. I chose to create a sandboxed solution. Because we need to deploy and inject a JavaScript file on every page, I decided to go for the solution Jan Tielens introduced in his blog post ‘<a  href="http://weblogs.asp.net/jan/archive/2010/09/02/deploying-and-using-jquery-with-a-sharepoint-2010-sandboxed-solution.aspx" target="_blank">Deploying and using jQuery with a SharePoint 2010 Sandboxed Solution</a>’.</p>
<p>First of I added an empty element item to the project called Buttons. In this element I included the XML to hide the existing button and inject my own button:</p>
<pre class="brush: php">
&amp;amp;amp;lt;CustomAction
    Id=&amp;amp;amp;quot;TTSendLinksEmailRemoveRibbonButton&amp;amp;amp;quot;
    Location=&amp;amp;amp;quot;CommandUI.Ribbon&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;CommandUIExtension&amp;amp;amp;gt;
      &amp;amp;amp;lt;CommandUIDefinitions&amp;amp;amp;gt;
        &amp;amp;amp;lt;CommandUIDefinition
          Location=&amp;amp;amp;quot;Ribbon.Documents.Share.EmailItemLink&amp;amp;amp;quot; /&amp;amp;amp;gt;
      &amp;amp;amp;lt;/CommandUIDefinitions&amp;amp;amp;gt;
    &amp;amp;amp;lt;/CommandUIExtension&amp;amp;amp;gt;
  &amp;amp;amp;lt;/CustomAction&amp;amp;amp;gt;
  &amp;amp;amp;lt;CustomAction
    Id=&amp;amp;amp;quot;TTSendLinksEmailButton&amp;amp;amp;quot;
    Location=&amp;amp;amp;quot;CommandUI.Ribbon&amp;amp;amp;quot;
    Sequence=&amp;amp;amp;quot;15&amp;amp;amp;quot;
    Title=&amp;amp;amp;quot;E-mail a link&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;CommandUIExtension&amp;amp;amp;gt;
      &amp;amp;amp;lt;CommandUIDefinitions&amp;amp;amp;gt;
        &amp;amp;amp;lt;CommandUIDefinition Location=&amp;amp;amp;quot;Ribbon.Documents.Share.Controls._children&amp;amp;amp;quot;&amp;amp;amp;gt;
          &amp;amp;amp;lt;Button
            Id=&amp;amp;amp;quot;Ribbon.Documents.Share.TTSendLinksEmailButton&amp;amp;amp;quot;
            Alt=&amp;amp;amp;quot;$Resources:core,cui_ButEmailLink;&amp;amp;amp;quot;
            LabelText=&amp;amp;amp;quot;$Resources:core,cui_ButEmailLink;&amp;amp;amp;quot;
            ToolTipTitle=&amp;amp;amp;quot;$Resources:core,cui_ButEmailLink;&amp;amp;amp;quot;
            ToolTipDescription=&amp;amp;amp;quot;$Resources:core,cui_STT_ButEmailLinkDocument;&amp;amp;amp;quot;
            Sequence=&amp;amp;amp;quot;15&amp;amp;amp;quot;
            Command=&amp;amp;amp;quot;TT_SendLinksEmail_Button&amp;amp;amp;quot;
            Image16by16=&amp;amp;amp;quot;/_layouts/$Resources:core,Language;/images/formatmap16x16.png&amp;amp;amp;quot;
            Image16by16Top=&amp;amp;amp;quot;-16&amp;amp;amp;quot;
            Image16by16Left=&amp;amp;amp;quot;-88&amp;amp;amp;quot;
            Image32by32=&amp;amp;amp;quot;/_layouts/$Resources:core,Language;/images/formatmap32x32.png&amp;amp;amp;quot;
            Image32by32Top=&amp;amp;amp;quot;-128&amp;amp;amp;quot;
            Image32by32Left=&amp;amp;amp;quot;-448&amp;amp;amp;quot;
            TemplateAlias=&amp;amp;amp;quot;o1&amp;amp;amp;quot; /&amp;amp;amp;gt;
        &amp;amp;amp;lt;/CommandUIDefinition&amp;amp;amp;gt;
      &amp;amp;amp;lt;/CommandUIDefinitions&amp;amp;amp;gt;
      &amp;amp;amp;lt;CommandUIHandlers&amp;amp;amp;gt;
        &amp;amp;amp;lt;CommandUIHandler
          Command=&amp;amp;amp;quot;TT_SendLinksEmail_Button&amp;amp;amp;quot;
          CommandAction=&amp;amp;amp;quot;javascript:function sendLinksMail() {
                            TamTam_SP2010_SendLinksMail_SendLinksMail();
                          }
                          sendLinksMail();&amp;amp;amp;quot;
          EnabledScript=&amp;amp;amp;quot;javascript:function oneOrMoreEnable() {
                          var items = SP.ListOperation.Selection.getSelectedItems();
                          var ci = CountDictionary(items);
                            return (ci &amp;amp;amp;gt; 0);
                          }
                          oneOrMoreEnable();&amp;amp;amp;quot; /&amp;amp;amp;gt;
      &amp;amp;amp;lt;/CommandUIHandlers&amp;amp;amp;gt;
    &amp;amp;amp;lt;/CommandUIExtension&amp;amp;amp;gt;
  &amp;amp;amp;lt;/CustomAction&amp;amp;amp;gt;
</pre>
<p>For my own button, I copied the resourcestrings from the original XML that is in CMDUI.xml (14\TEMPLATE\GLOBAL\XML). This way the button gets the same look and feel and localized labels as the original button. When pressing the button the JavaScript function TamTam_SP2010_SendLinksMail_SendLinksMail is called. The EnabledScript enables the button when 1 or more items are selected.</p>
<p>To make sure the JavaScript is included, we’ll use a CustomAction element with ScriptLink as location (for more information see the previously mentioned blogpost by Jan Tielens):</p>
<pre class="brush: php">
&amp;amp;amp;lt;CustomAction
    ScriptSrc=&amp;amp;amp;quot;~SiteCollection/SiteAssets/TamTam.SP2010.EmailALinkMultiple.js&amp;amp;amp;quot;
    Location=&amp;amp;amp;quot;ScriptLink&amp;amp;amp;quot;
    Sequence=&amp;amp;amp;quot;10&amp;amp;amp;quot;&amp;amp;amp;gt;
  &amp;amp;amp;lt;/CustomAction&amp;amp;amp;gt;
</pre>
<p>Now all we have to do is create the necessary JavaScript. The out-of-the-box functionality opens the users email client with the link to the selected document in the body of the message.</p>
<p>To create the body of the message we’ll need to retrieve the link for every selected item by use of the Client Object Model. First we’ll get the ClientContext, the SPSite, the list were in and the id’s of the selected items:</p>
<pre class="brush: php">
TamTam_SP2010_SendLinksMail_SendLinksMail = function () {
this.selectedItems = SP.ListOperation.Selection.getSelectedItems();
this.selectedListGuid = SP.ListOperation.Selection.getSelectedList();

this.context = SP.ClientContext.get_current();

this.site = this.context.get_site();
this.context.load(this.site);

this.web = this.context.get_web();

this.selectedList = this.web.get_lists().getById(this.selectedListGuid);

}
</pre>
<p>We then need to get the listitem object for every selected item. Because this is an asynchronous operation we’ll create an array, include every selected listitem in there and tell the context to load each item before calling executeQueryAsync:</p>
<pre class="brush: php">
this.selectedFiles = new Array();

var k;

for (k in this.selectedItems) {
this.selectedFiles.push(this.selectedList.getItemById(this.selectedItems[k].id).get_file());
this.context.load(this.selectedFiles[k]);
}

this.context.executeQueryAsync(Function.createDelegate(this, TamTam_SP2010_SendLinksMail_onQuerySucceeded), Function.createDelegate(this, TamTam_SP2010_SendLinksMail_onQueryFailed));
</pre>
<p>The in the onQuerySucceeded callback function we can get the url’s for the items and construct the email:</p>
<pre class="brush: php">
TamTam_SP2010_SendLinksMail_onQuerySucceeded = function () {
var siteUrl = this.site.get_url();

var k;
var bodystring = &amp;amp;amp;quot;&amp;amp;amp;quot;;
for (k in this.selectedFiles) {
var fileUrl = this.selectedFiles[k].get_serverRelativeUrl();

bodystring += siteUrl + fileUrl + &quot;%0d%0a%0d%0a&quot;;
}

window.open(&#039;mailto:?body=&#039; + bodystring);
}
</pre>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/" title="Add 'Ribbon buttons and the Client Object Model' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Ribbon buttons and the Client Object Model' to Twitter" alt="Add 'Ribbon buttons and the Client Object Model' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Ribbon+buttons+and+the+Client+Object+Model&#038;c=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/" title="Add 'Ribbon buttons and the Client Object Model' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Ribbon buttons and the Client Object Model' to MySpace" alt="Add 'Ribbon buttons and the Client Object Model' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/&#038;title=Ribbon+buttons+and+the+Client+Object+Model" title="Add 'Ribbon buttons and the Client Object Model' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Ribbon buttons and the Client Object Model' to Del.icio.us" alt="Add 'Ribbon buttons and the Client Object Model' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/&#038;title=Ribbon+buttons+and+the+Client+Object+Model" title="Add 'Ribbon buttons and the Client Object Model' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Ribbon buttons and the Client Object Model' to digg" alt="Add 'Ribbon buttons and the Client Object Model' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/&#038;title=Ribbon+buttons+and+the+Client+Object+Model" title="Add 'Ribbon buttons and the Client Object Model' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Ribbon buttons and the Client Object Model' to reddit" alt="Add 'Ribbon buttons and the Client Object Model' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/&#038;t=Ribbon+buttons+and+the+Client+Object+Model" title="Add 'Ribbon buttons and the Client Object Model' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Ribbon buttons and the Client Object Model' to FaceBook" alt="Add 'Ribbon buttons and the Client Object Model' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/" title="Add 'Ribbon buttons and the Client Object Model' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Ribbon buttons and the Client Object Model' to Technorati" alt="Add 'Ribbon buttons and the Client Object Model' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/&#038;title=Ribbon+buttons+and+the+Client+Object+Model" title="Add 'Ribbon buttons and the Client Object Model' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Ribbon buttons and the Client Object Model' to Stumble Upon" alt="Add 'Ribbon buttons and the Client Object Model' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/&#038;title=Ribbon+buttons+and+the+Client+Object+Model" title="Add 'Ribbon buttons and the Client Object Model' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Ribbon buttons and the Client Object Model' to Google Bookmarks" alt="Add 'Ribbon buttons and the Client Object Model' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Ribbon+buttons+and+the+Client+Object+Model&#038;url=http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/" title="Add 'Ribbon buttons and the Client Object Model' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'Ribbon buttons and the Client Object Model' to SlashDot" alt="Add 'Ribbon buttons and the Client Object Model' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/">Ribbon buttons and the Client Object Model</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F09%2F06%2Fribbon-buttons-and-the-client-object-model%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/09/06/ribbon-buttons-and-the-client-object-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS contents showing in settings page for site based on custom template</title>
		<link>http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 08:47:15 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/?p=816</guid>
		<description><![CDATA[At a customer we created a few custom site templates by configuring them and then saving them as template. When creating new sites based on this template, we had the strange issue that the contents of the Alternate CSS (AlternateCSSUrl) were included and showing in the header on layouts pages in the sites. It appears [...]<p><a href="http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/">CSS contents showing in settings page for site based on custom template</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>At a customer we created a few custom site templates by configuring them and then saving them as template. When creating new sites based on this template, we had the strange issue that the contents of the Alternate CSS (AlternateCSSUrl) were included and showing in the header on layouts pages in the sites.<br />
It appears that the AlternateCSSUrl is also set on the AlternateHeader property of the SPWeb object.</p>
<p>This <a  href="http://social.technet.microsoft.com/Forums/en/sharepoint2010customization/thread/599d42d4-72c0-4688-af52-91fb7528fe60" target="_blank">post</a> on the SharePoint 2010 forums also mentions this issue.</p>
<p>You can off course use powershell to get rid of this problem:</p>
<pre class="brush: php">$site = Get-SPSite &amp;quot;http://sitecollectionurl&amp;quot;

$web = $site.OpenWeb(&amp;quot;/weburl&amp;quot;)

$web.AlternateHeader = &amp;quot;&amp;quot;

$web.Update()</pre>
<p>Update:<br />
The post on the forums got answered and according to that it has to do with the publishing feature that was activated before saving the site as a template. However in my case that feature wasn&#8217;t activated, because we&#8217;re aware that such a scenario isn&#8217;t officially supported by Microsoft. </p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/" title="Add 'CSS contents showing in settings page for site based on custom template' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'CSS contents showing in settings page for site based on custom template' to Twitter" alt="Add 'CSS contents showing in settings page for site based on custom template' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=CSS+contents+showing+in+settings+page+for+site+based+on+custom+template&#038;c=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/" title="Add 'CSS contents showing in settings page for site based on custom template' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'CSS contents showing in settings page for site based on custom template' to MySpace" alt="Add 'CSS contents showing in settings page for site based on custom template' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/&#038;title=CSS+contents+showing+in+settings+page+for+site+based+on+custom+template" title="Add 'CSS contents showing in settings page for site based on custom template' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'CSS contents showing in settings page for site based on custom template' to Del.icio.us" alt="Add 'CSS contents showing in settings page for site based on custom template' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/&#038;title=CSS+contents+showing+in+settings+page+for+site+based+on+custom+template" title="Add 'CSS contents showing in settings page for site based on custom template' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'CSS contents showing in settings page for site based on custom template' to digg" alt="Add 'CSS contents showing in settings page for site based on custom template' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/&#038;title=CSS+contents+showing+in+settings+page+for+site+based+on+custom+template" title="Add 'CSS contents showing in settings page for site based on custom template' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'CSS contents showing in settings page for site based on custom template' to reddit" alt="Add 'CSS contents showing in settings page for site based on custom template' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/&#038;t=CSS+contents+showing+in+settings+page+for+site+based+on+custom+template" title="Add 'CSS contents showing in settings page for site based on custom template' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'CSS contents showing in settings page for site based on custom template' to FaceBook" alt="Add 'CSS contents showing in settings page for site based on custom template' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/" title="Add 'CSS contents showing in settings page for site based on custom template' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'CSS contents showing in settings page for site based on custom template' to Technorati" alt="Add 'CSS contents showing in settings page for site based on custom template' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/&#038;title=CSS+contents+showing+in+settings+page+for+site+based+on+custom+template" title="Add 'CSS contents showing in settings page for site based on custom template' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'CSS contents showing in settings page for site based on custom template' to Stumble Upon" alt="Add 'CSS contents showing in settings page for site based on custom template' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/&#038;title=CSS+contents+showing+in+settings+page+for+site+based+on+custom+template" title="Add 'CSS contents showing in settings page for site based on custom template' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'CSS contents showing in settings page for site based on custom template' to Google Bookmarks" alt="Add 'CSS contents showing in settings page for site based on custom template' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=CSS+contents+showing+in+settings+page+for+site+based+on+custom+template&#038;url=http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/" title="Add 'CSS contents showing in settings page for site based on custom template' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'CSS contents showing in settings page for site based on custom template' to SlashDot" alt="Add 'CSS contents showing in settings page for site based on custom template' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/">CSS contents showing in settings page for site based on custom template</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F07%2F12%2Fcss-contents-showing-in-settings-page-for-site-based-on-custom-template%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/07/12/css-contents-showing-in-settings-page-for-site-based-on-custom-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Search: Property Restriction in Keyword Queries</title>
		<link>http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 12:01:57 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/?p=808</guid>
		<description><![CDATA[The new version of SharePoint offers more capabilities in the keyword syntax to enhance the search experience. While in the previous version you had to resort to FullText SQL queries, a lot of things can now be accomplished with keyword syntax. For instance if you would like to filter on a date, you could use [...]<p><a href="http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/">SharePoint 2010 Search: Property Restriction in Keyword Queries</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>The new version of SharePoint offers more capabilities in the keyword syntax to enhance the search experience.<br />
While in the previous version you had to resort to FullText SQL queries, a lot of things can now be accomplished with keyword syntax.</p>
<p>For instance if you would like to filter on a date, you could use the following query:</p>
<pre class="brush: php">LastModifiedTime&amp;amp;amp;gt;=01/06/2010</pre>
<p>The actual format of the date depends on your regional settings (I&#8217;m using Dutch (nl-NL) in this case).</p>
<p>To search within a range of dates you can use the following query syntax:</p>
<pre class="brush: php">LastModifiedTime:28/06/2010..30/06/2010</pre>
<p>To exclude items you could use the following syntax:</p>
<pre class="brush: php">LastModifiedTime&amp;lt;&amp;gt;28/06/2010</pre>
<p>More info from MSDN about keyword syntax kan be found here: <a  href="http://msdn.microsoft.com/en-us/library/ee558911.aspx">http://msdn.microsoft.com/en-us/library/ee558911.aspx</a></p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Twitter" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=SharePoint+2010+Search%3A+Property+Restriction+in+Keyword+Queries&#038;c=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to MySpace" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/&#038;title=SharePoint+2010+Search%3A+Property+Restriction+in+Keyword+Queries" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Del.icio.us" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/&#038;title=SharePoint+2010+Search%3A+Property+Restriction+in+Keyword+Queries" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to digg" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/&#038;title=SharePoint+2010+Search%3A+Property+Restriction+in+Keyword+Queries" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to reddit" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/&#038;t=SharePoint+2010+Search%3A+Property+Restriction+in+Keyword+Queries" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to FaceBook" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Technorati" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/&#038;title=SharePoint+2010+Search%3A+Property+Restriction+in+Keyword+Queries" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Stumble Upon" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/&#038;title=SharePoint+2010+Search%3A+Property+Restriction+in+Keyword+Queries" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Google Bookmarks" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=SharePoint+2010+Search%3A+Property+Restriction+in+Keyword+Queries&#038;url=http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to SlashDot" alt="Add 'SharePoint 2010 Search: Property Restriction in Keyword Queries' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/">SharePoint 2010 Search: Property Restriction in Keyword Queries</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F07%2F01%2Fsharepoint-2010-search-property-restriction-keyword-queries%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/07/01/sharepoint-2010-search-property-restriction-keyword-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set default value on a Managed Metadata field through code</title>
		<link>http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 13:08:23 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Managed Metadata]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/?p=806</guid>
		<description><![CDATA[In some situations, such as metadata inheritance from web properties, you&#8217;ll want to set the default value of a field from code. Because the DefaultValue property of a SPField is a string, you will need to know the correct format to set the value of a Managed Metadata column. The easiest way to retreive this [...]<p><a href="http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/">Set default value on a Managed Metadata field through code</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>In some situations, such as metadata inheritance from web properties, you&#8217;ll want to set the default value of a field from code.<br />
Because the DefaultValue property of a SPField is a string, you will need to know the correct format to set the value of a Managed Metadata column. The easiest way to retreive this value is to create an item with the correct value and read it with the following code: </p>
<pre class="brush: csharp">
SPList list = SPContext.Current.List;
SPField field = list.Fields[&quot;Thema&quot;];

string value = field.GetValidatedString(SPContext.Current.ListItem[field.Id]);
</pre>
<p>When you use the resulting value as the default value on the field, everything should be okay. When you set an invalid default value, you will not be able to create new items anymore or set the default value through the UI. You can get around this by setting the default value back to an empty string.</p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/" title="Add 'Set default value on a Managed Metadata field through code' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Set default value on a Managed Metadata field through code' to Twitter" alt="Add 'Set default value on a Managed Metadata field through code' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Set+default+value+on+a+Managed+Metadata+field+through+code&#038;c=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/" title="Add 'Set default value on a Managed Metadata field through code' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Set default value on a Managed Metadata field through code' to MySpace" alt="Add 'Set default value on a Managed Metadata field through code' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/&#038;title=Set+default+value+on+a+Managed+Metadata+field+through+code" title="Add 'Set default value on a Managed Metadata field through code' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Set default value on a Managed Metadata field through code' to Del.icio.us" alt="Add 'Set default value on a Managed Metadata field through code' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/&#038;title=Set+default+value+on+a+Managed+Metadata+field+through+code" title="Add 'Set default value on a Managed Metadata field through code' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Set default value on a Managed Metadata field through code' to digg" alt="Add 'Set default value on a Managed Metadata field through code' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/&#038;title=Set+default+value+on+a+Managed+Metadata+field+through+code" title="Add 'Set default value on a Managed Metadata field through code' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Set default value on a Managed Metadata field through code' to reddit" alt="Add 'Set default value on a Managed Metadata field through code' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/&#038;t=Set+default+value+on+a+Managed+Metadata+field+through+code" title="Add 'Set default value on a Managed Metadata field through code' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Set default value on a Managed Metadata field through code' to FaceBook" alt="Add 'Set default value on a Managed Metadata field through code' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/" title="Add 'Set default value on a Managed Metadata field through code' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Set default value on a Managed Metadata field through code' to Technorati" alt="Add 'Set default value on a Managed Metadata field through code' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/&#038;title=Set+default+value+on+a+Managed+Metadata+field+through+code" title="Add 'Set default value on a Managed Metadata field through code' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Set default value on a Managed Metadata field through code' to Stumble Upon" alt="Add 'Set default value on a Managed Metadata field through code' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/&#038;title=Set+default+value+on+a+Managed+Metadata+field+through+code" title="Add 'Set default value on a Managed Metadata field through code' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Set default value on a Managed Metadata field through code' to Google Bookmarks" alt="Add 'Set default value on a Managed Metadata field through code' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Set+default+value+on+a+Managed+Metadata+field+through+code&#038;url=http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/" title="Add 'Set default value on a Managed Metadata field through code' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'Set default value on a Managed Metadata field through code' to SlashDot" alt="Add 'Set default value on a Managed Metadata field through code' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/">Set default value on a Managed Metadata field through code</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F06%2F26%2Fset-default-value-on-a-managed-metadata-field-through-code%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/06/26/set-default-value-on-a-managed-metadata-field-through-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Term Store management option missing in Site Collection settings</title>
		<link>http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 12:30:10 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Managed Metadata]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/?p=800</guid>
		<description><![CDATA[When you don&#8217;t see the Term Store Management option in your site collection settings: A hidden web application feature is probably not activated. You can activate it through PowerShell or stsadm: Enable-SPFeature -id &#8220;73EF14B1-13A9-416b-A9B5-ECECA2B0604C&#8221; -Url &#60;Site-URL&#62; stsadm -o activatefeature -id 73EF14B1-13A9-416b-A9B5-ECECA2B0604C -url http://&#60;url&#62; -force Bookmark to:web design Term Store management option missing in Site Collection [...]<p><a href="http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/">Term Store management option missing in Site Collection settings</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>When you don&#8217;t see the Term Store Management option in your site collection settings:</p>
<p><a  href="http://blog.petergerritsen.nl/wp-content/uploads/2010/06/Term-Store-Management-option.png" class="thickbox no_icon" rel="gallery-800" title="Term Store Management option"><img class="size-medium wp-image-801" title="Term Store Management option" src="http://blog.petergerritsen.nl/wp-content/uploads/2010/06/Term-Store-Management-option-300x224.png" alt="" width="300" height="224" /></a></p>
<p>A hidden web application feature is probably not activated. You can activate it through PowerShell or stsadm:</p>
<p>Enable-SPFeature -id &#8220;73EF14B1-13A9-416b-A9B5-ECECA2B0604C&#8221; -Url &lt;Site-URL&gt;</p>
<p>stsadm -o activatefeature -id 73EF14B1-13A9-416b-A9B5-ECECA2B0604C -url http://&lt;url&gt; -force</p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/" title="Add 'Term Store management option missing in Site Collection settings' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Term Store management option missing in Site Collection settings' to Twitter" alt="Add 'Term Store management option missing in Site Collection settings' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Term+Store+management+option+missing+in+Site+Collection+settings&#038;c=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/" title="Add 'Term Store management option missing in Site Collection settings' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Term Store management option missing in Site Collection settings' to MySpace" alt="Add 'Term Store management option missing in Site Collection settings' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/&#038;title=Term+Store+management+option+missing+in+Site+Collection+settings" title="Add 'Term Store management option missing in Site Collection settings' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Term Store management option missing in Site Collection settings' to Del.icio.us" alt="Add 'Term Store management option missing in Site Collection settings' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/&#038;title=Term+Store+management+option+missing+in+Site+Collection+settings" title="Add 'Term Store management option missing in Site Collection settings' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Term Store management option missing in Site Collection settings' to digg" alt="Add 'Term Store management option missing in Site Collection settings' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/&#038;title=Term+Store+management+option+missing+in+Site+Collection+settings" title="Add 'Term Store management option missing in Site Collection settings' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Term Store management option missing in Site Collection settings' to reddit" alt="Add 'Term Store management option missing in Site Collection settings' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/&#038;t=Term+Store+management+option+missing+in+Site+Collection+settings" title="Add 'Term Store management option missing in Site Collection settings' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Term Store management option missing in Site Collection settings' to FaceBook" alt="Add 'Term Store management option missing in Site Collection settings' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/" title="Add 'Term Store management option missing in Site Collection settings' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Term Store management option missing in Site Collection settings' to Technorati" alt="Add 'Term Store management option missing in Site Collection settings' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/&#038;title=Term+Store+management+option+missing+in+Site+Collection+settings" title="Add 'Term Store management option missing in Site Collection settings' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Term Store management option missing in Site Collection settings' to Stumble Upon" alt="Add 'Term Store management option missing in Site Collection settings' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/&#038;title=Term+Store+management+option+missing+in+Site+Collection+settings" title="Add 'Term Store management option missing in Site Collection settings' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Term Store management option missing in Site Collection settings' to Google Bookmarks" alt="Add 'Term Store management option missing in Site Collection settings' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Term+Store+management+option+missing+in+Site+Collection+settings&#038;url=http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/" title="Add 'Term Store management option missing in Site Collection settings' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'Term Store management option missing in Site Collection settings' to SlashDot" alt="Add 'Term Store management option missing in Site Collection settings' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/">Term Store management option missing in Site Collection settings</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F06%2F09%2Fterm-store-management-option-missing-in-site-collection-settings%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/06/09/term-store-management-option-missing-in-site-collection-settings/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Issues with SharePoint Designer 64 bit</title>
		<link>http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 13:38:11 +0000</pubDate>
		<dc:creator>Peter Gerritsen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SharePoint Designer 2010]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://blog.petergerritsen.nl/?p=798</guid>
		<description><![CDATA[When you&#8217;ve got Office 2010 64-bit installed you can only install the 64-bit version of SharePoint Designer. Sadly this version has some integration issues. Main ones I&#8217;ve noticed is not being able to use the &#8220;Edit in SharePoint designer&#8221; link in the context menu and not being able to edit page layouts in SharePoint Designer. [...]<p><a href="http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/">Issues with SharePoint Designer 64 bit</a> is a post from: <a href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;ve got Office 2010 64-bit installed you can only install the 64-bit version of SharePoint Designer.</p>
<p>Sadly this version has some integration issues. Main ones I&#8217;ve noticed is not being able to use the &#8220;Edit in SharePoint designer&#8221; link in the context menu and not being able to edit page layouts in SharePoint Designer.</p>
<p>64-bit Office also has some integration issues. So unless you need 64 bit for working with really large Excel Sheets, I would stick with 32-bit for now.</p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/" title="Add 'Issues with SharePoint Designer 64 bit' to Twitter"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Issues with SharePoint Designer 64 bit' to Twitter" alt="Add 'Issues with SharePoint Designer 64 bit' to Twitter" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Issues+with+SharePoint+Designer+64+bit&#038;c=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/" title="Add 'Issues with SharePoint Designer 64 bit' to MySpace"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Issues with SharePoint Designer 64 bit' to MySpace" alt="Add 'Issues with SharePoint Designer 64 bit' to MySpace" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/&#038;title=Issues+with+SharePoint+Designer+64+bit" title="Add 'Issues with SharePoint Designer 64 bit' to Del.icio.us"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Issues with SharePoint Designer 64 bit' to Del.icio.us" alt="Add 'Issues with SharePoint Designer 64 bit' to Del.icio.us" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&#038;url=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/&#038;title=Issues+with+SharePoint+Designer+64+bit" title="Add 'Issues with SharePoint Designer 64 bit' to digg"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Issues with SharePoint Designer 64 bit' to digg" alt="Add 'Issues with SharePoint Designer 64 bit' to digg" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/&#038;title=Issues+with+SharePoint+Designer+64+bit" title="Add 'Issues with SharePoint Designer 64 bit' to reddit"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Issues with SharePoint Designer 64 bit' to reddit" alt="Add 'Issues with SharePoint Designer 64 bit' to reddit" /></a><br /><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/&#038;t=Issues+with+SharePoint+Designer+64+bit" title="Add 'Issues with SharePoint Designer 64 bit' to FaceBook"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Issues with SharePoint Designer 64 bit' to FaceBook" alt="Add 'Issues with SharePoint Designer 64 bit' to FaceBook" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/" title="Add 'Issues with SharePoint Designer 64 bit' to Technorati"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Issues with SharePoint Designer 64 bit' to Technorati" alt="Add 'Issues with SharePoint Designer 64 bit' to Technorati" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/&#038;title=Issues+with+SharePoint+Designer+64+bit" title="Add 'Issues with SharePoint Designer 64 bit' to Stumble Upon"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Issues with SharePoint Designer 64 bit' to Stumble Upon" alt="Add 'Issues with SharePoint Designer 64 bit' to Stumble Upon" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&#038;output=popup&#038;bkmk=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/&#038;title=Issues+with+SharePoint+Designer+64+bit" title="Add 'Issues with SharePoint Designer 64 bit' to Google Bookmarks"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Issues with SharePoint Designer 64 bit' to Google Bookmarks" alt="Add 'Issues with SharePoint Designer 64 bit' to Google Bookmarks" /></a><a  class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?title=Issues+with+SharePoint+Designer+64+bit&#038;url=http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/" title="Add 'Issues with SharePoint Designer 64 bit' to SlashDot"><img src="http://blog.petergerritsen.nl/wp-content/plugins/ro-social-bookmarks/slashdot.png" title="Add 'Issues with SharePoint Designer 64 bit' to SlashDot" alt="Add 'Issues with SharePoint Designer 64 bit' to SlashDot" /></a></div><div id="dwcredit"><a  id="dwlogo" href="http://www.dream-webdesign.ro" title="Web design">web design</a></div>
<!-- RO Social Bookmarks END --><p><a  href="http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/">Issues with SharePoint Designer 64 bit</a> is a post from: <a  href="http://blog.petergerritsen.nl">Peter Gerritsen&#039;s blog</a></p>
<div class="fblike" style="height:25px; height:25px; overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.petergerritsen.nl%2F2010%2F06%2F04%2Fissues-with-sharepoint-designer-64-bit%2F&amp;layout=standard&amp;show_faces=false&amp;width=320&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allow Transparency="true" style="border:none; overflow:hidden; width:320px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://blog.petergerritsen.nl/2010/06/04/issues-with-sharepoint-designer-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

