<?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</title>
	<atom:link href="http://www.mylifeinaminute.com/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>SharePoint Saturday Virginia Beach 2012</title>
		<link>http://www.mylifeinaminute.com/2012/01/10/sharepoint-saturday-virginia-beach-2012/</link>
		<comments>http://www.mylifeinaminute.com/2012/01/10/sharepoint-saturday-virginia-beach-2012/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 14:26:40 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1190</guid>
		<description><![CDATA[SharePoint Saturday Virginia Beach 2012 is a wrap and it was a great time. Thanks to all who came out to attend the session with Dan Usher and I on Pitfalls of Migration to SharePoint 2010. Organizations of all sizes are begging their technical departments to setup SharePoint 2010 so that they&#8217;re able to make [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sharepointsaturday.org/virginiabeach/default.aspx" title="SharePoint Saturday Virginia Beach">SharePoint Saturday Virginia Beach</a> 2012 is a wrap and it was a great time. Thanks to all who came out to attend the session with <a href="http://www.sharepointdan.com/" title="SharePoint Dan">Dan Usher</a> and I on Pitfalls of Migration to <a href="/tag/sharepoint-2010/" title="SharePoint 2010">SharePoint 2010</a>.</p>
<blockquote><p>Organizations of all sizes are begging their technical departments to setup SharePoint 2010 so that they&#8217;re able to make use of some of the capabilities introduced within the SharePoint 2010 platform. While designing, implementing, configuring and deploying a system in and of itself has its own set of challenges, migrating into that shiny new SharePoint can be even more difficult.</p>
<p>In this session, Scott and Dan will share some of their experiences and lessons learned tips, tricks and pointers for ensuring that you&#8217;ve considered the various aspects of challenges that arise during a migration effort. Further, as a bonus they&#8217;ll share how to not fall prey to some of these pitfalls but rather be able to show that you&#8217;re a well rounded professional that&#8217;s thought things through before pressing the enter key.</p></blockquote>
<div style="width:425px" id="__ss_10937531"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/ciphertxt/pitfalls-of-migration-to-sharepoint-2010" title="Pitfalls of Migration to SharePoint 2010" target="_blank">Pitfalls of Migration to SharePoint 2010</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/10937531" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/ciphertxt" target="_blank">Scott Hoag</a> </div>
</p></div>
<p><map name='google_ad_map_1190_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1190?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_1190_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1190&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2012%2F01%2F10%2Fsharepoint-saturday-virginia-beach-2012%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2012/01/10/sharepoint-saturday-virginia-beach-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Lync for Mac 2011 with BPOS</title>
		<link>http://www.mylifeinaminute.com/2011/12/06/using-lync-for-mac-2011-with-bpos/</link>
		<comments>http://www.mylifeinaminute.com/2011/12/06/using-lync-for-mac-2011-with-bpos/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 20:22:49 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Macbook Pro]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[BPOS]]></category>
		<category><![CDATA[Lync]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1157</guid>
		<description><![CDATA[It is possible to use Lync for Mac 2011 with Microsoft Online Services (despite what Microsoft will tell you). The following configuration steps will allow you to connect to the BPOS OCS servers: Install the Lync for Mac 2011 client. Open the preference pane and select the Account tab. Click the Edit&#8230; button under the [...]]]></description>
			<content:encoded><![CDATA[<p>It <em>is</em> possible to use <a href="http://www.microsoft.com/mac/enterprise/lync" title="Lync for Mac 2011">Lync for Mac 2011</a> with <a href="/tag/microsoft/" title="Microsoft">Microsoft</a> <a href="http://www.microsoft.com/online/" title="Microsoft Online Services">Online Services</a> (despite what Microsoft will <a href="http://www.microsoft.com/online/help/en-us/helphowto/2b5a1e02-311c-40f7-b2fc-edbfa7fdaaf9.htm" title="Microsoft Online Services Client Computer Requirements">tell you</a>).</p>
<p>The following configuration steps will allow you to connect to the BPOS OCS servers:</p>
<ol>
<li>Install the Lync for Mac 2011 client.</li>
<li>Open the preference pane and select the <strong>Account</strong> tab.<a href="http://www.mylifeinaminute.com/images/2011/12/OCS_Settings.jpg" rel="lightbox[1157]"><img src="http://www.mylifeinaminute.com/images/2011/12/OCS_Settings-300x238.jpg" alt="" title="Lync Preference Pane" width="300" height="238" class="aligncenter size-medium wp-image-1168" /></a><br />
Click the <strong>Edit&#8230;</strong> button under the <strong>Server Settings</strong> heading.</li>
<li>In the <strong>Advanced Server Settings</strong> dialog, enter <em>pool1.oconline.microsoftonline.com:443</em> in both the <strong>Internal Server Name</strong> and <strong>External Server Name</strong> fields.<a href="http://www.mylifeinaminute.com/images/2011/12/OCS_Advanced_Settings.jpg" rel="lightbox[1157]"><img src="http://www.mylifeinaminute.com/images/2011/12/OCS_Advanced_Settings-300x269.jpg" alt="" title="Lync Advanced Settings" width="300" height="269" class="aligncenter size-medium wp-image-1167" /></a></li>
<li>Close the preference pane and select the <strong>Microsoft Lync</strong> window. Enter the following information:
<ul>
<li><strong>Email Address:</strong>&nbsp;<em>user@contoso.com</em></li>
<li><strong>User ID:</strong>&nbsp;<em>RED001\user_contoso.com</em></li>
<li><strong>Password:</strong>&nbsp;<em>Your password</em></li>
</ul>
<p><a href="http://www.mylifeinaminute.com/images/2011/12/OSC_Sign_In.jpg" rel="lightbox[1157]"><img src="http://www.mylifeinaminute.com/images/2011/12/OSC_Sign_In-191x300.jpg" alt="" title="Lync Window" width="191" height="300" class="aligncenter size-medium wp-image-1170" /></a>
</li>
<li>Click <strong>Sign In</strong> and &#8230;<a href="http://www.mylifeinaminute.com/images/2011/12/OCS_Signed_In1.jpg" rel="lightbox[1157]"><img src="http://www.mylifeinaminute.com/images/2011/12/OCS_Signed_In1-175x300.jpg" alt="" title="Lync Signed In" width="175" height="300" class="aligncenter size-medium wp-image-1169" /></a></li>
</ol>
<h4>Reference</h4>
<ul>
<li><a href="http://www.microsoft.com/mac/enterprise/lync" title="Lync for Mac 2011">Lync for Mac 2011</a></li>
<li><a href="http://www.microsoft.com/online/help/en-us/helphowto/2b5a1e02-311c-40f7-b2fc-edbfa7fdaaf9.htm" title="Client Computer Requirements">Microsoft Online Services Client Computer Requirements</a></li>
<li><a href="http://support.microsoft.com/kb/2368074" title="How to troubleshoot Office Communicator authentication issues">How to troubleshoot Office Communicator authentication issues</a></li>
</ul>
<p><map name='google_ad_map_1157_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1157?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_1157_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1157&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F12%2F06%2Fusing-lync-for-mac-2011-with-bpos%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/12/06/using-lync-for-mac-2011-with-bpos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Saturday Richmond Decks</title>
		<link>http://www.mylifeinaminute.com/2011/11/06/sharepoint-saturday-richmond-deck/</link>
		<comments>http://www.mylifeinaminute.com/2011/11/06/sharepoint-saturday-richmond-deck/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 01:55:59 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[Managed Metadata]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint Saturday]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1143</guid>
		<description><![CDATA[SharePoint Saturday Richmond is a wrap. Thank you to those who attended my sessions (and a special thanks to Dan Usher for allowing me to present with him). I apologize for the brevity of the Managed Metadata session, but there&#8217;s only so much disappointment I can dole out at once. Trials and Tribulations of Managed [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sharepointsaturday.org" title="SharePoint Saturday">SharePoint Saturday</a> <a href="http://sharepointsaturday.org/richmond/" title="SharePoint Saturday Richmond">Richmond</a> is a wrap. Thank you to those who attended my sessions (and a special thanks to <a href="http://www.sharepointdan.com/" title="SharePoint Dan">Dan Usher</a> for allowing me to present with him). I apologize for the brevity of the Managed Metadata session, but there&#8217;s only so much disappointment I can dole out at once.</p>
<h4>Trials and Tribulations of Managed Metadata</h4>
<div style="width:425px" id="__ss_10051758"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/ciphertxt/trials-and-tribulations-of-managed-metadata" title="Trials and Tribulations of Managed Metadata" target="_blank">Trials and Tribulations of Managed Metadata</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/10051758" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/ciphertxt" target="_blank">Scott Hoag</a> </div>
</p></div>
<h4>Pitfalls of Migrating to SharePoint 2010</h4>
<div style="width:425px" id="__ss_10060001"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/spdan/pitfalls-of-migrating-to-sharepoint-2010" title="Pitfalls of Migrating to SharePoint 2010" target="_blank">Pitfalls of Migrating to SharePoint 2010</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/10060001" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/spdan" target="_blank">Dan Usher</a> </div>
</p></div>
<p><map name='google_ad_map_1143_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1143?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_1143_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1143&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F11%2F06%2Fsharepoint-saturday-richmond-deck%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/11/06/sharepoint-saturday-richmond-deck/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 Saturday DC &#8211; The Conference &#8211; Session Deck</title>
		<link>http://www.mylifeinaminute.com/2011/08/12/sharepoint-saturday-dc-the-conference-session-deck/</link>
		<comments>http://www.mylifeinaminute.com/2011/08/12/sharepoint-saturday-dc-the-conference-session-deck/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 20:10:17 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1085</guid>
		<description><![CDATA[SharePoint Saturday DC &#8211; The Conference has kicked off and seems to be running full steam ahead. As promised, here is my deck from SharePoint Saturday DC &#8211; The Conference. Thanks to all who came out to my session on Managed Metadata &#8211; The Good, the Bad, and the Ugly. Managed Metadata &#8211; The Good, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://spstc.org" title="SharePoint Saturday DC - The Conference">SharePoint Saturday DC &#8211; The Conference</a> has kicked off and seems to be <a href="http://www.spstc.org/blog/Lists/Posts/Post.aspx?List=7bbab49c-8ffa-4a12-9b76-94e5acaeea5f&#038;ID=53&#038;Web=57d62e85-8cde-4fc9-aa09-108f11977926" title="SharePoint Thursday - A Recap">running full steam ahead</a>. As promised, here is my deck from SharePoint Saturday DC &#8211; The Conference. Thanks to all who came out to my session on <a href="http://j.mp/rktgwS" title="Managed Metadata - The Good, the Bad, and the Ugly">Managed Metadata &#8211; The Good, the Bad, and the Ugly</a>.</p>
<div style="width:425px" id="__ss_8838897"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/ciphertxt/managed-metadata-the-good-the-bad-and-the-ugly-8838897" title="Managed Metadata - The Good, the Bad, and the Ugly">Managed Metadata &#8211; The Good, the Bad, and the Ugly</a></strong><object id="__sse8838897" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=managedmetadatagoodbadugly-slideshare-110812145815-phpapp02&#038;stripped_title=managed-metadata-the-good-the-bad-and-the-ugly-8838897&#038;userName=ciphertxt" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse8838897" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=managedmetadatagoodbadugly-slideshare-110812145815-phpapp02&#038;stripped_title=managed-metadata-the-good-the-bad-and-the-ugly-8838897&#038;userName=ciphertxt" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/ciphertxt">ciphertxt</a>.</div>
</div>
<p><map name='google_ad_map_1085_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1085?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_1085_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1085&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F08%2F12%2Fsharepoint-saturday-dc-the-conference-session-deck%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/08/12/sharepoint-saturday-dc-the-conference-session-deck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Information Worker FAST Search Certificate</title>
		<link>http://www.mylifeinaminute.com/2011/07/24/sharepoint-2010-information-worker-fast-search-certificate/</link>
		<comments>http://www.mylifeinaminute.com/2011/07/24/sharepoint-2010-information-worker-fast-search-certificate/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 15:32:18 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[FAST Search]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1079</guid>
		<description><![CDATA[In the SharePoint 2010 Information Worker, the FASTSearchCert deployed in the image expired in April 2011 and needs to be updated. The following script (credit to Bryan Hart) will update the certicate in a single elevated PowerShell prompt. Reference Remember to give your SharePoint 2010 Information Worker Virtual Machine a fresh certificate]]></description>
			<content:encoded><![CDATA[<p>In the <a href="/tag/sharepoint-2010/" title="SharePoint 2010">SharePoint 2010</a> Information Worker, the FASTSearchCert deployed in the image expired in April 2011 and needs to be updated. </p>
<p>The following script (credit to <a href="http://www.solanite.com/" title="Solanite Consulting">Bryan Hart</a>) will update the certicate in a single elevated <a href="/tag/powershell" title="PowerShell">PowerShell</a> prompt.</p>
<pre class="brush: powershell; title: ; notranslate">
###################################
# Apply Certificate to FAST
###################################
write-host &quot;Applying Certificate to FAST&quot; -ForegroundColor Yellow

Add-PSSnapin AdminSnapIn
Add-PSSnapin Microsoft.FASTSearch.PowerShell
Add-PSSnapin Microsoft.SharePoint.PowerShell

stop-service FAST*

$installerdir = $env:FASTSEARCH + &quot;installer\scripts&quot;

cd $installerdir

$pw = ConvertTo-SecureString -AsPlainText -force pass@word1

.\ReplaceDefaultCertificate.ps1 -generateNewCertificate $true -certificatePassword $pw

$cert = @(dir cert:\LocalMachine\My -recurse | ? { $_.Subject -eq 'CN=FASTSearchCert' })[0]

$thumb = $cert.Thumbprint

Start-service FAST*

.\SecureFASTSearchConnector.ps1 -certThumbprint $thumb -ssaName &quot;FASTContent&quot; -username &quot;contoso\administrator&quot;
</pre>
<h4>Reference</h4>
<ul>
<li><a href="http://techmikael.blogspot.com/2011/04/remember-to-give-your-sharepoint-2010.html" title="Remember to give your SharePoint 2010 Information Worker Virtual Machine a fresh certificate">Remember to give your SharePoint 2010 Information Worker Virtual Machine a fresh certificate</a></li>
</ul>
<p><map name='google_ad_map_1079_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1079?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_1079_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1079&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F07%2F24%2Fsharepoint-2010-information-worker-fast-search-certificate%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/07/24/sharepoint-2010-information-worker-fast-search-certificate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Issues Fixed in SharePoint 2010 SP1</title>
		<link>http://www.mylifeinaminute.com/2011/07/22/issues-fixed-in-sharepoint-2010-sp1/</link>
		<comments>http://www.mylifeinaminute.com/2011/07/22/issues-fixed-in-sharepoint-2010-sp1/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 14:40:06 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[service pack]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1073</guid>
		<description><![CDATA[Microsoft provides a handy spreadsheet that details all of the fixes available in SharePoint Foundation/Server/Project Server 2010 SP1. KB2460058 contains a link to an Excel spreadsheet titled Microsoft SharePoint 2010 and Office servers Service Pack 1 Changes.xlsx. The spreadsheet allows for filtering by the following products: Excel Services FAST Search Server Office Web Apps PerformancePoint [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft provides a handy spreadsheet that details all of the fixes available in SharePoint Foundation/Server/Project Server 2010 SP1. <a href="http://support.microsoft.com/kb/2460058" title="Description of SharePoint Foundation 2010 SP1">KB2460058</a> contains a link to an Excel spreadsheet titled <a href="http://download.microsoft.com/download/B/0/D/B0D1540B-6CF6-4674-9C8E-7A45FD91C163/Microsoft%20SharePoint%202010%20and%20Office%20servers%20Service%20Pack%201%20Changes.xlsx" title="Microsoft SharePoint 2010 and Office servers Service Pack 1 Changes.xlsx" target="_new">Microsoft SharePoint 2010 and Office servers Service Pack 1 Changes.xlsx</a>. The spreadsheet allows for filtering by the following products:</p>
<ul>
<li>Excel Services</li>
<li>FAST Search Server</li>
<li>Office Web Apps</li>
<li>PerformancePoint Services</li>
<li>Project Server</li>
<li>Search Server</li>
<li>SharePoint</li>
</ul>
<p><map name='google_ad_map_1073_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1073?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_1073_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1073&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F07%2F22%2Fissues-fixed-in-sharepoint-2010-sp1%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/07/22/issues-fixed-in-sharepoint-2010-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010: Setting Document Library Versioning with PowerShell</title>
		<link>http://www.mylifeinaminute.com/2011/07/21/sharepoint-2010-setting-document-library-versioning-with-powershell/</link>
		<comments>http://www.mylifeinaminute.com/2011/07/21/sharepoint-2010-setting-document-library-versioning-with-powershell/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 13:59:15 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint Server 2010]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://www.mylifeinaminute.com/?p=1066</guid>
		<description><![CDATA[I recently had an interesting situation come up where a Governance committee (you have one right?) decided to alter their document versioning guidelines. The current policy dictated that all documents had both major/minor versioning. The new policy stated that the organization would be moving to a major versioning only scheme. With thousands of document libraries [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had an interesting situation come up where a Governance committee (<a href="https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-Governance-Why.aspx" title="SharePoint Governance - Why?">you have one right?</a>) decided to alter their document versioning guidelines. The current policy dictated that all documents had both major/minor versioning. The new policy stated that the organization would be moving to a major versioning only scheme. </p>
<p>With thousands of document libraries in an established farm, the prospect of visiting thousands of List Settings pages was not at all appealing. <a href="/tag/powershell/" title="PowerShell">PowerShell</a> to the rescue. </p>
<h4>The Script</h4>
<p>The following script accepts a parent web and enumerates all of its children (optional), altering the libaries that match the criteria &#8220;Not a System/Style/Hidden library&#8221; and &#8220;has minor versioning currently enabled&#8221;. The matching libraries are updated to force document checkouts and accept an unlimited numer of major versions (Governance decision, no listening to reason there).</p>
<pre class="brush: powershell; title: ; notranslate">
function Reset-SPDocumentLibaries {
	param (
		[string] $WebUrl = $(Read-Host -prompt &quot;Enter a Url&quot;),
        [switch] $ProcessChildren
	) 

	$web = Get-SPWeb $WebUrl;

	ProcessWeb $web $ProcessChildren;
}

function ProcessWeb($web, $processChildren) {

	Write-Host &quot;Processing Web&quot;,$web.Title,&quot;(&quot;,$web.Url,&quot;)&quot; -foregroundcolor &quot;Green&quot;;

	$lists = @($web.Lists | Where-Object { ($_.BaseType -eq &quot;DocumentLibrary&quot;) -and ($_.BaseTemplate -eq &quot;DocumentLibrary&quot;) -and ($_.IsSiteAssetsLibrary -eq $false) -and ($_.EnableMinorVersions -eq $true) -and ($_.Hidden -eq $false) -and ($_.Description -notlike &quot;*system*&quot;) -and ($_.Description -notlike &quot;*style*&quot;) })

    if ($lists.Count -gt 0) {
    	foreach ($list in $lists) {
    		if ($list.Title.Length -gt 0) {
    			Write-Host &quot;   Processing List&quot;,$list.Title -foregroundcolor &quot;Green&quot;;

    			$list.EnableVersioning = $true;
    			$list.EnableMinorVersions = $false;
    			$list.MajorVersionLimit = 0;
    			$list.ForceCheckout = $true;

    			$list.Update();
    		}
    		else {
    			Write-Host &quot;   Invalid List Encountered&quot; -foregroundcolor &quot;Red&quot;
    		}
    	}
    } else {
        Write-Host &quot;   No lists matching filter were found&quot; -foregroundcolor &quot;Red&quot;
    }

    if ($processChildren) {
    	foreach ($subWeb in $web.Webs) {
    		ProcessWeb $subWeb $processChildren
    	}
    }
}
</pre>
<p><map name='google_ad_map_1066_0feb153b14d1a0fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1066?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_1066_0feb153b14d1a0fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1066&amp;url= http%3A%2F%2Fwww.mylifeinaminute.com%2F2011%2F07%2F21%2Fsharepoint-2010-setting-document-library-versioning-with-powershell%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeinaminute.com/2011/07/21/sharepoint-2010-setting-document-library-versioning-with-powershell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.mylifeinaminute.com @ 2012-02-05 07:42:30 by W3 Total Cache -->
