<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Bram de Jager&#039;s SharePoint blog</title>
	<atom:link href="http://bramdejager.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bramdejager.wordpress.com</link>
	<description>My view and thoughts on SharePoint.</description>
	<lastBuildDate>Wed, 22 Feb 2012 16:26:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bramdejager.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Bram de Jager&#039;s SharePoint blog</title>
		<link>http://bramdejager.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bramdejager.wordpress.com/osd.xml" title="Bram de Jager&#039;s SharePoint blog" />
	<atom:link rel='hub' href='http://bramdejager.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Integrate Beyond Compare with Visual Studio Source Control</title>
		<link>http://bramdejager.wordpress.com/2011/12/21/integrate-beyond-compare-with-visual-studio-source-control/</link>
		<comments>http://bramdejager.wordpress.com/2011/12/21/integrate-beyond-compare-with-visual-studio-source-control/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 07:38:32 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[Tooling]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/?p=180</guid>
		<description><![CDATA[Like everyone else, I have my own preferences to configure my development environment. One of the tools I’m using is Beyond Compare. Besides the main features of the tool, I like the integration with Visual Studio and Visual Studio Team Foundation (TFS) the best and it’s really simple! But I always forget the command and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=180&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Like everyone else, I have my own preferences to configure my development environment. One of the tools I’m using is <a href="http://www.scootersoftware.com" target="_blank">Beyond Compare</a>. Besides the main features of the tool, I like the integration with Visual Studio and Visual Studio Team Foundation (TFS) the best and it’s really simple! But I always forget the command and arguments to use. This is why I’m writing this post. </p>
<p>Configure Beyond Compare as version history compare tool for Visual Studio 2010:</p>
<ol>
<li>Open Visual Studio</li>
<li>Open <em>Tools » Options…</em></li>
<li>In the tree on the left go to <em>Source Control » Visual Studio Team Foundation</em></li>
<li>Click <em>Configure User Tools…</em></li>
<li>Click <em>Add…</em></li>
<li>Set the following fields</li>
<ol>
<li>Extention: *</li>
<li>Operation: Compare</li>
<li>Command: C:\Program Files (x86)\Beyond Compare 3\BCompare.exe</li>
<li>Arguments: %1 %2 –readonly /lefttitle=%6 /righttitle=%7</li>
</ol>
</ol>
<p>The arguments allow you to control the behavior of Beyond Compare. Labels to use:</p>
<ul>
<li>%1: Original file</li>
<li>%2: Modified file</li>
<li>%5: Diff command-line options</li>
<li>%6: Original file label</li>
<li>%7: Modified file label</li>
</ul>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/development/'>Development</a>, <a href='http://bramdejager.wordpress.com/tag/tooling/'>Tooling</a>, <a href='http://bramdejager.wordpress.com/tag/visual-studio/'>Visual Studio</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/180/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/180/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/180/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=180&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/12/21/integrate-beyond-compare-with-visual-studio-source-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Export WSP solution packages</title>
		<link>http://bramdejager.wordpress.com/2011/11/30/export-wsp-solution-packages/</link>
		<comments>http://bramdejager.wordpress.com/2011/11/30/export-wsp-solution-packages/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 07:53:17 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[IT Pro]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[WSP]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/?p=175</guid>
		<description><![CDATA[When WSP packages are added to a SharePoint farm they are stored in the config database. This is done to ensure new servers added to the farm can be synchronized with the specific farm configuration including WSP solution package deployment. Because solution packages are stored in the config database, it’s possible to download/export the WSP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=175&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When WSP packages are added to a SharePoint farm they are stored in the config database. This is done to ensure new servers added to the farm can be synchronized with the specific farm configuration including WSP solution package deployment. </p>
<p>Because solution packages are stored in the config database, it’s possible to download/export the WSP package with PowerShell. </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:3847bca7-ba87-4a72-8b55-52c5206956e6" class="wlWriterEditableSmartContent">
<pre style="width:598px;height:43px;background-color:White;white-space:pre-wrap;word-wrap:break-word;overflow:hidden;">
<div><span style="color:#000000;">Get</span><span style="color:#000000;">-</span><span style="color:#000000;">SPSolution </span><span style="color:#000000;">|</span><span style="color:#000000;"> </span><span style="color:#0000FF;">ForEach</span><span style="color:#000000;">-</span><span style="color:#000000;">Object { </span><span style="color:#800080;">$_</span><span style="color:#000000;">.SolutionFile.SaveAs(</span><span style="color:#800080;">$_</span><span style="color:#000000;">.SolutionFile.Name) }</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>The WSP packages are stored in the current directory.</p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/it-pro/'>IT Pro</a>, <a href='http://bramdejager.wordpress.com/tag/powershell/'>PowerShell</a>, <a href='http://bramdejager.wordpress.com/tag/wsp/'>WSP</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/175/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=175&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/11/30/export-wsp-solution-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Approaches to migrating your service applications</title>
		<link>http://bramdejager.wordpress.com/2011/10/10/approaches-to-migrating-your-service-applications/</link>
		<comments>http://bramdejager.wordpress.com/2011/10/10/approaches-to-migrating-your-service-applications/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 19:11:57 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[IT Pro]]></category>
		<category><![CDATA[Service Application]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/?p=171</guid>
		<description><![CDATA[While working my way through TechNet documentation, I came across this very interesting table! It describes supported methods for service application migration. The forth column shows the support for read-only database. You can find more information on read-only databases here: Run a farm that uses read-only databases (SharePoint Server 2010) [http://technet.microsoft.com/en-us/library/dd793608.aspx]. Service application Database Supported [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=171&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While working my way through <a href="http://technet.microsoft.com/en-us/library/hh495476.aspx#APPENDIXE" target="_blank">TechNet documentation</a>, I came across this very interesting table! It describes supported methods for service application migration.</p>
<p>The forth column shows the support for read-only database. You can find more information on read-only databases here: <a href="http://technet.microsoft.com/en-us/library/dd793608.aspx" target="_blank">Run a farm that uses read-only databases (SharePoint Server 2010)</a> [<a href="http://technet.microsoft.com/en-us/library/dd793608.aspx">http://technet.microsoft.com/en-us/library/dd793608.aspx</a>].</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">
<p><strong>Service application </strong></p>
</td>
<td valign="top">
<p><strong>Database </strong></p>
</td>
<td valign="top">
<p><strong>Supported approach </strong></p>
</td>
<td valign="top">
<p><strong>Supports read-only </strong></p>
</td>
<td valign="top">
<p><strong>Notes </strong></p>
</td>
</tr>
<tr>
<td valign="top">
<p><font size="1">Access Services</font></p>
</td>
<td valign="top">
<p><font size="1">None</font></p>
</td>
<td valign="top">
<p><font size="1">not available</font></p>
</td>
<td valign="top">
<p><font size="1">not available</font></p>
</td>
<td valign="top">&#160;</td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Application Discovery and Load Balancing</font></p>
</td>
<td valign="top">
<p><font size="2">None</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Application Registry Service</font></p>
</td>
<td valign="top">
<p><font size="2">Application Registry Service</font></p>
</td>
<td valign="top">
<p><font size="2">Recreate</font></p>
</td>
<td valign="top">
<p><font size="2">No</font></p>
</td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Business Data Connectivity</font></p>
</td>
<td valign="top">
<p><font size="2">Business Data Connectivity</font></p>
</td>
<td valign="top">
<p><font size="2">· Database attach</font></p>
<p><font size="2">· Recreate</font></p>
</td>
<td valign="top"><font size="2"></font></td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Excel Services </font></p>
</td>
<td valign="top">
<p><font size="2">none</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Microsoft SharePoint Foundation Subscription Settings</font></p>
</td>
<td valign="top">
<p><font size="2">Subscription</font></p>
</td>
<td valign="top">
<p><font size="2">Database attach</font></p>
</td>
<td valign="top"><font size="2"></font></td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Managed Metadata Service</font></p>
</td>
<td valign="top">
<p><font size="2">Managed Metadata Service</font></p>
</td>
<td valign="top">
<p><font size="2">· Database attach</font></p>
<p><font size="2">· Recreate</font></p>
</td>
<td valign="top"><font size="2"></font></td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">PerformancePoint Services </font></p>
</td>
<td valign="top">
<p><font size="2">PerformancePoint Services </font></p>
</td>
<td valign="top">
<p><font size="2">Recreate</font></p>
</td>
<td valign="top"><font size="2"></font></td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">PowerPoint Service</font></p>
</td>
<td valign="top">
<p><font size="2">None</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Project Server service application</font></p>
</td>
<td valign="top">
<p><font size="2">· Draft</font></p>
<p><font size="2">· Published</font></p>
<p><font size="2">· Archive</font></p>
<p><font size="2">· Reporting</font></p>
</td>
<td valign="top">
<p><font size="2">Database attach</font></p>
</td>
<td valign="top">
<p><font size="2">No</font></p>
</td>
<td valign="top">
<p><font size="2">· Requires synchronization between the databases</font></p>
<p><font size="2">· Need to configure time stamps or log marking</font></p>
<p><font size="2">For more information, see </font><a href="http://technet.microsoft.com/en-us/library/ee662500.aspx"><font size="2">Database-attach full upgrade to Project Server 2010</font></a></p>
</td>
</tr>
<tr>
<td valign="top">
<p><font size="2">SharePoint Server Search</font></p>
</td>
<td valign="top">
<p><font size="2">· Search Administration</font></p>
<p><font size="2">· Crawl</font></p>
<p><font size="2">· Property</font></p>
</td>
<td valign="top">
<p><font size="2">· Recreate</font></p>
<p><font size="2">· SharePoint backup and restore</font></p>
</td>
<td valign="top">
<p><font size="2">No</font></p>
</td>
<td valign="top">
<p><font size="2">· The index partitions are copied to the new farm and then restored on the new database server.</font></p>
<p><font size="2">· The search topology is exported and then restored to the new server.</font></p>
</td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Secure Store </font></p>
</td>
<td valign="top">
<p><font size="2">Secure Store</font></p>
</td>
<td valign="top">
<p><font size="2">· Database attach</font></p>
<p><font size="2">· Recreate</font></p>
</td>
<td valign="top"><font size="2"></font></td>
<td valign="top">
<p><font size="2">The pass phrase for the new database must be identical to the source database. </font></p>
</td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Security Token Service</font></p>
</td>
<td valign="top"><font size="2"></font></td>
<td valign="top">
<p><font size="2">Recreate</font></p>
</td>
<td valign="top"><font size="2"></font></td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">State Service</font></p>
</td>
<td valign="top">
<p><font size="2">State</font></p>
</td>
<td valign="top">
<p><font size="2">Recreate</font></p>
</td>
<td valign="top">
<p><font size="2">No</font></p>
</td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Usage and Health Data Collection</font></p>
</td>
<td valign="top">
<p><font size="2">Logging</font></p>
</td>
<td valign="top">
<p><font size="2">Recreate</font></p>
</td>
<td valign="top">
<p><font size="2">No</font></p>
</td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">User Profile</font></p>
</td>
<td valign="top">
<p><font size="2">· Profile</font></p>
<p><font size="2">· Synchronization</font></p>
<p><font size="2">· Social tagging</font></p>
</td>
<td valign="top">
<p><font size="2">· Database attach</font></p>
<p><font size="2">· Recreate</font></p>
</td>
<td valign="top"><font size="2"></font></td>
<td valign="top">
<p><font size="2">Profile requires the restoration of an encrypted FIM key</font></p>
</td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Visio Graphics Service</font></p>
</td>
<td valign="top">
<p><font size="2">None</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Web Analytics Service</font></p>
</td>
<td valign="top">
<p><font size="2">· Staging</font></p>
<p><font size="2">· Reporting</font></p>
</td>
<td valign="top">
<p><font size="2">· Database attach</font></p>
<p><font size="2">· Recreate</font></p>
</td>
<td valign="top"><font size="2"></font></td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Word Automation Service</font></p>
</td>
<td valign="top">
<p><font size="2">Word Automation Services</font></p>
</td>
<td valign="top">
<p><font size="2">Recreate</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top"><font size="2"></font></td>
</tr>
<tr>
<td valign="top">
<p><font size="2">Word Viewing Service</font></p>
</td>
<td valign="top">
<p><font size="2">None</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top">
<p><font size="2">not available</font></p>
</td>
<td valign="top">&#160;</td>
</tr>
</tbody>
</table>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/it-pro/'>IT Pro</a>, <a href='http://bramdejager.wordpress.com/tag/service-application/'>Service Application</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/upgrade/'>Upgrade</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=171&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/10/10/approaches-to-migrating-your-service-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Display exceptions in application pages</title>
		<link>http://bramdejager.wordpress.com/2011/10/05/display-exceptions-in-application-pages/</link>
		<comments>http://bramdejager.wordpress.com/2011/10/05/display-exceptions-in-application-pages/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 06:50:07 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/10/05/display-exceptions-in-application-pages/</guid>
		<description><![CDATA[SharePoint OOTB displays user friendly an error page to end users. As a developer we want the .NET error page displaying detailed information about the exception thrown. By updating the web.config file with the following parameters the detailed information is displayed. &#60;configuration&#62; &#60;SharePoint&#62; &#60;SafeMode CallStack=&#34;true&#34; /&#62; &#60;/SharePoint&#62; &#60;system.web&#62; &#60;customErrors mode=&#34;Off&#34; /&#62; &#60;compilation debug=&#34;true&#34; /&#62; &#60;/system.web&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=170&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SharePoint OOTB displays user friendly an error page to end users. As a developer we want the .NET error page displaying detailed information about the exception thrown. By updating the <em>web.config</em> file with the following parameters the detailed information is displayed. </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:ddd8e636-2f4a-4abe-9ef7-97d8eea92f59" class="wlWriterEditableSmartContent">
<pre style="width:598px;height:200px;background-color:White;overflow:hidden;">
<div><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">configuration</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
    </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">SharePoint</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
        </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">SafeMode </span><span style="color:#FF0000;">CallStack</span><span style="color:#0000FF;">=&quot;true&quot;</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
    </span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">SharePoint</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
    </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">system.web</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
        </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">customErrors </span><span style="color:#FF0000;">mode</span><span style="color:#0000FF;">=&quot;Off&quot;</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
        </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">compilation </span><span style="color:#FF0000;">debug</span><span style="color:#0000FF;">=&quot;true&quot;</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
    </span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">system.web</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">configuration</span><span style="color:#0000FF;">&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>By only changing the <em>web.config</em> file in the web application root, located in “C:\inetpub\wwwRoot\wss\&lt;webapp&gt;”, will not display detailed information in application pages (a.k.a. layouts pages). </p>
<blockquote>
<p>There is more than one web.config file! Check your SharePoint Root folder.</p>
</blockquote>
<p>Update the configuration show above in the “…\14\TEMPLATE\LAYOUTS\web.config” file and this will result in a .NET error page for application pages.</p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/development/'>Development</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=170&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/10/05/display-exceptions-in-application-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Build your own custom administration</title>
		<link>http://bramdejager.wordpress.com/2011/09/30/build-your-own-custom-administration/</link>
		<comments>http://bramdejager.wordpress.com/2011/09/30/build-your-own-custom-administration/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 07:34:13 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[CustomAction]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Web Template]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/?p=144</guid>
		<description><![CDATA[Managing application specific configuration is mostly done within an application page (aka layouts page). Navigating to these pages is done via custom actions, which adds links to for example the Site Settings page. The challenge starts when the number of application pages grows. Do you keep adding them to the Site Settings page? Do you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=144&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Managing application specific configuration is mostly done within an application page (aka layouts page). Navigating to these pages is done via custom actions, which adds links to for example the Site Settings page. The challenge starts when the number of application pages grows. Do you keep adding them to the Site Settings page? Do you show them on all Site Settings pages in the web application of every web? </p>
<p>What you need is a centralized administration, like the Central Administration, controlling your application configuration. The Central Administration in SharePoint has two sorts of pages. The homepage (default.aspx) providing an overview and pages like <em>Application Management </em>showing a collection of links related to <em>Application Management</em>. </p>
<p><a href="http://bramdejager.files.wordpress.com/2011/10/centraladministration_homepage.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="CentralAdministration_Homepage" border="0" alt="CentralAdministration_Homepage" src="http://bramdejager.files.wordpress.com/2011/10/centraladministration_homepage_thumb.png?w=244&#038;h=153" width="244" height="153" /></a>&#160;<a href="http://bramdejager.files.wordpress.com/2011/10/centraladministration_applicationmanagement.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="CentralAdministration_ApplicationManagement" border="0" alt="CentralAdministration_ApplicationManagement" src="http://bramdejager.files.wordpress.com/2011/10/centraladministration_applicationmanagement_thumb.png?w=244&#038;h=153" width="244" height="153" /></a></p>
<p>It’s easy to build your own custom administration site. The image below shows my own administration site. Do you see the resemblance?</p>
<p><a href="http://bramdejager.files.wordpress.com/2011/10/applicationadministration_homepage.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="ApplicationAdministration_Homepage" border="0" alt="ApplicationAdministration_Homepage" src="http://bramdejager.files.wordpress.com/2011/10/applicationadministration_homepage_thumb.png?w=244&#038;h=153" width="244" height="153" /></a>&#160;<a href="http://bramdejager.files.wordpress.com/2011/10/applicationadministration_security.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="ApplicationAdministration_Security" border="0" alt="ApplicationAdministration_Security" src="http://bramdejager.files.wordpress.com/2011/10/applicationadministration_security_thumb.png?w=244&#038;h=153" width="244" height="153" /></a></p>
<p>Creating these pages is pretty straightforward when using the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.featurelinksections.aspx" target="_blank">FeatureLinkSections</a> class together with “LinkSectionLevel1.ascx” and “LinkSectionLevel2.ascx” controls. This web control handles the rendering of the links based on enabled features in the current context. The links are provisioned by custom actions as part of a (enabled) feature. </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:0b6a0400-08da-45d9-b74b-b4fb27af511d" class="wlWriterEditableSmartContent">
<pre style="width:526px;height:127px;background-color:White;overflow:auto;">
<div><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">SharePoint:FeatureLinkSections </span><span style="color:#FF0000;">Runat</span><span style="color:#0000FF;">=&quot;server&quot;</span><span style="color:#FF0000;">
    Id</span><span style="color:#0000FF;">=&quot;SettingLinksV4&quot;</span><span style="color:#FF0000;">
    CellPadding</span><span style="color:#0000FF;">=&quot;4&quot;</span><span style="color:#FF0000;"> CellSpacing</span><span style="color:#0000FF;">=&quot;4&quot;</span><span style="color:#FF0000;">
    Location</span><span style="color:#0000FF;">=&quot;Contoso.SharePoint.AdminPage&quot;</span><span style="color:#FF0000;">
    LinkSectionControl</span><span style="color:#0000FF;">=&quot;LinkSectionLevel1.ascx&quot;</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>The <em>Location </em>attribute is an unique identifier indicating the location where links are provisioned. The location is used in the custom action XML (shown below) to point to the location in the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.featurelinksections.aspx" target="_blank">FeatureLinkSections</a> control.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:6df023c5-3a5a-40cc-bd29-87cf27b8dc4a" class="wlWriterEditableSmartContent">
<pre style="width:598px;height:448px;background-color:White;overflow:auto;">
<div><span style="color:#000000;">  </span><span style="color:#008000;">&lt;!--</span><span style="color:#008000;"> Admin Page - Security </span><span style="color:#008000;">--&gt;</span><span style="color:#000000;">
  </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">CustomActionGroup
     </span><span style="color:#FF0000;">Id</span><span style="color:#0000FF;">=&quot;ContosoSecurity&quot;</span><span style="color:#FF0000;">
     Title</span><span style="color:#0000FF;">=&quot;Contoso Security&quot;</span><span style="color:#FF0000;">
     Location</span><span style="color:#0000FF;">=&quot;Contoso.SharePoint.AdminPage&quot;</span><span style="color:#FF0000;">
     Sequence</span><span style="color:#0000FF;">=&quot;10&quot;</span><span style="color:#FF0000;">
     Description</span><span style="color:#0000FF;">=&quot;&quot;</span><span style="color:#FF0000;">
     ImageUrl</span><span style="color:#0000FF;">=&quot;/_layouts/images/
         SiteSettings_UsersAndPermissions_48x48.png&quot;</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
  </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">CustomAction
    </span><span style="color:#FF0000;">Id</span><span style="color:#0000FF;">=&quot;ContosoAdmins&quot;</span><span style="color:#FF0000;">
    GroupId</span><span style="color:#0000FF;">=&quot;ContosoSecurity&quot;</span><span style="color:#FF0000;">
    Location</span><span style="color:#0000FF;">=&quot;Contoso.SharePoint.AdminPage&quot;</span><span style="color:#FF0000;">
    Rights</span><span style="color:#0000FF;">=&quot;EnumeratePermissions,BrowseUserInfo&quot;</span><span style="color:#FF0000;">
    Sequence</span><span style="color:#0000FF;">=&quot;10&quot;</span><span style="color:#FF0000;">
    Title</span><span style="color:#0000FF;">=&quot;Contoso Administrators&quot;</span><span style="color:#FF0000;">
    Description</span><span style="color:#0000FF;">=&quot;...&quot;</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
    </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">UrlAction
        </span><span style="color:#FF0000;">Url</span><span style="color:#0000FF;">=&quot;_layouts/people.aspx&quot;</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
  </span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">CustomAction</span><span style="color:#0000FF;">&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>The <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.featurelinksections.aspx" target="_blank">FeatureLinkSections</a> control uses two views controlled by the <em>LinkSectionControl</em> attribute.</p>
<h5><strong>LinkSectionLinks1.ascx</strong></h5>
<p>Shows a 48&#215;48 icon for the group and links are placed below each other. </p>
<p><a href="http://bramdejager.files.wordpress.com/2011/10/linksectionlinks1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="LinkSectionLinks1" border="0" alt="LinkSectionLinks1" src="http://bramdejager.files.wordpress.com/2011/10/linksectionlinks1_thumb.png?w=244&#038;h=58" width="244" height="58" /></a></p>
<h5><strong>LinkSectionLinks2.ascx</strong></h5>
<p>Shows a 32&#215;32 icon for the group and links are delimited by the “|” character. <a href="http://bramdejager.files.wordpress.com/2011/10/linksectionlinks2.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;float:left;border-top:0;border-right:0;padding-top:0;" title="LinkSectionLinks2" border="0" alt="LinkSectionLinks2" align="left" src="http://bramdejager.files.wordpress.com/2011/10/linksectionlinks2_thumb.png?w=244&#038;h=42" width="244" height="42" /></a> </p>
<p>&#160;</p>
<h2>Visual Studio solution</h2>
<p>I included the Visual Studio project containing the following components:</p>
<ul>
<li>AdminPages_Web feature: Web scoped feature with event receiver updating the welcome page and quicklaunch. The feature contains the following components:
<ul>
<li>AdminPage module </li>
<li>AdminPageActions custom actions </li>
<li>PBWebTemplate element </li>
<li>Event receiver </li>
</ul>
</li>
<li>AdminSite_Site feature: Site collection scoped feature containing the web template for creating the web. The feature contains the following components:
<ul>
<li>AdminWebTemplate web template </li>
</ul>
</li>
<li>AdminPageActions custom actions: All custom actions containing all links displayed in the central adminstration. </li>
<li>AdminPages module: Provisions the adminpage.aspx and security.aspx pages in the web root folder. </li>
<li>AdminWebTemplate web template: Contains the web template for creating the web. </li>
<li>PBWebTemplate element: Property bag element with unique web template id </li>
</ul>
<p><a href="http://sp2010admin.codeplex.com/" target="_blank"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;float:left;border-top:0;border-right:0;padding-top:0;" title="Download" border="0" alt="Download" align="left" src="http://bramdejager.files.wordpress.com/2011/10/download1.png?w=71&#038;h=71" width="71" height="71" /></a>You can download the WSP package and source code at <a href="http://sp2010admin.codeplex.com/" target="_blank">http://sp2010admin.codeplex.com/</a>.</p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/customaction/'>CustomAction</a>, <a href='http://bramdejager.wordpress.com/tag/development/'>Development</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/web-template/'>Web Template</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/144/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=144&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/09/30/build-your-own-custom-administration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/10/centraladministration_homepage_thumb.png" medium="image">
			<media:title type="html">CentralAdministration_Homepage</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/10/centraladministration_applicationmanagement_thumb.png" medium="image">
			<media:title type="html">CentralAdministration_ApplicationManagement</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/10/applicationadministration_homepage_thumb.png" medium="image">
			<media:title type="html">ApplicationAdministration_Homepage</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/10/applicationadministration_security_thumb.png" medium="image">
			<media:title type="html">ApplicationAdministration_Security</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/10/linksectionlinks1_thumb.png" medium="image">
			<media:title type="html">LinkSectionLinks1</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/10/linksectionlinks2_thumb.png" medium="image">
			<media:title type="html">LinkSectionLinks2</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/10/download1.png" medium="image">
			<media:title type="html">Download</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting Taxonomy field value from a Sandboxed Solution</title>
		<link>http://bramdejager.wordpress.com/2011/08/31/setting-taxonomy-field-value-from-a-sandboxed-solution/</link>
		<comments>http://bramdejager.wordpress.com/2011/08/31/setting-taxonomy-field-value-from-a-sandboxed-solution/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 19:48:03 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Managed Metadata Service]]></category>
		<category><![CDATA[Sandbox Solution]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Taxonomy]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/08/31/setting-taxonomy-field-value-from-a-sandboxed-solution/</guid>
		<description><![CDATA[Taxonomy is one of those topics which has been extensively discussed. Andrew Connell did a series of posts about SharePoint 2010 Managed Metadata which is worth reading. Although the huge number of blog posts and forum discussions you can’t find much regarding updating a taxonomy field value for a list item from a sandboxed solution. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=108&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Taxonomy is one of those topics which has been extensively discussed. Andrew Connell did a series of posts about <a href="http://www.andrewconnell.com/blog/archive/2011/06/15/sharepoint-2010-managed-metadata-about-the-series.aspx" target="_blank">SharePoint 2010 Managed Metadata</a> which is worth reading. Although the huge number of blog posts and forum discussions you can’t find much regarding updating a taxonomy field value for a list item from a sandboxed solution. </p>
<p>I wanted to create a sandboxed solution which loops all lists and updates the field values of items. Among these field values are taxonomy fields. Normally you would use <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.taxonomyfield.setfieldvalue.aspx" target="_blank">TaxonomyField.SetFieldValue()</a> for updating the field value. But within a sandboxed solution you are not allowed to use the <a href="http://msdn.microsoft.com/en-us/library/ee583437.aspx" target="_blank">Microsoft.SharePoint.Taxonomy</a> namespace. </p>
<blockquote><p>If you are interested in the outcome: You <u>CAN’T </u>set the taxonomy field value for an item from a sandboxed solution. When updating a taxonomy field value <u>always</u> use the TaxonomyField.SetFieldValue() method. If you want to know why, enjoy reading!</p>
</blockquote>
<h1>Research</h1>
<p>After reading about taxonomy and taking a closer look at what is actually stored in a list, I noticed a couple of things:</p>
<ul>
<li>When creating a taxonomy field, it actually creates 2 fields </li>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldmultilinetext.aspx" target="_blank">Note</a> (SPFieldMultiLineText) field: Shown in the list as value</li>
<li><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.taxonomyfield.aspx" target="_blank">TaxonomyField</a> field: Hidden field in the list</li>
</ul>
<li>The actual value stored in the hidden TaxonomyField should look like “&lt;wssid&gt;;#&lt;guid&gt;|&lt;label&gt;”</li>
<li>The <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.taxonomyfieldvalue.wssid.aspx" target="_blank">WssId</a> is the list item ID for the local stored TaxonomyHiddenList, which is located at <u>http://&lt;applicationurl&gt;/sites/&lt;sitecollection&gt;/lists/taxonomyhiddenlist/</u></li>
<li>When WssId is –1 it means the term is not provisioned in the TaxonomyHiddenList</li>
<li>Calling <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.taxonomyfieldvalue.validatedstring.aspx" target="_blank">TaxonomyFieldValue.ValidatedString</a> triggers an update on the TaxonomyHiddenList to provision the term and returns the validated string “&lt;wssid&gt;;#&lt;guid&gt;|&lt;label&gt;”</li>
<li>‘The guid and label are those of an existing term in the Term Store</li>
<li>The delimiter “;#” between wssid and guid is <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldmulticolumnvalue.delimiter.aspx" target="_blank">SPFieldMultiColumnValue.Delimiter</a></li>
<li>The delimiter “|” between guid and label is <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.taxonomyfield.taxonomyguidlabeldelimiter.aspx" target="_blank">TaxonomyField.TaxonomyGuidLabelDelimiter</a>.</li>
</ul>
<h2></h2>
<h2>Testing approach</h2>
<p>The general idea for figuring it this out was creating a farm solution first and get everything up and running. When successful completing the farm solution, rework everything to a sandboxed solution.</p>
<p>The approach for testing is split up into 2 parts and every part has 4 tests. Part 1 is updating list item properties, part 2 is updating document properties. The pre-requisite for the test is a valid term (guid and label) and the term exists in the TaxonomyHiddenList. </p>
<p>During the tests I’ll talk about the two fields mentioned earlier. For ease of reading let’s name the Note field “taxField” and the TaxonomyField “taxHiddenField”.</p>
<p>Every part consist of 4 tests:</p>
<ol>
<li>TaxonomyField.SetFieldValue(item, term)</li>
<li>item[taxField.Title] with value “&lt;wssid&gt;;#&lt;guid&gt;|&lt;label&gt;”</li>
<li>item[taxHiddenField.Title] with value “&lt;wssid&gt;;#&lt;guid&gt;|&lt;label&gt;”</li>
<li>item[taxHiddenField.Title] with value “&lt;guid&gt;|&lt;label&gt;”</li>
</ol>
<p>I’ll spare the details and focus on the outcome. </p>
<h2>Part 1: Updating list item properties</h2>
<p>When updating a list item the assumption is that the TaxonomyField.SetFieldValue() is the preferred way of updating a taxonomy field value. When updating a list item this results in updating both the taxField and taxHiddenField. </p>
<p>All four tests result in updating both fields. Although it seems to exclude the WssId in the field value of taxField and taxHiddenField for tests #1 and #4. This looks weird to me for test #1, because looking internally to the decompiled sources, Microsoft uses the ValidatedString value which includes the WssId. </p>
<p>The same result as test #1 is only achieved with test #4, because tests #2 &amp; #3 includes the WssId in the taxHiddenField. This makes sense because we are explicitly updating the field value with the WssId. </p>
<p>For now it look like we are able to update the taxonomy field value in different ways. This is what we would like, because we could use the    <br /><em>item[taxField.Title] = “&lt;wssid&gt;;#&lt;guid&gt;|&lt;label&gt;” </em>within a sandboxed solution. Although it’s not completely consistent behavior.</p>
<h2>Part 2: Updating document properties</h2>
<p>Once again the assumption is updating a document via TaxonomyField.SetFieldValue() is the preferred way of updating the taxonomy field value. This results in both updating the taxField and taxHiddenField. </p>
<p>When running tests #2, #3 and #4 we run into issues. After the first run of the test everything looks OK. When running the test for a second and third time the taxField and taxHiddenField are out of sync. Both contain different values resulting in unexpected behavior!</p>
<h2>Conclusion</h2>
<p>I had planned to test the sandboxed solution, but didn’t got to it because the results of updating the document properties (part 2) from a farm solution were pretty clear. I could not find out what magic happens during the TaxonomyField.SetFieldValue(). But I did find out that something is happening, which is important for updating the list item or document properties! </p>
<blockquote><p>In other words there is no other way of updating the document properties for taxonomy fields than      <br />TaxonomyField.SetFieldValue(). </p>
</blockquote>
<p>Remember don’t ever use the <em>item[“&lt;taxonomy field name”] = “&lt;wssid&gt;;#&lt;guid&gt;|&lt;label&gt;”</em> statement for updating a taxonomy field value because you can’t rely on it!</p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/managed-metadata-service/'>Managed Metadata Service</a>, <a href='http://bramdejager.wordpress.com/tag/sandbox-solution/'>Sandbox Solution</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/taxonomy/'>Taxonomy</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=108&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/08/31/setting-taxonomy-field-value-from-a-sandboxed-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Word text generator for Lorem Ipsum</title>
		<link>http://bramdejager.wordpress.com/2011/08/22/word-text-generator-for-lorem-ipsum/</link>
		<comments>http://bramdejager.wordpress.com/2011/08/22/word-text-generator-for-lorem-ipsum/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 07:35:48 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/08/22/word-text-generator-for-lorem-ipsum/</guid>
		<description><![CDATA[Regularly I need Word documents with example text. Word has a example text generator feature which creates text like “Lorem ipsum dolor sit amet, consectetuer …” or “On the Insert tab, the galleries include items that are designed …” or “The quick brown fox jumps over the lazy dog. The quick brown fox …”. Simply [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=107&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Regularly I need Word documents with example text. Word has a example text generator feature which creates text like “<em>Lorem ipsum dolor sit amet, consectetuer …</em>” or “<em>On the Insert tab, the galleries include items that are designed …</em>” or “<em>The quick brown fox jumps over the lazy dog. The quick brown fox …</em>”.</p>
<p>Simply start Word and type <em>=lorem(3,10)</em> and press <em>Enter</em>.&#160; </p>
<p><a href="http://bramdejager.files.wordpress.com/2011/08/image.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="Word 2010, lorem ipsum function" border="0" alt="Word 2010, lorem ipsum function" src="http://bramdejager.files.wordpress.com/2011/08/image_thumb.png?w=644&#038;h=233" width="644" height="233" /></a></p>
<p>This results in:</p>
<p><a href="http://bramdejager.files.wordpress.com/2011/08/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="Word 2010, lorem ipsum result" border="0" alt="Word 2010, lorem ipsum result" src="http://bramdejager.files.wordpress.com/2011/08/image_thumb1.png?w=644&#038;h=416" width="644" height="416" /></a></p>
<p>There are some options you can use:</p>
<ul>
<li><strong>=lorem(p, l)</strong> where p is the number of paragraphs and l the number of lines per paragraph. </li>
<li><strong>=rand(p,l)</strong> provides the same functionality but using different text “<em>On the Insert tab, the galleries include items that are designed …</em>”</li>
<li><strong>=rand.old(p,l)</strong> also provides the same functionality using different text “<em>The quick brown fox jumps over the lazy dog. The quick brown fox …</em>”</li>
</ul>
<p>Maybe you already knew, maybe not. I was looking for the “<em>The quick brown fox jumps over the lazy dog. The quick brown fox …</em>” text and thought lets share! </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=107&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/08/22/word-text-generator-for-lorem-ipsum/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/08/image_thumb.png" medium="image">
			<media:title type="html">Word 2010, lorem ipsum function</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/08/image_thumb1.png" medium="image">
			<media:title type="html">Word 2010, lorem ipsum result</media:title>
		</media:content>
	</item>
		<item>
		<title>Out of the box Field and ContentType IDs</title>
		<link>http://bramdejager.wordpress.com/2011/06/24/out-of-the-box-field-and-contenttype-ids/</link>
		<comments>http://bramdejager.wordpress.com/2011/06/24/out-of-the-box-field-and-contenttype-ids/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 05:34:41 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/06/24/out-of-the-box-field-and-contenttype-ids/</guid>
		<description><![CDATA[SharePoint keeps amazing me, even after working more than 6 years with the product. The product is this big that’s it is almost impossible to know all. This is one of those things. I simply did see it before. When working on a “Yet Another SharePoint Gem” as Robin Meure called it. I stumbled on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=101&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SharePoint keeps amazing me, even after working more than 6 years with the product. The product is this big that’s it is almost impossible to know all. This is one of those things. I simply did see it before. </p>
<p>When working on a “<a href="http://community.zevenseas.com/Blogs/Robin/Lists/Posts/Post.aspx?ID=133" target="_blank">Yet Another SharePoint Gem</a>” as Robin Meure called it. I stumbled on the <a href="http://msdn.microsoft.com/en-us/library/ms435407.aspx" target="_blank"><strong>SPBuiltInFieldId</strong></a> class and <a href="http://msdn.microsoft.com/en-us/library/ms461338(v=office.14).aspx" target="_blank"><strong>SPBuiltInContentTypeId</strong></a> class. When retrieving information like the CreatedBy field (also known as Author) it is very useful. Also when checking whether a item is based on a out-of-the-box (OOTB) content type. See exaples below.</p>
<p><strong>Update</strong>: in addition to both SharePoint 2010 Foundation classes SharePoint Server has <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.contenttypeid.aspx" target="_blank"><strong>ContentTypeId</strong></a> class and <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.fieldid.aspx" target="_blank"><strong>FieldId</strong></a> class. Both are part of the Microsoft.SharePoint.Publishing namespace. Thanks to Jeffrey Schmitz (@DJeffa). </p>
<p>Here an example for the extension of the SPListItem class to retrieve the Author:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:adab23b1-713b-4d0e-9181-1515f8192f90" class="wlWriterEditableSmartContent">
<pre style="width:515px;height:251px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:visible;">
<div><span style="color:#0000FF;">public</span><span style="color:#000000;"> </span><span style="color:#0000FF;">static</span><span style="color:#000000;"> </span><span style="color:#0000FF;">class</span><span style="color:#000000;"> SPListItemExtentions
{
    </span><span style="color:#808080;">///</span><span style="color:#008000;"> </span><span style="color:#808080;">&lt;summary&gt;</span><span style="color:#008000;">
    </span><span style="color:#808080;">///</span><span style="color:#008000;"> Gets the author of a list item.
    </span><span style="color:#808080;">///</span><span style="color:#008000;"> </span><span style="color:#808080;">&lt;/summary&gt;</span><span style="color:#008000;">
    </span><span style="color:#808080;">///</span><span style="color:#008000;"> </span><span style="color:#808080;">&lt;param name=&quot;item&quot;&gt;</span><span style="color:#008000;">Extended class.</span><span style="color:#808080;">&lt;/param&gt;</span><span style="color:#008000;">
    </span><span style="color:#808080;">///</span><span style="color:#008000;"> </span><span style="color:#808080;">&lt;returns&gt;</span><span style="color:#008000;">Returns the author of the list item.</span><span style="color:#808080;">&lt;/returns&gt;</span><span style="color:#808080;">
</span><span style="color:#000000;">    </span><span style="color:#0000FF;">public</span><span style="color:#000000;"> </span><span style="color:#0000FF;">static</span><span style="color:#000000;"> SPUser GetAuthor(</span><span style="color:#0000FF;">this</span><span style="color:#000000;"> SPListItem item)
    {
        </span><span style="color:#0000FF;">string</span><span style="color:#000000;"> user </span><span style="color:#000000;">=</span><span style="color:#000000;"> item[SPBuiltInFieldId.Author].ToString();
        </span><span style="color:#0000FF;">int</span><span style="color:#000000;"> userId </span><span style="color:#000000;">=</span><span style="color:#000000;"> Convert.ToInt16(user.Split(</span><span style="color:#800000;">'</span><span style="color:#800000;">;</span><span style="color:#800000;">'</span><span style="color:#000000;">)[</span><span style="color:#800080;">0</span><span style="color:#000000;">]);
        </span><span style="color:#0000FF;">return</span><span style="color:#000000;"> item.Web.AllUsers.GetByID(userId);
    }
}
</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Another example for checking the base content type:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:1a631871-e65b-4dce-b629-5683206b4914" class="wlWriterEditableSmartContent">
<pre style="width:513px;height:144px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:visible;">
<div><span style="color:#000000;">SPListItem item </span><span style="color:#000000;">=</span><span style="color:#000000;"> list.GetItemById(</span><span style="color:#800080;">1</span><span style="color:#000000;">);
SPListItem topic </span><span style="color:#000000;">=</span><span style="color:#000000;"> item;

</span><span style="color:#008000;">//</span><span style="color:#008000;"> If item isn't the dicussion topic, get topic!</span><span style="color:#008000;">
</span><span style="color:#0000FF;">if</span><span style="color:#000000;"> (</span><span style="color:#000000;">!</span><span style="color:#000000;">item.ContentType.Id.IsChildOf(SPBuiltInContentTypeId.Discussion))
    topic </span><span style="color:#000000;">=</span><span style="color:#000000;"> GetTopicItem(item);
</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/development/'>Development</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=101&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/06/24/out-of-the-box-field-and-contenttype-ids/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Upgrading MOSS2007 to SharePoint 2010 results in navigation error</title>
		<link>http://bramdejager.wordpress.com/2011/06/06/upgrading-moss2007-to-sharepoint-2010-results-in-navigation-error/</link>
		<comments>http://bramdejager.wordpress.com/2011/06/06/upgrading-moss2007-to-sharepoint-2010-results-in-navigation-error/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 18:12:11 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/06/06/upgrading-moss2007-to-sharepoint-2010-results-in-navigation-error/</guid>
		<description><![CDATA[Having issues with navigation after an upgrade from MOSS2007 to SharePoint 2010 using the publishing template? We did! After an upgrade the navigation returned errors instead of menu items. We encountered these issues when the Dutch language pack was installed, because the Pages library has been translated/renamed to “Paginas”. Microsoft has provided a solution described [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=100&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having issues with navigation after an upgrade from MOSS2007 to SharePoint 2010 using the publishing template? We did! After an upgrade the navigation returned errors instead of menu items. We encountered these issues when the Dutch language pack was installed, because the Pages library has been translated/renamed to “Paginas”.</p>
<p><a href="http://bramdejager.files.wordpress.com/2011/06/upgradenavigationerrorsdutchlanguagepack_small.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="SharePoint Upgrade navigation errors Dutch Language Pack" border="0" alt="SharePoint Upgrade navigation errors Dutch Language Pack" src="http://bramdejager.files.wordpress.com/2011/06/upgradenavigationerrorsdutchlanguagepack_small_thumb.png?w=644&#038;h=278" width="644" height="278" /></a></p>
<p>Microsoft has provided a solution described in <a href="http://support.microsoft.com/default.aspx?scid=kb;en-US;2484317" target="_blank">KB 2484317</a>. The root cause of the issue is described as: </p>
<blockquote><p>With Microsoft Office SharePoint Server 2007 we stored new Publishing Pages in a library called Pages. In SharePoint 2010 it has been translated to Paginas as the default for Dutch. The navigation code assumes that any changes from the default are noted in a specific property, which is not the case for upgraded Dutch sites that have been created with the 2007 default name.</p>
</blockquote>
<p>The solution to this problem is pretty easy, a simple PowerShell script will restore your navigation. </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:9adb5669-cea4-43c3-9c93-640a1233618e" class="wlWriterEditableSmartContent">
<pre style="width:525px;height:420px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:visible;">
<div><span style="color:#800080;">$site</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> Get</span><span style="color:#000000;">-</span><span style="color:#000000;">SPSite(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">http://WebApplicationURL</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">)
</span><span style="color:#0000FF;">foreach</span><span style="color:#000000;"> (</span><span style="color:#800080;">$web</span><span style="color:#000000;"> </span><span style="color:#0000FF;">in</span><span style="color:#000000;"> </span><span style="color:#800080;">$site</span><span style="color:#000000;">.AllWebs)
{
    Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Output(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">web:</span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$web</span><span style="color:#000000;">.ServerRelativeUrl);
    </span><span style="color:#800080;">$pageslistid</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$web</span><span style="color:#000000;">.AllProperties[</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">__PagesListId</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">]

    </span><span style="color:#0000FF;">if</span><span style="color:#000000;"> ([String]</span><span style="color:#000000;">::</span><span style="color:#000000;">IsNullOrEmpty(</span><span style="color:#800080;">$pageslistid</span><span style="color:#000000;">))
    {
        Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Output(</span><span style="color:#800080;">$web</span><span style="color:#000000;">.ServerRelativeUrl </span><span style="color:#000000;">+</span><span style="color:#800000;">&quot;</span><span style="color:#800000;"> doesn't have a pages list id set - skipping</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">);
    }
    </span><span style="color:#0000FF;">else</span><span style="color:#000000;">
    {
        </span><span style="color:#800080;">$pageslistguid</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> new</span><span style="color:#000000;">-</span><span style="color:#000000;">object System.Guid(</span><span style="color:#800080;">$pageslistid</span><span style="color:#000000;">)
        </span><span style="color:#800080;">$pageslist</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$web</span><span style="color:#000000;">.Lists[</span><span style="color:#800080;">$pageslistguid</span><span style="color:#000000;">]
        </span><span style="color:#800080;">$pagesurl</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$pageslist</span><span style="color:#000000;">.RootFolder.Url
        </span><span style="color:#800080;">$pb</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$web</span><span style="color:#000000;">.Properties;
        </span><span style="color:#800080;">$pb</span><span style="color:#000000;">.Add(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">__PagesListName</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">, </span><span style="color:#800080;">$pagesurl</span><span style="color:#000000;">);
        </span><span style="color:#800080;">$pb</span><span style="color:#000000;">.Update();
        Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Output(</span><span style="color:#800080;">$web</span><span style="color:#000000;">.ServerRelativeUrl </span><span style="color:#000000;">+</span><span style="color:#800000;">&quot;</span><span style="color:#800000;"> set pages list to </span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$pagesurl</span><span style="color:#000000;">);
    }
}

</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/powershell/'>PowerShell</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2007/'>SharePoint 2007</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/upgrade/'>Upgrade</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=100&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/06/06/upgrading-moss2007-to-sharepoint-2010-results-in-navigation-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/06/upgradenavigationerrorsdutchlanguagepack_small_thumb.png" medium="image">
			<media:title type="html">SharePoint Upgrade navigation errors Dutch Language Pack</media:title>
		</media:content>
	</item>
		<item>
		<title>PowerShell script for retrieving AD user attributes based on display name</title>
		<link>http://bramdejager.wordpress.com/2011/05/30/powershell-script-for-retrieving-ad-user-attributes-based-on-display-name/</link>
		<comments>http://bramdejager.wordpress.com/2011/05/30/powershell-script-for-retrieving-ad-user-attributes-based-on-display-name/#comments</comments>
		<pubDate>Mon, 30 May 2011 12:00:58 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/05/30/powershell-script-for-retrieving-ad-user-attributes-based-on-display-name/</guid>
		<description><![CDATA[Populating more than 1.000 people picker values based on users display name can be quite challenging when doing it manually. PowerShell to the rescue! This script reads a TXT-file with 1 users’ display name per line. Per user it searches the local directory and outputs the displayName and sAMAccountName in a semicolon separated line (easy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=95&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Populating more than 1.000 people picker values based on users display name can be quite challenging when doing it manually. PowerShell to the rescue! </p>
<p>This script reads a TXT-file with 1 users’ display name per line. Per user it searches the local directory and outputs the displayName and sAMAccountName in a semicolon separated line (easy for Excel extraction).</p>
<p><strong>PowerShell script:</strong></p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:55379fec-5ae9-4b43-b97f-7d31f84c4fea" class="wlWriterEditableSmartContent">
<pre style="width:525px;height:464px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:auto;">
<div><span style="color:#0000FF;">function</span><span style="color:#000000;"> ConvertUser(</span><span style="color:#800080;">$user</span><span style="color:#000000;">)
{
    </span><span style="color:#800080;">$search</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> New</span><span style="color:#000000;">-</span><span style="color:#000000;">Object DirectoryServices.DirectorySearcher([ADSI]“”)
    </span><span style="color:#800080;">$search</span><span style="color:#000000;">.</span><span style="color:#0000FF;">filter</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> “(</span><span style="color:#000000;">&amp;</span><span style="color:#000000;">(objectClass</span><span style="color:#000000;">=</span><span style="color:#000000;">user)(displayName</span><span style="color:#000000;">=</span><span style="color:#800080;">$user</span><span style="color:#000000;">))”
    </span><span style="color:#800080;">$results</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$search</span><span style="color:#000000;">.Findall()

    </span><span style="color:#0000FF;">foreach</span><span style="color:#000000;">(</span><span style="color:#800080;">$result</span><span style="color:#000000;"> </span><span style="color:#0000FF;">in</span><span style="color:#000000;"> </span><span style="color:#800080;">$results</span><span style="color:#000000;">){
        </span><span style="color:#800080;">$userEntry</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$result</span><span style="color:#000000;">.GetDirectoryEntry()
        Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Output('' </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$userEntry</span><span style="color:#000000;">.displayName </span><span style="color:#000000;">+</span><span style="color:#000000;"> ';' </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$userEntry</span><span style="color:#000000;">.sAMAccountName)
    }
}

</span><span style="color:#0000FF;">function</span><span style="color:#000000;"> ConvertUsers
{
    </span><span style="color:#0000FF;">process</span><span style="color:#000000;">{
        </span><span style="color:#0000FF;">foreach</span><span style="color:#000000;">(</span><span style="color:#800080;">$user</span><span style="color:#000000;"> </span><span style="color:#0000FF;">In</span><span style="color:#000000;"> </span><span style="color:#800080;">$_</span><span style="color:#000000;">){
            ConvertUser(</span><span style="color:#800080;">$user</span><span style="color:#000000;">)
        }
    }
}

Get</span><span style="color:#000000;">-</span><span style="color:#000000;">Content “.\Users.txt” </span><span style="color:#000000;">|</span><span style="color:#000000;"> ConvertUsers </span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>TXT-file with users (filename: “Users.txt”):</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:50f45b94-0050-42e2-942f-b5e1f1e4f066" class="wlWriterEditableSmartContent">
<pre style="width:525px;height:103px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:auto;">
<div><span style="color:#000000;">Aaron Painter
Adam Barr
Alan Brewer
Alan Steiner</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Make a TXT-file with users display name (see example below). Then copy, paste and run the script above should do the trick. </p>
<p><a href="http://bramdejager.files.wordpress.com/2011/05/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://bramdejager.files.wordpress.com/2011/05/image_thumb.png?w=644&#038;h=204" width="644" height="204" /></a></p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/active-directory/'>Active Directory</a>, <a href='http://bramdejager.wordpress.com/tag/powershell/'>PowerShell</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=95&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/05/30/powershell-script-for-retrieving-ad-user-attributes-based-on-display-name/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/05/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Removing Super User and Super Reader account</title>
		<link>http://bramdejager.wordpress.com/2011/05/18/removing-super-user-and-super-reader-account/</link>
		<comments>http://bramdejager.wordpress.com/2011/05/18/removing-super-user-and-super-reader-account/#comments</comments>
		<pubDate>Wed, 18 May 2011 17:33:55 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[WCM]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/05/18/removing-super-user-and-super-reader-account/</guid>
		<description><![CDATA[A colleague of mine had issues with the object cache user accounts (Super User and Super Reader accounts). He used the blog post addressing the access denied errors. The post describes setting the Super User and Super Reader, but it did not describing removing both properties. My colleague needed to remove the properties, this PowerShell [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=91&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A colleague of mine had issues with the <a href="http://technet.microsoft.com/en-us/library/ff758656.aspx" target="_blank">object cache user accounts</a> (<em>Super User</em> and <em>Super Reader</em> accounts). He used the <a href="http://blogs.msdn.com/b/andrasg/archive/2010/09/30/setting-the-super-user-account-on-sharepoint-2010-and-getting-access-denied-errors-afterwards.aspx" target="_blank">blog post</a> addressing the access denied errors. The post describes setting the <em>Super User</em> and <em>Super Reader</em>, but it did not describing removing both properties. </p>
<p>My colleague needed to remove the properties, this PowerShell script removes both properties:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:57d94497-4627-4ee5-975d-01a6b18ef7df" class="wlWriterEditableSmartContent">
<pre style="width:518px;height:165px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:auto;">
<div><span style="color:#008000;">#</span><span style="color:#008000;"> Remove properties</span><span style="color:#008000;">
</span><span style="color:#800080;">$wa</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> Get</span><span style="color:#000000;">-</span><span style="color:#000000;">SPWebApplication </span><span style="color:#000000;">-</span><span style="color:#000000;">Identity </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">&lt;WebApplication&gt;</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">
</span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Properties.Remove(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">portalsuperuseraccount</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">)
</span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Properties.Remove(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">portalsuperreaderaccount</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">)
</span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Update()

Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Host(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Properties count for </span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Url </span><span style="color:#000000;">+</span><span style="color:#000000;">  </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">: </span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Properties.Count)</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>I hope it helps those who want to undo their settings. To complete the script:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:0ea3cb76-c0b6-4902-85d8-b0c511eb07ae" class="wlWriterEditableSmartContent">
<pre style="width:518px;height:223px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:auto;">
<div><span style="color:#008000;">#</span><span style="color:#008000;"> Get current properties</span><span style="color:#008000;">
</span><span style="color:#800080;">$wa</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> Get</span><span style="color:#000000;">-</span><span style="color:#000000;">SPWebApplication </span><span style="color:#000000;">-</span><span style="color:#000000;">Identity </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">&lt;WebApplication&gt;</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">
</span><span style="color:#800080;">$user</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Properties[</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">portalsuperuseraccount</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">]
</span><span style="color:#800080;">$reader</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Properties[</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">portalsuperreaderaccount</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">]

</span><span style="color:#008000;">#</span><span style="color:#008000;"> Write current properties</span><span style="color:#008000;">
</span><span style="color:#000000;">Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Host(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Properties count for </span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Url </span><span style="color:#000000;">+</span><span style="color:#000000;">  </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">: </span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Properties.Count)
Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Host(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Super user (</span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Url </span><span style="color:#000000;">+</span><span style="color:#000000;">  </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">): '</span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$user</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">'</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">)
Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Host(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Super reader (</span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$wa</span><span style="color:#000000;">.Url </span><span style="color:#000000;">+</span><span style="color:#000000;">  </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">): '</span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$reader</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">'</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">)
</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/powershell/'>PowerShell</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/wcm/'>WCM</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=91&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/05/18/removing-super-user-and-super-reader-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint Features and Solution Upgrading slide deck DevDays</title>
		<link>http://bramdejager.wordpress.com/2011/05/04/sharepoint-features-and-solution-upgrading-slide-deck-devdays/</link>
		<comments>http://bramdejager.wordpress.com/2011/05/04/sharepoint-features-and-solution-upgrading-slide-deck-devdays/#comments</comments>
		<pubDate>Wed, 04 May 2011 05:48:49 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/05/04/sharepoint-features-and-solution-upgrading-slide-deck-devdays/</guid>
		<description><![CDATA[Last Thursday I presented at DevDays 2011 in The Hague (NL). All sessions are recorded and can be viewed on Channel 9. It was a great time! SharePoint features and solution upgrading This was a level 300 session about SharePoint features and solutions upgrading. The feature and solution framework used for the deployment of custom [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=84&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last Thursday I presented at DevDays 2011 in The Hague (NL). All sessions are recorded and can be viewed on <a href="http://channel9.msdn.com/Events/DevDays/DevDays-2011-Netherlands" target="_blank">Channel 9</a>. It was a great time!</p>
<h4>SharePoint features and solution upgrading</h4>
<p>This was a level 300 session about SharePoint features and solutions upgrading. </p>
<blockquote><p>The feature and solution framework used for the deployment of custom SharePoint solutions was introduced in SharePoint 2007. With SharePoint 2010 some major improvements have been made to the framework to allow for feature versioning and upgradability. This provides new ways to deal with application lifecycle management. </p>
<p>This presentation covers the feature and solution framework, explains when to use the feature upgrade and talks about upgrading existing activated and non-activated features. During the session different demos will be build supporting the different scenarios.</p>
</blockquote>
<p><font color="#808080">You can download the slide deck here: </font></p>
<p><font color="#808080"><br />
<table border="0" cellspacing="0" cellpadding="2" width="494">
<tbody>
<tr>
<td valign="top" width="105"><a href="http://bramdejager.files.wordpress.com/2011/05/devdays-2011-bram_-de_-jager_-sharepoint-feature-and_-solution-upgrading.pptx"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="Download PowerPoint" border="0" alt="Download PowerPoint" src="http://bramdejager.files.wordpress.com/2011/05/download-powerpoint1.png?w=100&#038;h=100" width="100" height="100" /></a></td>
<td width="387">
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:F60BB8FA-6F02-4999-8F5E-9DD4E92C4DA7:51cec4be-c41f-4fdb-a01c-b870008aa6a3" class="wlWriterEditableSmartContent">
<div><a href="http://bramdejager.files.wordpress.com/2011/05/devdays-2011-bram_-de_-jager_-sharepoint-feature-and_-solution-upgrading.pptx" target="_self">DevDays 2011 &#8211; Bram de Jager &#8211; SharePoint Feature and Solution upgrading.pptx</a></div>
</div>
</td>
</tr>
</tbody>
</table>
<p>&#160;</font><font color="#808080">Enjoy the video on my session on <a href="http://channel9.msdn.com/Events/DevDays/DevDays-2011-Netherlands/Devdays025" target="_blank">Channel 9</a>! </font></p>
<p><a title="SharePoint Features en Solution Upgrading video" href="http://channel9.msdn.com/Events/DevDays/DevDays-2011-Netherlands/Devdays025" target="_blank"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Channel9 SharePoint Features en Solution Upgrading" border="0" alt="Channel9 SharePoint Features en Solution Upgrading" src="http://bramdejager.files.wordpress.com/2011/05/channel9-sharepoint-features-en-solution-upgrading.png?w=890&#038;h=467" width="890" height="467" /></a></p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/community/'>Community</a>, <a href='http://bramdejager.wordpress.com/tag/presentation/'>Presentation</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/upgrade/'>Upgrade</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=84&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/05/04/sharepoint-features-and-solution-upgrading-slide-deck-devdays/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/05/download-powerpoint1.png" medium="image">
			<media:title type="html">Download PowerPoint</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/05/channel9-sharepoint-features-en-solution-upgrading.png" medium="image">
			<media:title type="html">Channel9 SharePoint Features en Solution Upgrading</media:title>
		</media:content>
	</item>
		<item>
		<title>How to recover a crashed VM</title>
		<link>http://bramdejager.wordpress.com/2011/04/21/how-to-recover-a-crashed-vm/</link>
		<comments>http://bramdejager.wordpress.com/2011/04/21/how-to-recover-a-crashed-vm/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 16:59:25 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/04/21/how-to-recover-a-crashed-vm/</guid>
		<description><![CDATA[Last week it happened again, one of my virtual machines crashed. And I needed a way to repair the virtual machine or at least retrieve the files located on the virtual hard disk. Important note: This is (probably) not supported and I can’t guarantee your virtual machine is recovered. Please only use this how-to as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=78&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last week it happened again, one of my virtual machines crashed. And I needed a way to <u>repair the virtual machine</u> or at least <u>retrieve the files located on the virtual hard disk</u>. </p>
<blockquote><p><font color="#666666"><strong>Important note</strong>: This is (probably) not supported and I can’t guarantee your virtual machine is recovered. Please only use this how-to as your last resort! It <u>might</u> help you <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </font></p>
</blockquote>
<p><strong>What happened?: </strong>When the virtual machine (VM) crashed it needed a forced shutdown. When restarting the VM it came back with Recovery mode. I wasn’t able to start Windows normally! </p>
<p><strong>Solution: </strong>Within VirtualBox (I’m currently using Oracle VM VirtualBox), or any other virtualization software, you are able to mount multiple hard disks. You need to mount the hard disk of the crashed VM to another healthy VM (which works normally). Pay attention to snapshots, mount the latest snapshot! Start the healthy VM. </p>
<p><strong>What happens?:</strong> The healthy VM will pick up the crashed hard disk and starts scanning and repairing the hard disk. After repairing Windows will start normally and you are able to browse the hard disk and retrieve your files.</p>
<p>If you are having a lucky day? You could try to shutdown the healthy VM. Unmount the hard disk (which was repaired). And try starting your crashed VM. Now you know whether you are really lucky! It might start!? Good luck!</p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/virtualization/'>Virtualization</a>, <a href='http://bramdejager.wordpress.com/tag/windows-server/'>Windows Server</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=78&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/04/21/how-to-recover-a-crashed-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding script like jQuery to your pages</title>
		<link>http://bramdejager.wordpress.com/2011/04/13/adding-script-like-jquery-to-your-pages/</link>
		<comments>http://bramdejager.wordpress.com/2011/04/13/adding-script-like-jquery-to-your-pages/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 07:53:58 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[CustomAction]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/04/13/adding-script-like-jquery-to-your-pages/</guid>
		<description><![CDATA[When working with the post of Andrew Connell I faced some challenges with implementing my solution. I wanted to add multiple scripts with dependencies to my pages. When creating one elements.xml containing all three script links the order of the &#60;CustomAction Location=”X” ScriptScr=”Y” /&#62; elements is important. The following elements.xml is packaged in a feature. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=75&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When working with the <a href="http://www.andrewconnell.com/blog/archive/2011/04/11/adding-jquery-to-every-page-in-a-sharepoint.aspx" target="_blank">post</a> of <a href="http://www.andrewconnell.com/blog/Default.aspx" target="_blank">Andrew Connell</a> I faced some challenges with implementing my solution. I wanted to add multiple scripts with dependencies to my pages. When creating one elements.xml containing all three script links the order of the &lt;CustomAction Location=”X” ScriptScr=”Y” /&gt; elements is important. </p>
<p>The following elements.xml is packaged in a feature.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:8f61eb67-24b7-40fa-be0b-c8def104ccf7" class="wlWriterEditableSmartContent">
<pre style="width:518px;height:302px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:auto;">
<div><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">Elements </span><span style="color:#FF0000;">xmlns</span><span style="color:#0000FF;">=&quot;http://schemas.microsoft.com/sharepoint/&quot;</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
  </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">CustomAction
    </span><span style="color:#FF0000;">Location</span><span style="color:#0000FF;">=&quot;ScriptLink&quot;</span><span style="color:#FF0000;">
    ScriptSrc</span><span style="color:#0000FF;">=&quot;~site/_layouts/project_name/js/custom-1.0.0.js?rev=20110413&quot;</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
  </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">CustomAction
    </span><span style="color:#FF0000;">Location</span><span style="color:#0000FF;">=&quot;ScriptLink&quot;</span><span style="color:#FF0000;">
    ScriptSrc</span><span style="color:#0000FF;">=&quot;~sitecollection/_layouts/project_name/js/ jquery_query-2_1_7.js?rev=20110413&quot;</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
  </span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">CustomAction
    </span><span style="color:#FF0000;">Location</span><span style="color:#0000FF;">=&quot;ScriptLink&quot;</span><span style="color:#FF0000;">
    ScriptSrc</span><span style="color:#0000FF;">=&quot;~site/_layouts/project_name/js/jquery-1.5.1.min.js?rev=20110413&quot;</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">Elements</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>This results in the following HTML in your pages.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:0630ad60-8ff6-46fb-be61-17cb9a4aab78" class="wlWriterEditableSmartContent">
<pre style="width:518px;height:195px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:auto;">
<div><span style="color:#000000;">document.write(</span><span style="color:#000000;">'</span><span style="color:#000000;">&lt;script type=&quot;text/javascript&quot; src=&quot;/_layouts/project_name/js/jquery-1.5.1.min.js?rev=20110413&quot;&gt;&lt;/</span><span style="color:#000000;">'</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">script&gt;</span><span style="color:#000000;">'</span><span style="color:#000000;">);
document.write(</span><span style="color:#000000;">'</span><span style="color:#000000;">&lt;script type=&quot;text/javascript&quot; src=&quot;/_layouts/project_name/js/jquery_query-2_1_7.js?rev=20110413&quot;&gt;&lt;/</span><span style="color:#000000;">'</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">script&gt;</span><span style="color:#000000;">'</span><span style="color:#000000;">);
document.write(</span><span style="color:#000000;">'</span><span style="color:#000000;">&lt;script type=&quot;text/javascript&quot; src=&quot;/_layouts/project_name/js/custom-1.0.0.js?rev=20110413&quot;&gt;&lt;/</span><span style="color:#000000;">'</span><span style="color:#000000;"> </span><span style="color:#000000;">+</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">script&gt;</span><span style="color:#000000;">'</span><span style="color:#000000;">);
</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Important to know is the order in the elements.xml is the opposite sequence in the HTML. Meaning the script “jquery_query-2_1_7.js” is depending on “jquery-1.5.1.min.js” and needs to be the last item in the elements.xml.</p>
<p>In the script link I’m using “~site” and “~sitecollection” tokens to change the link according to the site or site collection where the user is located. This is important when creating a generic feature used on multiple sites. </p>
<p>By using the “?rev=20110413” at the end of your link you can force the browser to refresh its local cache. A (script) file is downloaded the first time accessing the page. As long as the link does not change the browser does not download the file. By changing the query string you can force a download of the script when changes are made. The actual value “20110413” is todays date, but can be your own versioning logic.</p>
<p>The example above also has a version number in the file name, this is another way of forcing a download. I simply wanted to illustrate the possibilities, you probably will use either query string or version number. </p>
<p>Lessons learned / best practices:</p>
<ul>
<li>Order in elements.xml for &lt;CustomAction /&gt; elements is of influence of the order of script links in the resulting HTML.</li>
<li>Use “~site” and “~sitecollection” tokens to control the script link.</li>
<li>Use “?rev=20110413” query string or version number in filename to force a download of the file. </li>
</ul>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/customaction/'>CustomAction</a>, <a href='http://bramdejager.wordpress.com/tag/javascript/'>JavaScript</a>, <a href='http://bramdejager.wordpress.com/tag/jquery/'>jQuery</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=75&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/04/13/adding-script-like-jquery-to-your-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Speaking at DevDays 2011</title>
		<link>http://bramdejager.wordpress.com/2011/04/06/speaking-at-devdays-2011/</link>
		<comments>http://bramdejager.wordpress.com/2011/04/06/speaking-at-devdays-2011/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 07:02:56 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Community]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/04/06/speaking-at-devdays-2011/</guid>
		<description><![CDATA[I will be speaking at the DevDays 2011 in The Hague (NL) on April 28th. It’s a level 300 session about SharePoint Features en Solution Upgrading. More information on http://www.techdays.nl/SessieDetails.aspx?cid=1534. Session abstract: SharePoint Features en Solution Upgrading The session is held in Dutch: Het feature en solution framework dat gebruikt wordt voor deployment van custom [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=73&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I will be speaking at the <a href="http://www.techdays.nl/DevDays" target="_blank">DevDays 2011</a> in The Hague (NL) on April 28th. It’s a level 300 session about <strong>SharePoint Features en Solution Upgrading</strong>. More information on <a title="http://www.techdays.nl/SessieDetails.aspx?cid=1534" href="http://www.techdays.nl/SessieDetails.aspx?cid=1534" target="_blank">http://www.techdays.nl/SessieDetails.aspx?cid=1534</a>.</p>
<h1>Session abstract: SharePoint Features en Solution Upgrading</h1>
<p>The <a href="http://bramdejager.files.wordpress.com/2011/04/devdays_speaker.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;float:right;padding-top:0;border-width:0;margin:0 0 10px 20px;" title="devdays_speaker" src="http://bramdejager.files.wordpress.com/2011/04/devdays_speaker_thumb.png?w=146&#038;h=234" alt="devdays_speaker" width="146" height="234" align="right" border="0" /></a>session is held in Dutch:</p>
<blockquote>
<p align="left">Het feature en solution framework dat gebruikt wordt voor deployment van custom SharePoint solutions is geïntroduceerd als onderdeel van SharePoint 2007. In SharePoint 2010 is dit onderdeel verder uitgebreid met feature versioning en upgradability. Dit is van invloed op de application lifecycle management strategie.<br />
Deze presentatie gaat in op het feature en solution framework, wanneer pas je feature upgrade toe en hoe ga je om met het upgraden van bestaande geactiveerde en niet-geactiveerde features. Tijdens de sessie worden meerdere demo&#8217;s gebouwd op basis van verschillende scenario&#8217;s.</p>
</blockquote>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/community/'>Community</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=73&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/04/06/speaking-at-devdays-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/04/devdays_speaker_thumb.png" medium="image">
			<media:title type="html">devdays_speaker</media:title>
		</media:content>
	</item>
		<item>
		<title>Clear the folksonomy</title>
		<link>http://bramdejager.wordpress.com/2011/03/29/clear-the-folksonomy/</link>
		<comments>http://bramdejager.wordpress.com/2011/03/29/clear-the-folksonomy/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 09:52:16 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Folksonomy]]></category>
		<category><![CDATA[Managed Metadata Service]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/03/29/clear-the-folksonomy/</guid>
		<description><![CDATA[When performing a migration of the Managed Metadata Service (MMS) database from acceptance production environment the system keywords (folksonomy) are migrated too. As a results the folksonomy on production contains all system keywords from acceptance. This is not what you want! You can delete all keywords manually, but removing 100+ keyword results in a bad [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=70&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When performing a migration of the Managed Metadata Service (MMS) database from acceptance production environment the system keywords (folksonomy) are migrated too. As a results the folksonomy on production contains all system keywords from acceptance. This is not what you want!</p>
<p>You can delete all keywords manually, but removing 100+ keyword results in a bad humor. With a nice PowerShell script the sun shines within seconds!</p>
<p>The script retrieves the MMS and loops the keywords and deletes them. When all keywords are deleted a <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.termstore.commitall.aspx" target="_blank">Commit</a> is needed to push all changes. Made a mistake? <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.termstore.rollbackall.aspx" target="_blank">Rollback</a> is also an option <img style="border-style:none;" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://bramdejager.files.wordpress.com/2011/03/wlemoticon-winkingsmile.png?w=600" />.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:3fcc3edd-f047-48c0-81ea-8d70feb798a9" class="wlWriterEditableSmartContent">
<pre style="width:509px;height:429px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:auto;">
<div><span style="color:#008000;">#</span><span style="color:#008000;">Connect to Central Admin </span><span style="color:#008000;">
</span><span style="color:#800080;">$taxonomySite</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> Get</span><span style="color:#000000;">-</span><span style="color:#000000;">SPSite </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">http://CA-url/</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">

</span><span style="color:#008000;">#</span><span style="color:#008000;">Connect to Term Store in the Managed Metadata Service Application </span><span style="color:#008000;">
</span><span style="color:#800080;">$taxonomySession</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> Get</span><span style="color:#000000;">-</span><span style="color:#000000;">SPTaxonomySession </span><span style="color:#000000;">-</span><span style="color:#000000;">site </span><span style="color:#800080;">$taxonomySite</span><span style="color:#000000;">
</span><span style="color:#800080;">$termStore</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$taxonomySession</span><span style="color:#000000;">.TermStores[</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Managed Metadata Service Application</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">]
Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Host </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Connection made with term store -</span><span style="color:#800000;">&quot;</span><span style="color:#800080;">$termStore</span><span style="color:#000000;">.Name 

</span><span style="color:#008000;">#</span><span style="color:#008000;">Connect to the Group and Term Set </span><span style="color:#008000;">
</span><span style="color:#800080;">$termStoreGroup</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$termStore</span><span style="color:#000000;">.Groups[</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">System</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">]
</span><span style="color:#800080;">$termSet</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$termStoreGroup</span><span style="color:#000000;">.TermSets[</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Keywords</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">] 

</span><span style="color:#008000;">#</span><span style="color:#008000;">Loop all keywords and delete</span><span style="color:#008000;">
</span><span style="color:#0000FF;">foreach</span><span style="color:#000000;">(</span><span style="color:#800080;">$keyWord</span><span style="color:#000000;"> </span><span style="color:#0000FF;">in</span><span style="color:#000000;"> </span><span style="color:#800080;">$termSet</span><span style="color:#000000;">.Terms) {
    </span><span style="color:#800080;">$keyWord</span><span style="color:#000000;">.Delete()
    Write</span><span style="color:#000000;">-</span><span style="color:#000000;">Host </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">Deleted keyword:</span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> </span><span style="color:#800080;">$keyWord</span><span style="color:#000000;">.Name
}

</span><span style="color:#008000;">#</span><span style="color:#008000;">Update the Term Store </span><span style="color:#008000;">
</span><span style="color:#800080;">$termStore</span><span style="color:#000000;">.CommitAll()</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/folksonomy/'>Folksonomy</a>, <a href='http://bramdejager.wordpress.com/tag/managed-metadata-service/'>Managed Metadata Service</a>, <a href='http://bramdejager.wordpress.com/tag/powershell/'>PowerShell</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=70&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/03/29/clear-the-folksonomy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/03/wlemoticon-winkingsmile.png" medium="image">
			<media:title type="html">Winking smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Using SP.UI.Dialog and SP.UI.Notify from code behind</title>
		<link>http://bramdejager.wordpress.com/2011/03/21/using-sp-ui-dialog-and-sp-ui-notify-from-code-behind/</link>
		<comments>http://bramdejager.wordpress.com/2011/03/21/using-sp-ui-dialog-and-sp-ui-notify-from-code-behind/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 06:52:30 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SP.UI]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/03/21/using-sp-ui-dialog-and-sp-ui-notify-from-code-behind/</guid>
		<description><![CDATA[SharePoint 2010 comes with the SP.UI framework. This is a JavaScript library which you can use to interact with the SharePoint UI. I wanted to use the SP.UI framework to display a dialog which is only shown when condition are met in code behind. When I placed the JavaScript in the web part I got [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=68&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SharePoint 2010 comes with the SP.UI framework. This is a JavaScript library which you can use to interact with the SharePoint UI. I wanted to use the SP.UI framework to display a dialog which is only shown when condition are met in code behind. </p>
<p><a href="http://bramdejager.files.wordpress.com/2011/03/validationdialogwebpart.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="ValidationDialogWebPart" border="0" alt="ValidationDialogWebPart" src="http://bramdejager.files.wordpress.com/2011/03/validationdialogwebpart_thumb.png?w=644&#038;h=350" width="644" height="350" /></a></p>
<p>When I placed the JavaScript in the web part I got a null reference error. The problem originated from the SP.UI object model not being loaded. Especially because it did work when I executed the script on the OnClick event of a button. </p>
<p>The solution is provided by the <a href="http://msdn.microsoft.com/en-us/library/ff411788.aspx" target="_blank">SP.SOD.executeOrDelayUntilScriptLoaded</a> method. It will wait to execute the function you provide until the script you refer is completely loaded.</p>
<blockquote><p>ExecuteOrDelayUntilScriptLoaded(ShowDialog, &quot;sp.js&quot;);</p>
</blockquote>
<p>Within my project I added a JavaScript file containing my method “ShowDialog()” to show the dialog. Within my web part I perform the validation and call the CreateDialog() method. </p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:cd5a67b7-ab92-44f3-8ba7-0586b270ae98" class="wlWriterEditableSmartContent">
<pre style="width:509px;height:578px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:auto;">
<div><span style="color:#808080;">///</span><span style="color:#008000;"> </span><span style="color:#808080;">&lt;summary&gt;</span><span style="color:#008000;">
</span><span style="color:#808080;">///</span><span style="color:#008000;"> Registers the javascript supporting showing dialog.
</span><span style="color:#808080;">///</span><span style="color:#008000;"> </span><span style="color:#808080;">&lt;/summary&gt;</span><span style="color:#008000;">
</span><span style="color:#808080;">///</span><span style="color:#008000;"> </span><span style="color:#808080;">&lt;remarks&gt;</span><span style="color:#008000;">
</span><span style="color:#808080;">///</span><span style="color:#008000;"> When calling this method, the dialog is shown
</span><span style="color:#808080;">///</span><span style="color:#008000;"> to the user and blocks the page below.
</span><span style="color:#808080;">///</span><span style="color:#008000;"> </span><span style="color:#808080;">&lt;/remarks&gt;</span><span style="color:#808080;">
</span><span style="color:#0000FF;">private</span><span style="color:#000000;"> </span><span style="color:#0000FF;">void</span><span style="color:#000000;"> CreateDialog()
{
    </span><span style="color:#008000;">//</span><span style="color:#008000;"> Define the name and type of the client scripts on the page.</span><span style="color:#008000;">
</span><span style="color:#000000;">    </span><span style="color:#0000FF;">string</span><span style="color:#000000;"> csname </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">ShowDialogScript</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">;
    Type cstype </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">this</span><span style="color:#000000;">.GetType();

    </span><span style="color:#008000;">//</span><span style="color:#008000;"> Get a ClientScriptManager reference from the Page class.</span><span style="color:#008000;">
</span><span style="color:#000000;">    ClientScriptManager cs </span><span style="color:#000000;">=</span><span style="color:#000000;"> Page.ClientScript;

    </span><span style="color:#008000;">//</span><span style="color:#008000;"> Check to see if the startup script is already registered.</span><span style="color:#008000;">
</span><span style="color:#000000;">    </span><span style="color:#0000FF;">if</span><span style="color:#000000;"> (</span><span style="color:#000000;">!</span><span style="color:#000000;">cs.IsStartupScriptRegistered(cstype, csname))
    {
        StringBuilder js </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">new</span><span style="color:#000000;"> StringBuilder();
        js.Append(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">&lt;script type='text/javascript'&gt;</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">);
        js.Append(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">ExecuteOrDelayUntilScriptLoaded(ShowDialog, 'sp.js');</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">);
        js.Append(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">&lt;/script&gt;</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">);

        cs.RegisterStartupScript(cstype, csname, js.ToString());
    }
}
</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div></p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/javascript/'>JavaScript</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/sp-ui/'>SP.UI</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=68&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/03/21/using-sp-ui-dialog-and-sp-ui-notify-from-code-behind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/03/validationdialogwebpart_thumb.png" medium="image">
			<media:title type="html">ValidationDialogWebPart</media:title>
		</media:content>
	</item>
		<item>
		<title>Access Denied errors in content source for People Search</title>
		<link>http://bramdejager.wordpress.com/2011/03/14/access-denied-errors-in-content-source-for-people-search/</link>
		<comments>http://bramdejager.wordpress.com/2011/03/14/access-denied-errors-in-content-source-for-people-search/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 08:58:20 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[UPS]]></category>
		<category><![CDATA[User Profiles]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/03/14/access-denied-errors-in-content-source-for-people-search/</guid>
		<description><![CDATA[Having issues with indexing the user profiles? Getting Access Denied error messages in the crawl log for sps3://my.sharepoint.com? Are these looking like the one below? Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=63&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having issues with indexing the user profiles? Getting <em>Access Denied </em>error messages in the crawl log for <a href="//my.sharepoint.com">sps3://my.sharepoint.com</a>? Are these looking like the one below? </p>
<blockquote><p>Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has &quot;Full Read&quot; permissions on the SharePoint Web Application being crawled. ( HttpStatusCode Unauthorized The request failed with HTTP status 401: Unauthorized. )</p>
</blockquote>
<p>This most likely has to do with the default content access account not having access to the user profile service application. The default content access account needs “Retrieve People Data for Search Crawlers” permissions on the user profile service application. </p>
<p><a href="http://bramdejager.files.wordpress.com/2011/03/peoplesearcherroraccessdenied.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="Search error message Access Denied" border="0" alt="Search error message Access Denied" src="http://bramdejager.files.wordpress.com/2011/03/peoplesearcherroraccessdenied_thumb.png?w=644&#038;h=62" width="644" height="62" /></a></p>
<p>Solving this is rather easy. See steps below:</p>
<ol>
<li>Navigate to the Central Administration</li>
<li>Click on <em>Manage Service Applications</em></li>
<li>Select the “User Profile Service Application” (note: do not click the name of the service application, because you will be redirected to management page)</li>
<li>Click in the ribbon on the <em>Administrators</em> button</li>
<li>Add the “Default content access account” to the accounts list</li>
<li>Select the “Default content access account” in the list</li>
<li>Check the “Retrieve People Data for Search Crawlers” permission</li>
<li>Click <em>OK</em></li>
</ol>
<p><a href="http://bramdejager.files.wordpress.com/2011/03/administratorsdialogforups.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="Administrators dialog for User Profile Service Application" border="0" alt="Administrators dialog for User Profile Service Application" src="http://bramdejager.files.wordpress.com/2011/03/administratorsdialogforups_thumb.png?w=212&#038;h=244" width="212" height="244" /></a></p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/search/'>Search</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/ups/'>UPS</a>, <a href='http://bramdejager.wordpress.com/tag/user-profiles/'>User Profiles</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=63&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/03/14/access-denied-errors-in-content-source-for-people-search/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/03/peoplesearcherroraccessdenied_thumb.png" medium="image">
			<media:title type="html">Search error message Access Denied</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/03/administratorsdialogforups_thumb.png" medium="image">
			<media:title type="html">Administrators dialog for User Profile Service Application</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamic visualization with Visio &amp; SharePoint</title>
		<link>http://bramdejager.wordpress.com/2011/02/24/dynamic-visualization-with-visio-sharepoint/</link>
		<comments>http://bramdejager.wordpress.com/2011/02/24/dynamic-visualization-with-visio-sharepoint/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 07:28:43 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[Visio]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[Visio 2010]]></category>
		<category><![CDATA[Visio Services]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/02/24/dynamic-visualization-with-visio-sharepoint/</guid>
		<description><![CDATA[Yesterday evening Edwin Vriethoff and myself did a presentation at the DIWUG on Visio 2010 and Visio Services. Download the presentation here: Download: Dynamic visualization with Visio &#38; SharePoint.pptx The agenda: Visio 2010 &#38; Visio Services Linking data and web parts Real-life examples Summary Tagged: Community, Presentation, Visio 2010, Visio Services<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=48&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday evening Edwin Vriethoff and myself did a presentation at the DIWUG on <strong>Visio 2010</strong> and <strong>Visio Services</strong>. Download the presentation here:</p>
<div id="scid:8eb9d37f-1541-4f29-b6f4-1eea890d4876:7eb15ad2-2f9a-4794-9f2c-c94f88d75cd0" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">
<div><a href="http://bramdejager.files.wordpress.com/2011/02/dynamic-visualization-with-visio-sharepoint-diwug1.pptx" target="_self">Download: Dynamic visualization with Visio &amp; SharePoint.pptx</a></div>
</div>
<p>The agenda:</p>
<ul>
<li>Visio 2010 &amp; Visio Services</li>
<li>Linking data and web parts</li>
<li>Real-life examples</li>
<li>Summary</li>
</ul>
<p><a href="http://bramdejager.files.wordpress.com/2011/02/dynamic-visualization-with_-visio_-sharepoint-diwug_.pptx"><img style="display:inline;" title="Download PowerPoint" src="http://bramdejager.files.wordpress.com/2011/02/download-powerpoint1.png?w=100&#038;h=100" alt="Download PowerPoint" width="100" height="100" /></a></p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/community/'>Community</a>, <a href='http://bramdejager.wordpress.com/tag/presentation/'>Presentation</a>, <a href='http://bramdejager.wordpress.com/tag/visio-2010/'>Visio 2010</a>, <a href='http://bramdejager.wordpress.com/tag/visio-services/'>Visio Services</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=48&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/02/24/dynamic-visualization-with-visio-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2011/02/download-powerpoint1.png" medium="image">
			<media:title type="html">Download PowerPoint</media:title>
		</media:content>
	</item>
		<item>
		<title>Default User Profile properties</title>
		<link>http://bramdejager.wordpress.com/2011/02/03/default-user-profile-properties/</link>
		<comments>http://bramdejager.wordpress.com/2011/02/03/default-user-profile-properties/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 11:44:55 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[UPS]]></category>
		<category><![CDATA[User Profiles]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2011/02/03/default-user-profile-properties/</guid>
		<description><![CDATA[In my previous post Retrieve User Profile information and display all properties in simple webpart I provided a web part showing all user profile properties and values of a user account. Today I needed the out-of-the-box (OOB) list of all profile properties. Below the full list of all properties. [Update: link to TechNet article Default [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=43&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my previous post <a href="https://bramdejager.wordpress.com/2010/12/09/retrieve-user-profile-information-and-display-all-properties-in-simple-webpart/">Retrieve User Profile information and display all properties in simple webpart</a> I provided a web part showing all user profile properties and values of a user account. </p>
<p>Today I needed the out-of-the-box (OOB) list of all profile properties. Below the full list of all properties. </p>
<p>[<strong>Update</strong>: link to TechNet article <a href="http://technet.microsoft.com/en-us/library/hh147513.aspx" target="_blank">Default user profile properties (SharePoint Server 2010)</a> and <a href="http://technet.microsoft.com/en-us/library/hh147510.aspx" target="_blank">Default user profile property mappings (SharePoint Server 2010)</a>]</p>
<table class="props">
<tbody>
<tr>
<td><strong><em>Displayname</em></strong></td>
<td><strong><em>Name</em></strong></td>
<td><strong><em>Value</em></strong></td>
</tr>
<tr>
<td colspan="3"><b>Section: Basic Information</b></td>
</tr>
<tr>
<td>Id</td>
<td>UserProfile_GUID</td>
<td></td>
</tr>
<tr>
<td>SID</td>
<td>SID</td>
<td></td>
</tr>
<tr>
<td>Active Directory Id</td>
<td>ADGuid</td>
<td></td>
</tr>
<tr>
<td>Account name</td>
<td>AccountName</td>
<td></td>
</tr>
<tr>
<td>First name</td>
<td>FirstName</td>
<td></td>
</tr>
<tr>
<td>Phonetic First Name</td>
<td>SPS-PhoneticFirstName</td>
<td></td>
</tr>
<tr>
<td>Last name</td>
<td>LastName</td>
<td></td>
</tr>
<tr>
<td>Phonetic Last Name</td>
<td>SPS-PhoneticLastName</td>
<td></td>
</tr>
<tr>
<td>Name</td>
<td>PreferredName</td>
<td></td>
</tr>
<tr>
<td>Phonetic Display Name</td>
<td>SPS-PhoneticDisplayName</td>
<td></td>
</tr>
<tr>
<td>Work phone</td>
<td>WorkPhone</td>
<td></td>
</tr>
<tr>
<td>Department</td>
<td>Department</td>
<td></td>
</tr>
<tr>
<td>Title</td>
<td>Title</td>
<td></td>
</tr>
<tr>
<td>Job Title</td>
<td>SPS-JobTitle</td>
<td></td>
</tr>
<tr>
<td>Manager</td>
<td>Manager</td>
<td></td>
</tr>
<tr>
<td>About me</td>
<td>AboutMe</td>
<td></td>
</tr>
<tr>
<td>Personal site</td>
<td>PersonalSpace</td>
<td></td>
</tr>
<tr>
<td>Picture</td>
<td>PictureURL</td>
<td></td>
</tr>
<tr>
<td>User name</td>
<td>UserName</td>
<td></td>
</tr>
<tr>
<td>Quick links</td>
<td>QuickLinks</td>
<td></td>
</tr>
<tr>
<td>Web site</td>
<td>WebSite</td>
<td></td>
</tr>
<tr>
<td>Public site redirect</td>
<td>PublicSiteRedirect</td>
<td></td>
</tr>
<tr>
<td>Data source</td>
<td>SPS-DataSource</td>
<td></td>
</tr>
<tr>
<td>MemberOf</td>
<td>SPS-MemberOf</td>
<td></td>
</tr>
<tr>
<td>Dotted-line Manager</td>
<td>SPS-Dotted-line</td>
<td></td>
</tr>
<tr>
<td>Peers</td>
<td>SPS-Peers</td>
<td></td>
</tr>
<tr>
<td>Ask Me About</td>
<td>SPS-Responsibility</td>
<td></td>
</tr>
<tr>
<td>SIP Address</td>
<td>SPS-SipAddress</td>
<td></td>
</tr>
<tr>
<td>My Site Upgrade</td>
<td>SPS-MySiteUpgrade</td>
<td></td>
</tr>
<tr>
<td>Don&#8217;t Suggest List</td>
<td>SPS-DontSuggestList</td>
<td></td>
</tr>
<tr>
<td>Proxy addresses</td>
<td>SPS-ProxyAddresses</td>
<td></td>
</tr>
<tr>
<td>Hire date</td>
<td>SPS-HireDate</td>
<td></td>
</tr>
<tr>
<td>Display Order</td>
<td>SPS-DisplayOrder</td>
<td></td>
</tr>
<tr>
<td>Claim User Identifier</td>
<td>SPS-ClaimID</td>
<td></td>
</tr>
<tr>
<td>Claim Provider Identifier</td>
<td>SPS-ClaimProviderID</td>
<td></td>
</tr>
<tr>
<td>Claim Provider Type</td>
<td>SPS-ClaimProviderType</td>
<td></td>
</tr>
<tr>
<td>Last Colleague Added</td>
<td>SPS-LastColleagueAdded</td>
<td></td>
</tr>
<tr>
<td>Outlook Web Access URL</td>
<td>SPS-OWAUrl</td>
<td></td>
</tr>
<tr>
<td>Saved Account Name</td>
<td>SPS-SavedAccountName</td>
<td></td>
</tr>
<tr>
<td>Saved SID</td>
<td>SPS-SavedSID</td>
<td></td>
</tr>
<tr>
<td>Resource Forest SID</td>
<td>SPS-ResourceSID</td>
<td></td>
</tr>
<tr>
<td>Resource Forest Account Name</td>
<td>SPS-ResourceAccountName</td>
<td></td>
</tr>
<tr>
<td>Object Exists</td>
<td>SPS-ObjectExists</td>
<td></td>
</tr>
<tr>
<td>Master Account Name</td>
<td>SPS-MasterAccountName</td>
<td></td>
</tr>
<tr>
<td>Distinguished Name</td>
<td>SPS-DistinguishedName</td>
<td></td>
</tr>
<tr>
<td>Source Object Distinguished Name</td>
<td>SPS-SourceObjectDN</td>
<td></td>
</tr>
<tr>
<td>Last Keyword Added</td>
<td>SPS-LastKeywordAdded</td>
<td></td>
</tr>
<tr>
<td colspan="3"><b>Section: Contact Information</b></td>
</tr>
<tr>
<td>Work e-mail</td>
<td>WorkEmail</td>
<td></td>
</tr>
<tr>
<td>Mobile phone</td>
<td>CellPhone</td>
<td></td>
</tr>
<tr>
<td>Fax</td>
<td>Fax</td>
<td></td>
</tr>
<tr>
<td>Home phone</td>
<td>HomePhone</td>
<td></td>
</tr>
<tr>
<td>Office</td>
<td>Office</td>
<td></td>
</tr>
<tr>
<td>Office Location</td>
<td>SPS-Location</td>
<td></td>
</tr>
<tr>
<td>Time Zone</td>
<td>SPS-TimeZone</td>
<td></td>
</tr>
<tr>
<td>Assistant</td>
<td>Assistant</td>
<td></td>
</tr>
<tr>
<td colspan="3"><b>Section: Details</b></td>
</tr>
<tr>
<td>Past projects</td>
<td>SPS-PastProjects</td>
<td></td>
</tr>
<tr>
<td>Skills</td>
<td>SPS-Skills</td>
<td></td>
</tr>
<tr>
<td>Schools</td>
<td>SPS-School</td>
<td></td>
</tr>
<tr>
<td>Birthday</td>
<td>SPS-Birthday</td>
<td></td>
</tr>
<tr>
<td>Status Message</td>
<td>SPS-StatusNotes</td>
<td></td>
</tr>
<tr>
<td colspan="3"><b>Section: Delegation</b></td>
</tr>
<tr>
<td colspan="3"><b>Section: Newsfeed Settings</b></td>
</tr>
<tr>
<td>Interests</td>
<td>SPS-Interests</td>
<td></td>
</tr>
<tr>
<td>Email Notifications</td>
<td>SPS-EmailOptin</td>
<td></td>
</tr>
<tr>
<td colspan="3"><b>Section: Custom Properties</b></td>
</tr>
</tbody>
</table>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/ups/'>UPS</a>, <a href='http://bramdejager.wordpress.com/tag/user-profiles/'>User Profiles</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=43&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2011/02/03/default-user-profile-properties/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Why not to install 64-bit SharePoint Designer 2010</title>
		<link>http://bramdejager.wordpress.com/2010/12/23/why-not-to-install-64-bit-sharepoint-designer-2010/</link>
		<comments>http://bramdejager.wordpress.com/2010/12/23/why-not-to-install-64-bit-sharepoint-designer-2010/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 08:42:07 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[Visio 2010]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2010/12/23/why-not-to-install-64-bit-sharepoint-designer-2010/</guid>
		<description><![CDATA[Today I wanted to install Visio 2010 on my SharePoint 2010 development machine. But the problem was I simply could not because there was already an Office 2010 64-bit application installed. Correct, yesterday I installed SharePoint Designer 2010 64-bit. Now comes the downside of this; You can’t install Visio 2010 32-bit version when a 64-bit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=42&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I wanted to install Visio 2010 on my SharePoint 2010 development machine. But the problem was I simply could not because there was already an Office 2010 64-bit application installed. Correct, yesterday I installed SharePoint Designer 2010 64-bit. Now comes the downside of this; </p>
<blockquote><p>You can’t install Visio 2010 32-bit version when a 64-bit Office application is already installed on the system.</p>
</blockquote>
<p>Conclusion, if there is no specific reason for installing a 64-bit version of Office. Simply install the 32-bit version.</p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/office-2010/'>Office 2010</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-designer/'>SharePoint Designer</a>, <a href='http://bramdejager.wordpress.com/tag/visio-2010/'>Visio 2010</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=42&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2010/12/23/why-not-to-install-64-bit-sharepoint-designer-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
		<item>
		<title>Retrieve User Profile information and display all properties in simple webpart</title>
		<link>http://bramdejager.wordpress.com/2010/12/09/retrieve-user-profile-information-and-display-all-properties-in-simple-webpart/</link>
		<comments>http://bramdejager.wordpress.com/2010/12/09/retrieve-user-profile-information-and-display-all-properties-in-simple-webpart/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 08:36:46 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[User Profiles]]></category>
		<category><![CDATA[WebPart]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2010/12/09/retrieve-user-profile-information-and-display-all-properties-in-simple-webpart/</guid>
		<description><![CDATA[When working with User Profiles I want an overview of all user profile properties and the contents of a particular user. This information can be retrieved from the Central Administration. The downside of this is you can either view the profile properties or the user profile. But I am looking for the display name, technical [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=39&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When working with User Profiles I want an overview of all user profile properties and the contents of a particular user. This information can be retrieved from the Central Administration. The downside of this is you can either view the profile properties or the user profile. But I am looking for the display name, technical name and the value for a particular user. </p>
<p><a href="http://bramdejager.files.wordpress.com/2010/12/user-profile-webpart.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="User Profile WebPart" border="0" alt="User Profile WebPart" src="http://bramdejager.files.wordpress.com/2010/12/user-profile-webpart_thumb.jpg?w=512&#038;h=484" width="512" height="484" /></a></p>
<p>This can be achieved by developing a webpart which loops the user profile properties and retrieves per property the value of an user profile. The user profile which is displayed can be set in the webpart properties pane.</p>
<p><a href="http://bramdejager.files.wordpress.com/2010/12/user-profile-webpart-property-pane.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="User Profile WebPart - Property Pane" border="0" alt="User Profile WebPart - Property Pane" src="http://bramdejager.files.wordpress.com/2010/12/user-profile-webpart-property-pane_thumb.jpg?w=229&#038;h=214" width="229" height="214" /></a></p>
<p>The C# code which drives the webpart is shown below. It is pretty straight forward and shows only the retrieval of the user profile properties and values of the user profile. </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:3cb3c6e6-01c2-4cbe-bd5f-320e9a7fc5e5" class="wlWriterEditableSmartContent">
<pre style="width:509px;height:650px;background-color:#DADADA;white-space:pre-wrap;word-wrap:break-word;overflow:auto;">
<div><span style="color:#000000;">System.Security.PermissionSet ps </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">new</span><span style="color:#000000;"> System.Security.PermissionSet(System.Security.Permissions.PermissionState.Unrestricted);
ps.Assert();

Microsoft.SharePoint.SPServiceContext serviceContext </span><span style="color:#000000;">=</span><span style="color:#000000;"> Microsoft.SharePoint.SPServiceContext.Current;
UserProfileManager upm </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">new</span><span style="color:#000000;"> Microsoft.Office.Server.UserProfiles.UserProfileManager(serviceContext);
ProfileSubtypePropertyManager pspm </span><span style="color:#000000;">=</span><span style="color:#000000;"> upm.DefaultProfileSubtypeProperties;

UserProfile profile </span><span style="color:#000000;">=</span><span style="color:#000000;"> upm.GetUserProfile(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">CONTOSO\AaronP</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">);

</span><span style="color:#0000FF;">this</span><span style="color:#000000;">.Controls.Add(</span><span style="color:#0000FF;">new</span><span style="color:#000000;"> Literal() { Text </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">&lt;table border='0' &gt; &lt;tr&gt;&lt;td&gt;Displayname&lt;/td&gt;&lt;td&gt;Name&lt;/td&gt;&lt;td&gt;Value&lt;/td&gt;&lt;/tr&gt;</span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> });
</span><span style="color:#0000FF;">foreach</span><span style="color:#000000;"> (ProfileSubtypeProperty prop </span><span style="color:#0000FF;">in</span><span style="color:#000000;"> pspm.PropertiesWithSection)
{
    </span><span style="color:#0000FF;">if</span><span style="color:#000000;"> (prop.IsSection)
        </span><span style="color:#0000FF;">this</span><span style="color:#000000;">.Controls.Add(</span><span style="color:#0000FF;">new</span><span style="color:#000000;"> Literal() { Text </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">string</span><span style="color:#000000;">.Format(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">&lt;tr&gt;&lt;td colspan='3'&gt;&lt;b&gt;Section: {0}&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">, prop.DisplayName) });
    </span><span style="color:#0000FF;">else</span><span style="color:#000000;">
    {
        </span><span style="color:#0000FF;">string</span><span style="color:#000000;"> text </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">string</span><span style="color:#000000;">.Format(</span><span style="color:#800000;">&quot;</span><span style="color:#800000;">&lt;tr&gt;&lt;td&gt;{0}&lt;/td&gt;&lt;td&gt;{1}&lt;/td&gt;&lt;td&gt;{2}&lt;/td&gt;&lt;/tr&gt;</span><span style="color:#800000;">&quot;</span><span style="color:#000000;">,
            prop.DisplayName,
            prop.Name,
            profile[prop.Name].Value);

        </span><span style="color:#0000FF;">this</span><span style="color:#000000;">.Controls.Add(</span><span style="color:#0000FF;">new</span><span style="color:#000000;"> Literal() { Text </span><span style="color:#000000;">=</span><span style="color:#000000;"> text });
    }
}
</span><span style="color:#0000FF;">this</span><span style="color:#000000;">.Controls.Add(</span><span style="color:#0000FF;">new</span><span style="color:#000000;"> Literal() { Text </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;</span><span style="color:#800000;">&lt;/table&gt;</span><span style="color:#800000;">&quot;</span><span style="color:#000000;"> });</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p><a href="http://sp2010userprofilewp.codeplex.com/" target="_blank"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;float:left;border-top:0;border-right:0;padding-top:0;" title="Download" border="0" alt="Download" align="left" src="http://bramdejager.files.wordpress.com/2010/12/download1.png?w=100&#038;h=100" width="100" height="100" /></a>You can download the WSP package and source code at <a title="http://sp2010userprofilewp.codeplex.com/" href="http://sp2010userprofilewp.codeplex.com/">http://sp2010userprofilewp.codeplex.com/</a>.</p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/user-profiles/'>User Profiles</a>, <a href='http://bramdejager.wordpress.com/tag/webpart/'>WebPart</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=39&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2010/12/09/retrieve-user-profile-information-and-display-all-properties-in-simple-webpart/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2010/12/user-profile-webpart_thumb.jpg" medium="image">
			<media:title type="html">User Profile WebPart</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2010/12/user-profile-webpart-property-pane_thumb.jpg" medium="image">
			<media:title type="html">User Profile WebPart - Property Pane</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2010/12/download1.png" medium="image">
			<media:title type="html">Download</media:title>
		</media:content>
	</item>
		<item>
		<title>Create site-collection based on custom sandbox solution template</title>
		<link>http://bramdejager.wordpress.com/2010/12/08/create-site-collection-based-on-custom-sandbox-solution-template/</link>
		<comments>http://bramdejager.wordpress.com/2010/12/08/create-site-collection-based-on-custom-sandbox-solution-template/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 07:32:29 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Sandbox Solution]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Web Template]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2010/12/08/create-site-collection-based-on-custom-sandbox-solution-template/</guid>
		<description><![CDATA[SharePoint provides a couple out-of-the-box web templates. When implementing SharePoint this you probably want to provide a customized template which suit the needs. A big advantage would be if you are not depending on an administrator and being able to provide your own custom template. With sandboxed solution in SharePoint 2010 this is possible! What [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=32&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SharePoint provides a couple out-of-the-box web templates. When implementing SharePoint this you probably want to provide a customized template which suit the needs. A big advantage would be if you are not depending on an administrator and being able to provide your own custom template. With sandboxed solution in SharePoint 2010 this is possible! What is really nice about this, you can also do this when creating a site-collection and choose the custom template for the root web.</p>
<p>I created a site-collection based on the out-of-the-box Team Site template (STS#1). Made changes to the site by adding a new list FAQs, added a task to the Task list and added the Tasks list on the homepage. This is the basics for my template. </p>
<p><a href="http://bramdejager.files.wordpress.com/2010/12/template-team-site.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Template - Team Site" border="0" alt="Template - Team Site" src="http://bramdejager.files.wordpress.com/2010/12/template-team-site_thumb.jpg?w=244&#038;h=161" width="244" height="161" /></a></p>
<p>Next step is to save the team site as a template.</p>
<ol>
<li>Click <em>Site Actions » Site Settings</em> </li>
<li>Click <em>Save site as template</em> </li>
<li>Fill in the fields
<ul>
<li>File name: TeamSiteTemplate </li>
<li>Template name: Team Site Template </li>
<li>Check the <em>Include Content</em> checkbox </li>
</ul>
</li>
<li>Click <em>OK</em> </li>
<li>Click the link <em>Solution Gallery </em>in the “Operation Completed Successfully” window </li>
<li>Click the “TeamSiteTemplate” name to download the WSP solution file, save on your desktop </li>
</ol>
<p>At this point we have a WSP solution file containing a template for a new site. We want to create a new site-collection based on this template. But we do not want to upload the WSP solution as a Farm Solution. We can create the new site-collection based a sandbox solution containing the template. </p>
<ol>
<li>Open <em>SharePoint 2010 Central Administration</em> via <em>Start Menu</em> </li>
<li>Click <em>Application Management » Create Site Collections</em> </li>
<li>Select a web application </li>
<li>Fill in the fields </li>
<li>When selecting a template, click the <em>Custom</em> tab and select “&lt; Select template later… &gt;” </li>
<li>Click <em>OK</em> </li>
</ol>
<p>The site-collection is created but has no template. Meaning it is also not provisioned with lists and libraries. We want the site-collection to be based on our sandboxed solution template. Next steps will explain!</p>
<ol>
<li>Open the new site-collection URL </li>
<li>The “Template Selection” page is shown      <br /><a href="http://bramdejager.files.wordpress.com/2010/12/template-template-selection.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Template - Template Selection" border="0" alt="Template - Template Selection" src="http://bramdejager.files.wordpress.com/2010/12/template-template-selection_thumb.jpg?w=244&#038;h=161" width="244" height="161" /></a> </li>
<li>Click <em>Solution Gallery</em> </li>
<li>Upload the sandboxed solution by click the <em>Solutions</em> tab in the ribbon </li>
<li>When uploaded, activate the solution by clicking <em>Activate</em> in the <em>Solution Gallery – Activate Solution</em> window </li>
<li>Go back to the <em>Template Selection</em> page (_layouts/templatepick.aspx) by using the Back-button </li>
<li>Refresh the page, the <em>Custom</em> tab should show up       <br /><a href="http://bramdejager.files.wordpress.com/2010/12/template-template-selection-2.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Template - Template Selection 2" border="0" alt="Template - Template Selection 2" src="http://bramdejager.files.wordpress.com/2010/12/template-template-selection-2_thumb.jpg?w=244&#038;h=161" width="244" height="161" /></a> </li>
<li>Select the <em>Custom</em> tab and select our “TeamSiteTemplate” </li>
<li>Click <em>OK</em> </li>
</ol>
<p>Now the site-collection is provisioned based on the sandboxed solution. The site is provisioned with the FAQs list and one task in the Task list which is shown on the homepage. </p>
<p><a href="http://bramdejager.files.wordpress.com/2010/12/template-complete.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Template - Complete" border="0" alt="Template - Complete" src="http://bramdejager.files.wordpress.com/2010/12/template-complete_thumb.jpg?w=644&#038;h=422" width="644" height="422" /></a></p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/sandbox-solution/'>Sandbox Solution</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/web-template/'>Web Template</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=32&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2010/12/08/create-site-collection-based-on-custom-sandbox-solution-template/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2010/12/template-team-site_thumb.jpg" medium="image">
			<media:title type="html">Template - Team Site</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2010/12/template-template-selection_thumb.jpg" medium="image">
			<media:title type="html">Template - Template Selection</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2010/12/template-template-selection-2_thumb.jpg" medium="image">
			<media:title type="html">Template - Template Selection 2</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2010/12/template-complete_thumb.jpg" medium="image">
			<media:title type="html">Template - Complete</media:title>
		</media:content>
	</item>
		<item>
		<title>Open in Windows Explorer does not work, try direct link (WebDAV)</title>
		<link>http://bramdejager.wordpress.com/2010/11/29/open-in-windows-explorer-does-not-work-try-direct-link-webdav/</link>
		<comments>http://bramdejager.wordpress.com/2010/11/29/open-in-windows-explorer-does-not-work-try-direct-link-webdav/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 16:11:05 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WebDAV]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2010/11/29/open-in-windows-explorer-does-not-work-try-direct-link-webdav/</guid>
		<description><![CDATA[Receiving an error when you want to open the Windows Explorer view for a document library. For instance: “Your client does not support opening this list with Windows Explorer” This looks like: A workaround is opening the document library in Windows Explorer. You would need a different link than the one in the browser otherwise [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=21&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Receiving an error when you want to open the Windows Explorer view for a document library. For instance:</p>
<blockquote><p>“Your client does not support opening this list with Windows Explorer”</p>
</blockquote>
<p>This looks like:</p>
<p><a href="http://bramdejager.files.wordpress.com/2010/11/erroropenwindowsexplorerview.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;padding-top:0;" title="Error Opening Windows Explorer view" border="0" alt="Error Opening Windows Explorer view" src="http://bramdejager.files.wordpress.com/2010/11/erroropenwindowsexplorerview_thumb.jpg?w=244&#038;h=89" width="244" height="89" /></a></p>
<p>A workaround is opening the document library in Windows Explorer. You would need a different link than the one in the browser otherwise Windows will use your browser for opening the link. </p>
<blockquote><p><font color="#444444"><a href="//\\webapplicationurl@SSL\DavWWWRoot\sites\sitecollection">\\webapplicationurl@SSL\DavWWWRoot\sites\sitecollection</a>&#160;</font></p>
</blockquote>
<p>For example we want to open the document library “Shared Documents” in the site collection <a href="https://teamsite.sharepoint.com/sites/teamsite1">https://teamsite.sharepoint.com/sites/teamsite1</a>. The direct link would be <font color="#444444"><a href="\\teamsite.sharepoint.com@SSL\DavWWWRoot\sites\teamsite1\Shared Documents" target="_blank">\\teamsite.sharepoint.com@SSL\DavWWWRoot\sites\teamsite1\Shared Documents</a></font><font color="#444444">. </font></p>
<p>This is also useful when you want to look at attachments from a list. You can change the link and navigate the complete site collection folder structure.</p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/webdav/'>WebDAV</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=21&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2010/11/29/open-in-windows-explorer-does-not-work-try-direct-link-webdav/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>

		<media:content url="http://bramdejager.files.wordpress.com/2010/11/erroropenwindowsexplorerview_thumb.jpg" medium="image">
			<media:title type="html">Error Opening Windows Explorer view</media:title>
		</media:content>
	</item>
		<item>
		<title>How to: Turn on the State Service Application</title>
		<link>http://bramdejager.wordpress.com/2010/11/22/how-to-turn-on-the-state-service-application/</link>
		<comments>http://bramdejager.wordpress.com/2010/11/22/how-to-turn-on-the-state-service-application/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 08:37:10 +0000</pubDate>
		<dc:creator>Bram de Jager</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Service Application]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[State Service]]></category>

		<guid isPermaLink="false">https://bramdejager.wordpress.com/2010/11/22/how-to-turn-on-the-state-service-application/</guid>
		<description><![CDATA[When publishing a page in SharePoint or wanting to start a workflow you may receive the following error. “The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.” This is likely caused because the State Service Application is not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=15&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When publishing a page in SharePoint or wanting to start a workflow you may receive the following error. </p>
<blockquote><p>“The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.”</p>
</blockquote>
<p>This is likely caused because the State Service Application is not turned on. You can check this in the <em>Central Administration » </em><em>Application Management » Manage Service Applications</em>. If the State Service Application is not listed you know why the message is showing.</p>
<p>There are two ways for activating the State Service Application. One is using the Farm Configuration Wizard (FCW). But I prefer via PowerShell, below the script for creating the new service application and add to default proxy group. If you like you can choose your own name parameters.</p>
<blockquote><p>$serviceApp = New-SPStateServiceApplication -Name &quot;State Service Application&quot;      <br />New-SPStateServiceDatabase -Name &quot;StateService_DB&quot; -ServiceApplication $serviceApp       <br />New-SPStateServiceApplicationProxy -Name &quot;State Service Application Proxy&quot; -ServiceApplication $serviceApp –DefaultProxyGroup</p>
</blockquote>
<p><font color="#666666">More on TechNet on State Service: </font>
<p><a href="http://technet.microsoft.com/en-us/library/ee704548.aspx">http://technet.microsoft.com/en-us/library/ee704548.aspx</a></p></p>
<br /> Tagged: <a href='http://bramdejager.wordpress.com/tag/powershell/'>PowerShell</a>, <a href='http://bramdejager.wordpress.com/tag/service-application/'>Service Application</a>, <a href='http://bramdejager.wordpress.com/tag/sharepoint-2010/'>SharePoint 2010</a>, <a href='http://bramdejager.wordpress.com/tag/state-service/'>State Service</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bramdejager.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bramdejager.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bramdejager.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bramdejager.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bramdejager.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bramdejager.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bramdejager.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bramdejager.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bramdejager.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bramdejager.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bramdejager.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bramdejager.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bramdejager.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bramdejager.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bramdejager.wordpress.com&amp;blog=4619659&amp;post=15&amp;subd=bramdejager&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bramdejager.wordpress.com/2010/11/22/how-to-turn-on-the-state-service-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1033562036d624d159cf7a8d425fd3c4?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">bramdejager</media:title>
		</media:content>
	</item>
	</channel>
</rss>
