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

<channel>
	<title>mylifeinaminute.com &#187; Sharepoint Server</title>
	<atom:link href="http://www.mylifeinaminute.com/category/microsoft/office/sharepoint-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mylifeinaminute.com</link>
	<description>You can learn a lot in a minute</description>
	<lastBuildDate>Wed, 18 Jan 2012 02:33:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Embedding YouTube Videos in a SharePoint Page With The Page Viewer Web Part</title>
		<link>http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/</link>
		<comments>http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 02:33:27 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1199</guid>
		<description><![CDATA[There are a few different ways to present YouTube videos to users in a SharePoint 2010 portal. The trusty Silverlight Media Player web part (if you want to rip the media down locally) or a content editor linked to an external file are both viable options. But for the common page editor/content owner, those aren&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few different ways to present <a href="http://www.youtube.com/" title="YouTube">YouTube</a> videos to users in a <a href="/tag/sharepoint/" title="SharePoint">SharePoint</a> <a href="/tag/sharepoint-2010/" title="SharePoint 2010">2010</a> portal. The trusty <a href="http://msdn.microsoft.com/en-us/gg981349" title="Using the Silverlight Media web part">Silverlight Media Player web part</a> (if you want to rip the media down locally) or a <a href="http://www.bfcnetworks.com/embed-youtube-and-other-code-into-sharepoint-2010/" title="Embed YouTube and other code into SharePoint 2010">content editor linked to an external file</a> are both viable options. But for the common page editor/content owner, those aren&#8217;t the most user friendly options available.</p>
<p>Enter the <a href="http://office.microsoft.com/en-us/sharepoint-foundation-help/display-a-web-page-on-a-sharepoint-page-by-adding-the-page-viewer-web-part-HA101857182.aspx" title="Display a Web page on a SharePoint page by adding the Page Viewer Web Part">Page Viewer web part</a> (aka the iFrame web part). How does this technological wonder better our lives? Watch and learn.<br />
<span id="more-1199"></span></p>
<ol>
<li>Find a YouTube Video. <a href="http://www.youtube.com/watch?v=h_OnK0SrtC8" title="Ricky Gervais's 2012 Golden Globes Opening Monologue">Ricky Gervais&#8217;s opening monologue</a> from the 2012 Golden Globes should do nicely. Once you&#8217;ve located your target video, click <strong>Share</strong>, followed by <strong>Embed</strong>. Leave the window/tab open, we&#8217;ll come back to it in a moment.<a href="http://www.mylifeinaminute.com/images/2012/01/YouTube_Share_Embed.png" rel="lightbox[1199]"><img src="http://www.mylifeinaminute.com/images/2012/01/YouTube_Share_Embed-300x64.png" alt="" title="YouTube Share and Embed" width="300" height="64" class="aligncenter size-medium wp-image-1202" /></a>.</li>
<li>Go to the page in your SharePoint site where you want to add the video (I&#8217;m using a publishing page).<br />
<a href="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.09.55-PM.png" rel="lightbox[1199]"><img src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.09.55-PM-300x73.png" alt="" title="Blank Publishing Page" width="300" height="73" class="aligncenter size-medium wp-image-1204" /></a></li>
<li>Add a Page Viewer Web Part (located in the <em>Media and Content</em> category).<a href="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.10.30-PM.png" rel="lightbox[1199]"><img src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.10.30-PM-300x133.png" alt="" title="Page View Web Part" width="300" height="133" class="aligncenter size-medium wp-image-1207" /></a></li>
<li>Open the tool pane. We&#8217;ll need to fill in the values for the <em>Link</em>, <em>Height</em>, and <em>Width</em> fields.<a href="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.11.18-PM.png" rel="lightbox[1199]"><img src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.11.18-PM-300x175.png" alt="" title="Page Viewer Tool Pane" width="300" height="175" class="aligncenter size-medium wp-image-1210" /></a></li>
<li>Back to our YouTube window/tab, select the embed options you would like to use (480&#215;360 video in my case).<a href="http://www.mylifeinaminute.com/images/2012/01/YouTube_Embed_Options.png" rel="lightbox[1199]"><img src="http://www.mylifeinaminute.com/images/2012/01/YouTube_Embed_Options-300x169.png" alt="" title="YouTube Embed Options" width="300" height="169" class="aligncenter size-medium wp-image-1212" /></a></li>
<li>Locate the embed HTML code and copy the URL. It should look like the following:
<pre class="brush: plain; title: ; notranslate">
&lt;iframe width=&quot;480&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/h_OnK0SrtC8&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
</pre>
</li>
<li>Back in the window/tab containing your SharePoint page, paste the url to the YouTube video in the <em>Link</em> field in your web part. Adjust the <em>Height</em> and <em>Width</em> fields accordingly. <strong>Save</strong> your web part options. Your web part should render with the video inline.<a href="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.13.04-PM.png" rel="lightbox[1199]"><img src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.13.04-PM-300x161.png" alt="" title="After Saving Options" width="300" height="161" class="aligncenter size-medium wp-image-1217" /></a></li>
<li>Publish/Save/Stop Editing your page and bask in the glory of your embedded YouTube video (without the use of a content editor or any external text file).<a href="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.13.27-PM.png" rel="lightbox[1199]"><img src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.13.27-PM-300x233.png" alt="" title="Saved Page" width="300" height="233" class="aligncenter size-medium wp-image-1219" /></a></li>
</ol>
<h4>Gallery</h4>

<a href='http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/youtube_share_embed/' title='YouTube Share and Embed'><img width="150" height="141" src="http://www.mylifeinaminute.com/images/2012/01/YouTube_Share_Embed-150x141.png" class="attachment-thumbnail" alt="YouTube Share and Embed" title="YouTube Share and Embed" /></a>
<a href='http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/screen-shot-2012-01-17-at-3-09-55-pm/' title='Blank Publishing Page'><img width="150" height="150" src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.09.55-PM-150x150.png" class="attachment-thumbnail" alt="Blank Publishing Page" title="Blank Publishing Page" /></a>
<a href='http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/screen-shot-2012-01-17-at-3-10-30-pm/' title='Page View Web Part'><img width="150" height="150" src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.10.30-PM-150x150.png" class="attachment-thumbnail" alt="Page View Web Part" title="Page View Web Part" /></a>
<a href='http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/screen-shot-2012-01-17-at-3-11-18-pm/' title='Page Viewer Tool Pane'><img width="150" height="150" src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.11.18-PM-150x150.png" class="attachment-thumbnail" alt="Page Viewer Tool Pane" title="Page Viewer Tool Pane" /></a>
<a href='http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/youtube_embed_options/' title='YouTube Embed Options'><img width="150" height="150" src="http://www.mylifeinaminute.com/images/2012/01/YouTube_Embed_Options-150x150.png" class="attachment-thumbnail" alt="YouTube Embed Options" title="YouTube Embed Options" /></a>
<a href='http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/screen-shot-2012-01-17-at-3-13-04-pm/' title='After Saving Options'><img width="150" height="150" src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.13.04-PM-150x150.png" class="attachment-thumbnail" alt="After Saving Options" title="After Saving Options" /></a>
<a href='http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/screen-shot-2012-01-17-at-3-13-27-pm/' title='Saved Page'><img width="150" height="150" src="http://www.mylifeinaminute.com/images/2012/01/Screen-Shot-2012-01-17-at-3.13.27-PM-150x150.png" class="attachment-thumbnail" alt="Saved Page" title="Saved Page" /></a>

<p><map name='google_ad_map_1199_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1199?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_1199_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1199&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2012%2F01%2F17%2Fembedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2012/01/17/embedding-youtube-videos-in-a-sharepoint-page-with-the-page-viewer-web-part/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting AutoCleanupDays With PowerShell in SharePoint 2010</title>
		<link>http://www.mylifeinaminute.com/2011/09/08/setting-autocleanupdays-with-powershell-in-sharepoint-2010/</link>
		<comments>http://www.mylifeinaminute.com/2011/09/08/setting-autocleanupdays-with-powershell-in-sharepoint-2010/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 18:39:34 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[TechNet]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1117</guid>
		<description><![CDATA[The Problem In it&#8217;s default configuration, SharePoint (2007 and 2010) will delete workflow associations after 60 days (e.g. the information found on the Workflow Status page). There are times when you may want to alter this functionality and retain the association for a longer period of time. In SharePoint 2007, the recommendation from Microsoft (per [...]]]></description>
			<content:encoded><![CDATA[<h2>The Problem</h2>
<p>In it&#8217;s default configuration, <a href="/tag/sharepoint/" title="SharePoint">SharePoint</a> (<a href="/tag/sharepoint-2007/" title="SharePoint 2007">2007</a> and <a href="/tag/sharepoint-2010/" title="SharePoint 2010">2010</a>) will delete <a href="/tag/workflow/" title="Workflow">workflow</a> associations after 60 days (<em>e.g.</em> the information found on the Workflow Status page). There are times when you may want to alter this functionality and retain the association for a longer period of time.</p>
<p>In SharePoint 2007, the <a title="Disable automatic cleanup of workflow history (SharePoint Server 2007)" href="http://technet.microsoft.com/en-us/library/cc298800(office.12).aspx">recommendation from Microsoft</a> (per <a href="/category/microsoft/technet/" title="TechNet">TechNet</a>), is to disable the <strong>Workflow Auto Cleanup</strong> timer job. The <strong>Workflow Auto Cleanup</strong> timer job is a web application scoped timer job. As such, disabling the job is often not the optimal solution; as disabling the job will ensure that cleanup is not occurring for all of the site collections within the web application for which the timer job was disabled.</p>
<p><a href="http://www.mylifeinaminute.com/images/2011/09/TimerJob.png" rel="lightbox[1117]"><img class="aligncenter size-medium wp-image-1120" title="Timer Jobs" src="http://www.mylifeinaminute.com/images/2011/09/TimerJob-300x184.png" alt="" width="300" height="184" /></a><a href="http://www.mylifeinaminute.com/images/2011/09/TimerJobDisable.png" rel="lightbox[1117]"><img class="aligncenter size-medium wp-image-1121" title="Disable Timer Job" src="http://www.mylifeinaminute.com/images/2011/09/TimerJobDisable-300x135.png" alt="" width="300" height="135" /></a></p>
<h2>The Solution</h2>
<p>Thankfully, there is a property (<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflow.spworkflowassociation.autocleanupdays.aspx" title="SPWorkflowAssociation.AutoCleanupDays Property">SPWorkflowAssociation.AutoCleanupDays</a>) that is exposed with the workflows associated with a given list/content type. And once again, <a href="/tag/powershell/" title="PowerShell">PowerShell</a> comes to the rescue, giving us the ability to manipulate the cleanup days at a more granular level. This ensures that we do not disable the timer job for an entire web application.</p>
<p>Presented as two functions, we can manipulate the workflow association settings for either the workflows associated with a list or the workflows associated with a content type attached to a list.</p>
<h3>Set-SPListWorkflowAssocationCleanup</h3>
<p>The following function allows us to set the AutoCleanupDays for all of the workflows associated with a given list.</p>
<pre class="brush: powershell; title: ; notranslate">
Set-SPListWorkflowAssocationCleanup -WebUrl &quot;http://intranet&quot; -ListName &quot;Shared Documents&quot; -CleanupDays 365 -ReportOnly:$false
</pre>
<pre class="brush: powershell; title: ; notranslate">
function Set-SPListWorkflowAssocationCleanup {
    param (
        [string] $WebUrl = $(Read-Host -prompt &quot;Enter a Url&quot;),
        [string] $ListName = $(Read-Host -prompt &quot;Enter a List Name&quot;),
        [int32] $CleanupDays = $(Read-Host -prompt &quot;Enter the number of Cleanup Days&quot;),
        [switch] $ReportOnly = $true
        )        

    $web = Get-SPWeb $WebUrl;
    if ($web -eq $null) {
        Write-Error -message &quot;Error: Web Not Found&quot; -category InvalidArgument
    } else {
        $list = $web.Lists[$ListName];
        if ($list -eq $null) {
            Write-Error -message &quot;Error: List Not Found&quot; -category InvalidArgument
        } else {
            [Microsoft.SharePoint.Workflow.SPWorkflowAssociation[]] $wfaMods = @();
            foreach ($wfa in $list.WorkflowAssociations) {
                $message = &quot;Found Workflow Association for &quot; + $wfa.Name + &quot; with AutoCleanupDays set to &quot; + $wfa.AutoCleanupDays
                Write-Verbose -message $message -verbose

                if ($ReportOnly -eq $false) {
                    $wfa.AutoCleanupDays = $CleanupDays;
                    $wfaMods = $wfaMods + $wfa;
                }
            }

            if ($ReportOnly -eq $false) {
                foreach ($wfa in $wfaMods) {
                    $message = &quot;Setting AutoCleanupDays for &quot; + $wfa.Name + &quot; to &quot; + $CleanupDays
                    Write-Verbose -message $message -verbose
                    $list.WorkflowAssociations.Update($wfa);
                }
            }
        }
    }
}
</pre>
<h3>Set-SPListContentTypeWorkflowAssocationCleanup</h3>
<p>The following function allows us to set the AutoCleanupDays for all of the workflows associated with content type for a given list.</p>
<pre class="brush: powershell; title: ; notranslate">
Set-SPListContentTypeWorkflowAssocationCleanup -WebUrl &quot;http://intranet&quot; -ListName &quot;Shared Documents&quot; -ContentTypeName &quot;Document Content Type&quot; -CleanupDays 365 -ReportOnly:$false
</pre>
<pre class="brush: powershell; title: ; notranslate">
function Set-SPListContentTypeWorkflowAssocationCleanup {
    param (
        [string] $WebUrl = $(Read-Host -prompt &quot;Enter a Url&quot;),
        [string] $ListName = $(Read-Host -prompt &quot;Enter a List Name&quot;),
        [string] $ContentTypeName = $(Read-Host -prompt &quot;Enter a Content Type Name&quot;),
        [int32] $CleanupDays = $(Read-Host -prompt &quot;Enter the number of Cleanup Days&quot;),
        [switch] $ReportOnly = $true
        )        

    $web = Get-SPWeb $WebUrl;
    if ($web -eq $null) {
        Write-Error -message &quot;Error: Web Not Found&quot; -category InvalidArgument
    } else {
        $list = $web.Lists[$ListName];
        if ($list -eq $null) {
            Write-Error -message &quot;Error: List Not Found&quot; -category InvalidArgument
        } else {
            $ct = $list.ContentTypes[$ContentTypeName];
            if ($ct -eq $null) {
                Write-Error -message &quot;Error: Content Type Not Found&quot; - category InvalidArgument
            } else {
                [Microsoft.SharePoint.Workflow.SPWorkflowAssociation[]] $wfaMods = @();
                foreach ($wfa in $ct.WorkflowAssociations) {
                    $message = &quot;Found Workflow Association for &quot; + $wfa.Name + &quot; with AutoCleanupDays set to &quot; + $wfa.AutoCleanupDays
                    Write-Verbose -message $message -verbose

                    if ($ReportOnly -eq $false) {
                        $wfa.AutoCleanupDays = $CleanupDays;
                        $wfaMods = $wfaMods + $wfa;
                    }
                }

                if ($ReportOnly -eq $false) {
                    foreach ($wfa in $wfaMods) {
                        $message = &quot;Setting AutoCleanupDays for &quot; + $wfa.Name + &quot; to &quot; + $CleanupDays
                        Write-Verbose -message $message -verbose
                        $ct.WorkflowAssociations.Update($wfa);
                    }
                }
            }
        }
    }
}
</pre>
<h2>Conclusion</h2>
<p>By manipulating the workflow associations for a list at the list/content type level the default configuration of a SharePoint farm can be retained (<em>e.g.</em> Workflow associations removed after 60 days) and in those cases where there is a business need, the workflow associations can be maintained for a longer period of time.</p>
<h2>Reference</h2>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflow.spworkflowassociation.autocleanupdays.aspx" title="SPWorkflowAssociation.AutoCleanupDays Property">SPWorkflowAssociation.AutoCleanupDays Property</a></li>
<li><a title="SharePoint Timer job reference (Office SharePoint Server)" href="http://technet.microsoft.com/en-us/library/cc678870(office.12).aspx">SharePoint Timer job reference (Office SharePoint Server)</a></li>
<li><a title="Timer job reference (SharePoint Server 2010)" href="http://technet.microsoft.com/en-us/library/cc678870.aspx">Timer job reference (SharePoint Server 2010)</a></li>
<li><a href="http://sympmarc.com/2008/10/14/sharepoint-workflow-history-disappears/" title="SharePoint Workflow History Disappears">SharePoint Workflow History &#8220;Disappears&#8221;</a></li>
</ul>
<p><map name='google_ad_map_1117_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1117?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_1117_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1117&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F09%2F08%2Fsetting-autocleanupdays-with-powershell-in-sharepoint-2010%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/09/08/setting-autocleanupdays-with-powershell-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UrlAction Tokens in SharePoint 2010</title>
		<link>http://www.mylifeinaminute.com/2011/09/02/urlaction-tokens-in-sharepoint-2010/</link>
		<comments>http://www.mylifeinaminute.com/2011/09/02/urlaction-tokens-in-sharepoint-2010/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 19:25:28 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1100</guid>
		<description><![CDATA[When creating CustomAction Elements, a number of tokens are available for use within the UrlAction Element in SharePoint 2010. The list of UrlAction tokens in SharePoint 2010 has grown ever so slightly (For a SharePoint 2007 reference, see UrlAction Tokens Of The CustomAction Feature). Tokens Key Available in 2007 Available in 2010 Token Replacement ~site/ [...]]]></description>
			<content:encoded><![CDATA[<p>When creating <a title="CustomAction Element" href="http://msdn.microsoft.com/en-us/library/ms460194.aspx">CustomAction Elements</a>, a number of tokens are available for use within the <a title="UrlAction Element" href="http://msdn.microsoft.com/en-us/library/ms478271(v=office.14).aspx">UrlAction Element</a> in <a href="/tag/sharepoint-2010/" title="SharePoint 2010">SharePoint 2010</a>. The list of <a title="UrlAction Element" href="http://msdn.microsoft.com/en-us/library/ms478271(v=office.14).aspx">UrlAction</a> tokens in SharePoint 2010 has grown ever so slightly (For a <a href="/tag/sharepoint-2007/" title="SharePoint 2007">SharePoint 2007</a> reference, see <a title="UrlAction Tokens Of The CustomAction Feature" href="http://hristopavlov.wordpress.com/2008/12/08/urlaction-tokens-of-the-customaction-feature/">UrlAction Tokens Of The CustomAction Feature</a>).</p>
<h4>Tokens</h4>
<table border="0" cellspacing="0" cellpadding="0" style="width:100%">
<tr>
<th>Key</th>
</tr>
<tr>
<td>Available in 2007</td>
</tr>
<tr  style="background-color: #FFFBCC">
<td>Available in 2010</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" style="width:100%">
<tbody>
<tr>
<th>Token</th>
<th>Replacement</th>
</tr>
<tr>
<td>~site/</td>
<td><a title="SPWeb.ServerRelativeUrl Property" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.serverrelativeurl.aspx">SPContext.Current.Web.ServerRelativeUrl</a></td>
</tr>
<tr>
<td>~sitecollection/</td>
<td><a title="SPSite.ServerRelativeUrl Property" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.serverrelativeurl.aspx">SPContext.Current.Site.ServerRelativeUrl</a></td>
</tr>
<tr>
<td>{ItemId}</td>
<td><a title="SPListItem.ID Property" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.id.aspx">SPListItem.ID</a>.ToString() <em>or</em> <a title="Code Snippet: Get the BdcIdentity of All Items in an External List on the Server" href="http://msdn.microsoft.com/en-us/library/ff464434.aspx">SPListItem["BdcIdentity"]</a> (external data source)</td>
</tr>
<tr>
<td>{ItemUrl}</td>
<td><a title="SPListItem.Url Property" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.url.aspx">SPListItem.Url</a></td>
</tr>
<tr>
<td>{SiteUrl}</td>
<td><a title="SPWeb.Url Property" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.url.aspx">SPWeb.Url</a></td>
</tr>
<tr>
<td>{ListId}</td>
<td><a title="SPList.ID Property" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.id.aspx">SPList.ID</a>.<a title="Guid.ToString Method (String)" href="http://msdn.microsoft.com/en-us/library/97af8hh4.aspx">ToString(&#8220;B&#8221;)</a></td>
</tr>
<tr>
<td>{RecurrenceId}</td>
<td><a title="SPListItem.RecurrenceID Property" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.recurrenceid.aspx">SPListItem.RecurrenceID</a></td>
</tr>
<tr style="background-color: #FFFBCC">
<td>{ListUrlDir}</td>
<td><a title="SPList.RootFolder Property" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.rootfolder.aspx">SPList.RootFolder</a>.<a title="SPFolder.Url Property" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.url.aspx">Url</a></td>
</tr>
<tr style="background-color: #FFFBCC">
<td>{Source}</td>
<td>Current Request Url</td>
</tr>
</tbody>
</table>
<h4>Microsoft.SharePoint.SPCustomActionElement.ReplaceUrlTokens</h4>
<pre class="brush: csharp; title: ; notranslate">
internal static string ReplaceUrlTokens(string urlAction, SPWeb web, SPList list, SPListItem item)
{
	if (string.IsNullOrEmpty(urlAction))
	{
		return urlAction;
	}
	if (item != null)
	{
		int d = item.ID;
		string str1 = d.ToString(CultureInfo.InvariantCulture);
		if (list.HasExternalDataSource)
		{
			str1 = item[&quot;BdcIdentity&quot;] as string;
		}
		urlAction = urlAction.Replace(&quot;{ItemId}&quot;, str1);
		urlAction = urlAction.Replace(&quot;{ItemUrl}&quot;, item.Url);
		string recurrenceID = str1;
		if (!string.IsNullOrEmpty(item.RecurrenceID))
		{
			recurrenceID = item.RecurrenceID;
		}
		urlAction = urlAction.Replace(&quot;{RecurrenceId}&quot;, recurrenceID);
	}
	if (web != null)
	{
		urlAction = urlAction.Replace(&quot;{SiteUrl}&quot;, web.Url);
	}
	if (list != null)
	{
		urlAction = &quot;{ListId}&quot;.Replace(Guid guid = list.ID, guid.ToString(&quot;B&quot;));
		if (list.RootFolder != null)
		{
			urlAction = urlAction.Replace(&quot;{ListUrlDir}&quot;, list.RootFolder.Url);
		}
	}
	HttpContext current = HttpContext.Current;
	if (current != null &amp;&amp; current.Request != null)
	{
		string rawUrl = current.Request.RawUrl;
		Uri contextUri = SPAlternateUrl.ContextUri;
		if (!string.IsNullOrEmpty(rawUrl) &amp;&amp; null != contextUri)
		{
			string str2 = null;
			if (!SPUtility.StsStartsWith(rawUrl, &quot;/&quot;))
			{
				str2 = string.Concat(contextUri.GetLeftPart(UriPartial.Authority), &quot;/&quot;, rawUrl);
			}
			else
			{
				str2 = string.Concat(contextUri.GetLeftPart(UriPartial.Authority), rawUrl);
			}
			urlAction = urlAction.Replace(&quot;{Source}&quot;, SPHttpUtility.UrlKeyValueEncode(str2));
		}
	}
	urlAction = SPUtility.GetServerRelativeUrlFromPrefixedUrl(urlAction);
	return urlAction;
}
</pre>
<h4>Reference</h4>
<ul>
<li><a title="CustomAction Element" href="http://msdn.microsoft.com/en-us/library/ms460194.aspx">CustomAction Element</a></li>
<li><a title="UrlAction Element" href="http://msdn.microsoft.com/en-us/library/ms478271(v=office.14).aspx">UrlAction Element</a></li>
<li><a title="UrlAction Tokens Of The CustomAction Feature" href="http://hristopavlov.wordpress.com/2008/12/08/urlaction-tokens-of-the-customaction-feature/">UrlAction Tokens Of The CustomAction Feature</a></li>
</ul>
<p><map name='google_ad_map_1100_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1100?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_1100_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1100&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F09%2F02%2Furlaction-tokens-in-sharepoint-2010%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/09/02/urlaction-tokens-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Governance Resources</title>
		<link>http://www.mylifeinaminute.com/2011/01/19/sharepoint-governance-resources/</link>
		<comments>http://www.mylifeinaminute.com/2011/01/19/sharepoint-governance-resources/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 14:21:45 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[TechNet]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[governance]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint documentation]]></category>
		<category><![CDATA[SharePoint Installation]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=654</guid>
		<description><![CDATA[Governance is something that should be at the top of the list for any SharePoint implementation (no matter how small). The following are some checklists/whitepapers/etc. provided by Microsoft that can get you started. Plan Governance SharePoint Governance Checklist Guide SharePoint Collaboration Service Governance Plan SharePoint Intranet Portal Governance White Paper SharePoint Deployment Guide and Checklists [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Governance" href="/tag/governance/">Governance</a> is something that should be at the top of the list for any SharePoint implementation (no matter how small). The following are some checklists/whitepapers/etc. provided by <a title="Microsoft" href="/category/microsoft/">Microsoft</a> that can get you started.</p>
<ul>
<li><a title="Plan Governance" href="http://technet.microsoft.com/en-us/library/cc263341(office.12).aspx">Plan Governance</a></li>
<li><a title="SharePoint Governance Checklist Guide" href="http://office.microsoft.com/download/afile.aspx?AssetID=AM102306291033">SharePoint Governance Checklist Guide</a></li>
<li><a title="SharePoint Collaboration Service Governance Plan" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ed2e4753-f162-4c23-ba9e-beb8c88f74d4&amp;displaylang=en">SharePoint Collaboration Service Governance Plan</a></li>
<li><a title="SharePoint Intranet Portal Governance White Paper" href="http://go.microsoft.com/fwlink/?LinkId=163922&amp;clcid=0x409">SharePoint Intranet Portal Governance White Paper</a></li>
<li><a title="SharePoint Deployment Guide and Checklists" href="http://office.microsoft.com/download/afile.aspx?AssetID=AM102552101033">SharePoint Deployment Guide and Checklists</a></li>
</ul>
<p>This is of course only sampling of what&#8217;s available. Feel free to sound off in the comments with your go-to resources for <a title="SharePoint" href="/tag/sharepoint/">SharePoint</a> governance.</p>
<p><map name='google_ad_map_654_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/654?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_654_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=654&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F01%2F19%2Fsharepoint-governance-resources%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/01/19/sharepoint-governance-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySite Redirection and MOSS Service Pack 2</title>
		<link>http://www.mylifeinaminute.com/2010/12/28/mysite-redirection-and-moss-service-pack-2/</link>
		<comments>http://www.mylifeinaminute.com/2010/12/28/mysite-redirection-and-moss-service-pack-2/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 16:31:24 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[moss service pack]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint User Management]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=638</guid>
		<description><![CDATA[MOSS 2007 SP2 has a bug fix that it seems a number of people don&#8217;t want. It enables redirection from the userdisp.aspx page in a local site collection to the MySite portal page even when a portal site connection is not configured. Thankfully, a quick feature scoped at the farm level can remedy the situation. [...]]]></description>
			<content:encoded><![CDATA[<p>MOSS 2007 SP2 has a bug fix that it seems a number of people don&#8217;t want. It enables redirection from the userdisp.aspx page in a local site collection to the MySite portal page even when a portal site connection is not configured.</p>
<p>Thankfully, a quick feature scoped at the farm level can remedy the situation. The following feature disables profile redirection and also hides the &#8220;My Site&#8221; global navigation link. Note that this feature is scoped at the Farm level, making it applicable to all web applications/site collections within the farm.</p>
<h3>The feature</h3>
<h4>feature.xml</h4>
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;Feature  Id=&quot;6768ca75-6afb-4b70-80e6-7964abf4fb68&quot;
          Title=&quot;Disable MySites Redirection&quot;
          Description=&quot;Disables MySites redirection to person.aspx (pre-SP2 behavior) and removes the My Site global navigation link&quot;
          Version=&quot;12.0.0.0&quot;
          Hidden=&quot;FALSE&quot;
          Scope=&quot;Farm&quot;
          DefaultResourceFile=&quot;core&quot;
          xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;
  &lt;ElementManifests&gt;
    &lt;ElementManifest Location=&quot;elements.xml&quot;/&gt;
  &lt;/ElementManifests&gt;
&lt;/Feature&gt;
</pre>
<h4>elements.xml</h4>
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
&lt;Elements xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;
    &lt;Control Id=&quot;GlobalSiteLink1&quot; Sequence=&quot;50&quot; ControlSrc=&quot;&quot; /&gt;
    &lt;Control Id=&quot;ProfileRedirection&quot; Sequence=&quot;50&quot; ControlSrc=&quot;&quot;/&gt;
&lt;/Elements&gt;
</pre>
<h4>Reference</h4>
<ul>
<li><a title="How to bypass MySite redirection introduced with the SP2 when you display user details?" href="http://blogs.msdn.com/b/yvan_duhamel/archive/2010/02/08/how-to-bypass-mysite-redirection-introduced-with-the-sp2-when-you-display-user-details.aspx">How to bypass MySite redirection introduced with the SP2 when you display user details?</a></li>
</ul>
<p><map name='google_ad_map_638_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/638?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_638_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=638&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F12%2F28%2Fmysite-redirection-and-moss-service-pack-2%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/12/28/mysite-redirection-and-moss-service-pack-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Event ID error messages 10016 and 10017 are logged in the System log after you install Windows SharePoint Services 3.0</title>
		<link>http://www.mylifeinaminute.com/2010/12/06/event-id-error-messages-10016-and-10017-are-logged-in-the-system-log-after-you-install-windows-sharepoint-services-3-0/</link>
		<comments>http://www.mylifeinaminute.com/2010/12/06/event-id-error-messages-10016-and-10017-are-logged-in-the-system-log-after-you-install-windows-sharepoint-services-3-0/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 15:35:27 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint Installation]]></category>
		<category><![CDATA[sharepoint quirks]]></category>
		<category><![CDATA[wss 3.0]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=628</guid>
		<description><![CDATA[More fun SharePoint errors in the system log. If you&#8217;re seeing 10016/17 errors in the Event Log and want to resolve them, perform the steps outlined in KB920783. Note that these errors are more of a nuisance than anything. The existence of these errors is expected and will not impact the functionality of your farm. [...]]]></description>
			<content:encoded><![CDATA[<p>More fun SharePoint errors in the system log. If you&#8217;re seeing 10016/17 errors in the Event Log and want to resolve them, perform the steps outlined in <a title="KB920783" href="http://support.microsoft.com/kb/920783">KB920783</a>.</p>
<p>Note that these errors are more of a nuisance than anything. The existence of these errors is expected and will not impact the functionality of your farm. That being said, less errors being generated is a &#8220;good thing&#8221; in my mind.</p>
<p><map name='google_ad_map_628_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/628?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_628_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=628&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F12%2F06%2Fevent-id-error-messages-10016-and-10017-are-logged-in-the-system-log-after-you-install-windows-sharepoint-services-3-0%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/12/06/event-id-error-messages-10016-and-10017-are-logged-in-the-system-log-after-you-install-windows-sharepoint-services-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint in Plain English</title>
		<link>http://www.mylifeinaminute.com/2010/11/16/sharepoint-in-plain-english/</link>
		<comments>http://www.mylifeinaminute.com/2010/11/16/sharepoint-in-plain-english/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 16:29:41 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=618</guid>
		<description><![CDATA[This one is a little old, but still relevant. If you&#8217;ve ever struggled with trying to convey what SharePoint is to your users, refer them to this video.]]></description>
			<content:encoded><![CDATA[<p>This one is a little old, but still relevant. If you&#8217;ve ever struggled with trying to convey what SharePoint is to your users, refer them to this video.</p>
<p><iframe title="YouTube video player" class="youtube-player" type="text/html" width="560" height="345" src="http://www.youtube.com/embed/s12Jb5Z2xaE" frameborder="0"></iframe></p>
<p><map name='google_ad_map_618_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/618?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_618_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=618&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F11%2F16%2Fsharepoint-in-plain-english%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/11/16/sharepoint-in-plain-english/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Users Not Found in People Pickers</title>
		<link>http://www.mylifeinaminute.com/2010/11/12/users-not-found-in-people-pickers/</link>
		<comments>http://www.mylifeinaminute.com/2010/11/12/users-not-found-in-people-pickers/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 18:31:00 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[sharepoint administration]]></category>
		<category><![CDATA[SharePoint Profile Management]]></category>
		<category><![CDATA[sharepoint quirks]]></category>
		<category><![CDATA[SharePoint User Management]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=604</guid>
		<description><![CDATA[Ah yes, the people picker again. I recently inherited an environment where the previous administrator was kind enough to not document anything, especially the items he/she had been playing with in development. When trying to designate a user as a Primary Site Collection Administrator in Central Administration, I was unable to query for subsets of [...]]]></description>
			<content:encoded><![CDATA[<p>Ah yes, the people picker again. I recently inherited an environment where the previous administrator was kind enough to not document anything, especially the items he/she had been playing with in development.</p>
<p>When trying to designate a user as a Primary Site Collection Administrator in Central Administration, I was unable to query for subsets of domain users on a single web application. After checking all of the usual suspects (<a title="Peoplepicker-searchadforests" href="http://technet.microsoft.com/en-us/library/cc263460(office.12).aspx">Peoplepicker-searchadforests</a> I&#8217;m looking at you) with no success, it was off to the not-so-usual suspects.</p>
<p>It turns out the previous admin was kind enough to set the <a title="Peoplepicker-searchadcustomfilter" href="http://technet.microsoft.com/en-us/library/cc263452(office.12).aspx">Peoplepicker-searchadcustomfilter</a> property on the main portal site collection. After setting the property to <em>null</em></p>
<pre class="brush: plain; title: ; notranslate">
stsadm -o setproperty -pn peoplepicker-searchadcustomfilter -pv &quot;&quot; -url [URL]
</pre>
<p>all was once again right with the world. </p>
<p>Now where did I leave my sledgehammer?</p>
<p><map name='google_ad_map_604_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/604?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_604_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=604&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F11%2F12%2Fusers-not-found-in-people-pickers%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/11/12/users-not-found-in-people-pickers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS10-070 Released Out-of-Band Today</title>
		<link>http://www.mylifeinaminute.com/2010/09/28/ms10-070-released-out-of-band-today/</link>
		<comments>http://www.mylifeinaminute.com/2010/09/28/ms10-070-released-out-of-band-today/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 20:10:13 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[security patch]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=570</guid>
		<description><![CDATA[The title says it all. Get patching. Hit up the security bulletin for downloads. Reference Microsoft Security Bulletin MS10-070 &#8211; Important Microsoft Security Response Center Microsoft SharePoint Team Blog]]></description>
			<content:encoded><![CDATA[<p>The title says it all. Get patching. Hit up the security bulletin for downloads.</p>
<h4>Reference</h4>
<ul>
<li><a href="http://www.microsoft.com/technet/security/bulletin/ms10-070.mspx" title="Microsoft Security Bulletin MS10-070 - Important">Microsoft Security Bulletin MS10-070 &#8211; Important</a></li>
<li><a href="http://MS10-070 Released Out-of-Band Today" title="MS10-070 Released Out-of-Band Today">Microsoft Security Response Center</a></li>
<li><a href="http://blogs.msdn.com/b/sharepoint/archive/2010/09/28/ms10-070-released-out-of-band-today.aspx" title="MS10-070 Released Out-of-Band Today">Microsoft SharePoint Team Blog</a></li>
</ul>
<p><map name='google_ad_map_570_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/570?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_570_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=570&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F09%2F28%2Fms10-070-released-out-of-band-today%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/09/28/ms10-070-released-out-of-band-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Padding, ASP.NET Vulnerabilities, and SharePoint</title>
		<link>http://www.mylifeinaminute.com/2010/09/21/oracle-padding-asp-net-vulnerabilities-and-sharepoint/</link>
		<comments>http://www.mylifeinaminute.com/2010/09/21/oracle-padding-asp-net-vulnerabilities-and-sharepoint/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 15:51:26 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Sharepoint Server]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[Windows SharePoint Services]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Guidance]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=548</guid>
		<description><![CDATA[The Microsoft SharePoint team has released specific guidance for a workaround for the recently announced ASP.NET vulnerability (Security Advisory 2416728). With a slight modification, this guidance will also apply to SharePoint 2007. For SharePoint 2010, the relevant web.config entry will look like: While for SharePoint 2007, the web.config entry will read:]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://blogs.msdn.com/sharepoint/" title="Microsoft SharePoint Team Blog">Microsoft SharePoint team</a> has<a href="http://blogs.msdn.com/b/sharepoint/archive/2010/09/21/security-advisory-2416728-vulnerability-in-asp-net-and-sharepoint.aspx" title="Security Advisory 2416728 (Vulnerability in ASP.NET) and SharePoint."> released specific guidance</a> for a workaround for the recently announced ASP.NET vulnerability (<a href="https://www.microsoft.com/technet/security/advisory/2416728.mspx" title="Microsoft Security Advisory (2416728)">Security Advisory 2416728</a>). With a slight modification, this guidance will also apply to SharePoint 2007.</p>
<p>For SharePoint 2010, the relevant web.config entry will look like:</p>
<p>
<pre class="brush: xml; title: ; notranslate"> &lt;customerrors defaultredirect=&quot;/_layouts/error2.aspx&quot; mode=&quot;On&quot; redirectmode=&quot;ResponseRewrite&quot;&gt;&lt;/customerrors&gt;</pre>
</p>
<p>While for SharePoint 2007, the web.config entry will read:</p>
<p>
<pre class="brush: xml; title: ; notranslate"> &lt;customerrors defaultredirect=&quot;/_layouts/error2.aspx&quot; mode=&quot;On&quot;&gt;&lt;/customerrors&gt;</pre></p>
<p><map name='google_ad_map_548_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/548?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_548_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=548&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2010%2F09%2F21%2Foracle-padding-asp-net-vulnerabilities-and-sharepoint%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2010/09/21/oracle-padding-asp-net-vulnerabilities-and-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.mylifeinaminute.com @ 2012-02-07 16:53:43 by W3 Total Cache -->
