<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pathik&#039;s Blog</title>
	<atom:link href="http://pathikhrawal.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pathikhrawal.wordpress.com</link>
	<description>All about SharePoint/SilverLight/WCF/WPF</description>
	<lastBuildDate>Wed, 01 May 2013 13:21:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='pathikhrawal.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Pathik&#039;s Blog</title>
		<link>http://pathikhrawal.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://pathikhrawal.wordpress.com/osd.xml" title="Pathik&#039;s Blog" />
	<atom:link rel='hub' href='http://pathikhrawal.wordpress.com/?pushpress=hub'/>
		<item>
		<title>2012 in review</title>
		<link>http://pathikhrawal.wordpress.com/2013/01/07/2012-in-review-2/</link>
		<comments>http://pathikhrawal.wordpress.com/2013/01/07/2012-in-review-2/#comments</comments>
		<pubDate>Mon, 07 Jan 2013 21:25:18 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
		
		<guid isPermaLink="false">http://pathikhrawal.wordpress.com/?p=405</guid>
		<description><![CDATA[The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog. Here&#8217;s an excerpt: 4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 32,000 views in 2012. If each view were a film, this blog would power 7 Film Festivals Click here to see the complete report.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=405&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.</p>
<p>	<a href="http://pathikhrawal.wordpress.com/2012/annual-report/"><img src="http://www.wordpress.com/wp-content/mu-plugins/annual-reports/img/2012-emailteaser.png" width="100%" alt="" /></a></p>
<p>Here&#8217;s an excerpt:</p>
</p>
<blockquote><p>4,329 films were submitted to the 2012 Cannes Film Festival. This blog had <strong>32,000</strong> views in 2012. If each view were a film, this blog would power 7 Film Festivals</p></blockquote>
<p><a href="http://pathikhrawal.wordpress.com/2012/annual-report/">Click here to see the complete report.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/405/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=405&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2013/01/07/2012-in-review-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>

		<media:content url="http://www.wordpress.com/wp-content/mu-plugins/annual-reports/img/2012-emailteaser.png" medium="image" />
	</item>
		<item>
		<title>My Links Migration from MOSS 2007 to SP 2010- Part 2</title>
		<link>http://pathikhrawal.wordpress.com/2011/12/04/my-links-migration-from-moss-2007-to-sp-2010-part-2/</link>
		<comments>http://pathikhrawal.wordpress.com/2011/12/04/my-links-migration-from-moss-2007-to-sp-2010-part-2/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 21:03:00 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
				<category><![CDATA[MOSS 2007-SP 2010 Migration]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://pathikhrawal.wordpress.com/?p=355</guid>
		<description><![CDATA[Hi There, I discussed about My Links migration in post 1 here https://pathikhrawal.wordpress.com/2011/07/14/my-site-migration-from-moss-2007-to-sp-2010/&#160; . In this post I am going to provide code snippet for migration of My links. The actual migration process involves 2 major activities 1) EXPORT- Export My Links on MOSS 2007’s My Site (C# Code) 2) IMPORT- Import all My Links &#8230; <a href="http://pathikhrawal.wordpress.com/2011/12/04/my-links-migration-from-moss-2007-to-sp-2010-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=355&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Hi There,</p>
<p>I discussed about My Links migration in post 1 here <a href="https://pathikhrawal.wordpress.com/2011/07/14/my-site-migration-from-moss-2007-to-sp-2010/">https://pathikhrawal.wordpress.com/2011/07/14/my-site-migration-from-moss-2007-to-sp-2010/</a>&nbsp; . In this post I am going to provide code snippet for migration of My links.</p>
<p>The actual migration process involves 2 major activities</p>
<p>1) EXPORT- Export My Links on MOSS 2007’s My Site (C# Code)</p>
<p>2) IMPORT- Import all My Links on SharePoint 2010’s My Site (PowerShell)</p>
<p><strong>Export Process:</strong></p>
<p>Details Steps</p>
<p>1) You can create a console application/Windows Applciation or WPF Application in Visual Studio 2008 with .Net Framework 2.0</p>
<p>2) Create an XML with links data. (By running our application on MOSS 2007 which will create an XML file)</p>
<p><strong>XML format:</strong></p>
<blockquote><div>&lt;UserProfiles&gt;<br />&nbsp;&nbsp;&nbsp; &lt;UserProfile userNames=<span style="color:red;">&#8220;user1&#8243;</span> accountName=<span style="color:red;">&#8220;VM-MOSS01\user1&#8243;</span>&gt;<br />&lt;UserLinks&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp; &lt;Link&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;title&gt;hello&lt;/title&gt; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<span style="color:blue;">group</span>&gt;General&lt;/<span style="color:blue;">group</span>&gt; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;groupType&gt;General&lt;/groupType&gt; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;privacy&gt;Public&lt;/privacy&gt; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;url&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;![CDATA[ <a href="http://teamsites.moss.com/">http://teamsites.moss.com/</a>&nbsp; ]]&gt; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/url&gt;<br />&nbsp; &lt;/Link&gt;<br />&lt;/UserLinks&gt;<br />&nbsp; &lt;/UserProfile&gt;<br />&nbsp; &lt;/UserProfiles&gt;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>The actual code is provided below ( this is function you can copy to you console application). The </div>
<div>only one Parameter is URL- You need to provide the Central Admin URL</div>
</blockquote>
<div>&nbsp;</div>
<div>Code to export My links</div>
<div style="border-bottom:black 1px solid;border-left:black 1px solid;width:100%;overflow:scroll;border-top:black 1px solid;border-right:black 1px solid;">
<div style="background-color:#e2ecf6;"><span style="color:blue;">public</span>&nbsp;<span style="color:blue;">static</span>&nbsp;<span style="color:blue;">void</span> ExportUserProfiles(<span style="color:blue;">string</span> url)</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //accessing the profile manager to <span style="color:blue;">get</span> profile properties</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UserProfileManager profileManager = <span style="color:blue;">default</span>(UserProfileManager);</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">using</span> (SPSite site = <span style="color:blue;">new</span> SPSite(url))</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ServerContext serverContext = ServerContext.GetContext(site);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; profileManager = <span style="color:blue;">new</span> UserProfileManager(serverContext);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //declaration of xml file</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlDocument xmlDoc = <span style="color:blue;">null</span>;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlNode userProfilesNode = <span style="color:blue;">null</span>;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //creating <span style="color:blue;">new</span> XMl document</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlDoc = <span style="color:blue;">new</span> XmlDocument();</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlDeclaration xmlDeclaration = xmlDoc.CreateXmlDeclaration(<span style="color:red;">&#8220;1.0&#8243;</span>, <span style="color:red;">&#8220;UTF-8&#8243;</span>, <span style="color:red;">&#8220;yes&#8221;</span>);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlDoc.AppendChild(xmlDeclaration);</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //creation first node of userprofile</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userProfilesNode = xmlDoc.CreateElement(<span style="color:red;">&#8220;UserProfiles&#8221;</span>);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlDoc.AppendChild(userProfilesNode);</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">foreach</span> (UserProfile userProfile <span style="color:blue;">in</span> profileManager)</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">try</span></div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //creating user profile node</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlNode userProfileNode = xmlDoc.CreateElement(<span style="color:red;">&#8220;UserProfile&#8221;</span>);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userProfilesNode.AppendChild(userProfileNode);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlAttribute userProfileAttribute;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // creating username property <span style="color:blue;">for</span> profile node</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userProfileAttribute = xmlDoc.CreateAttribute(<span style="color:red;">&#8220;userNames&#8221;</span>);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userProfileAttribute.Value = userProfile[PropertyConstants.UserName].Value.ToString();</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userProfileNode.Attributes.Append(userProfileAttribute);</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // creating accountName property <span style="color:blue;">for</span> profile node</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userProfileAttribute = xmlDoc.CreateAttribute(<span style="color:red;">&#8220;accountName&#8221;</span>);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userProfileAttribute.Value = userProfile[PropertyConstants.AccountName].Value.ToString();</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userProfileNode.Attributes.Append(userProfileAttribute);</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:gray;">////creating myLink node <span style="color:blue;">in</span> export xml file</span></div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlNode myLinksNode = xmlDoc.CreateElement(<span style="color:red;">&#8220;UserLinks&#8221;</span>);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userProfileNode.AppendChild(myLinksNode);</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QuickLinkManager linkManager = userProfile.QuickLinks;</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">foreach</span> (QuickLink link <span style="color:blue;">in</span> linkManager.GetItems())</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">try</span></div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlNode linkNode = xmlDoc.CreateElement(<span style="color:red;">&#8220;Link&#8221;</span>);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myLinksNode.AppendChild(linkNode);</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlNode linkTitleNode = xmlDoc.CreateElement(<span style="color:red;">&#8220;title&#8221;</span>);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkNode.AppendChild(linkTitleNode);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkTitleNode.InnerXml = link.Title;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlNode linkGroupNode = xmlDoc.CreateElement(<span style="color:red;">&#8220;<span style="color:blue;">group</span>&#8220;</span>);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkNode.AppendChild(linkGroupNode);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkGroupNode.InnerXml = link.Group;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlNode linkGroupTypeNode = xmlDoc.CreateElement(<span style="color:red;">&#8220;groupType&#8221;</span>);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkNode.AppendChild(linkGroupTypeNode);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkGroupTypeNode.InnerXml = link.GroupType.ToString();</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlNode linkPrivacyeNode = xmlDoc.CreateElement(<span style="color:red;">&#8220;privacy&#8221;</span>);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkNode.AppendChild(linkPrivacyeNode);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkPrivacyeNode.InnerXml = link.PrivacyLevel.ToString();</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlNode linkUrlNode = xmlDoc.CreateElement(<span style="color:red;">&#8220;url&#8221;</span>);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkNode.AppendChild(linkUrlNode);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XmlCDataSection linkValCData;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkValCData = xmlDoc.CreateCDataSection(link.Url);</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linkUrlNode.AppendChild(linkValCData);</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">catch</span> (Exception ex)</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlDoc.Save(<span style="color:red;">&#8220;MyLinksExported.XML&#8221;</span>);</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">catch</span> (Exception ex)</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
</div>
<p>&nbsp;</p>
<p><strong>Import</strong></p>
<p>Now for Import I am going to provide you PowerShell script to import all links for all users.</p>
<p><strong>Details Steps:</strong></p>
<p>1) Copy the XML file to a folder</p>
<p>2) Create a New ImportLinks.PS1 in the same folder and copy below code to PS1 file</p>
<div style="border-bottom:black 1px solid;border-left:black 1px solid;width:100%;overflow:scroll;border-top:black 1px solid;border-right:black 1px solid;">
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">$commonconfig = <span style="color:red;">&#8220;links.xml&#8221;</span></div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">$executingScriptDirectory = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent</div>
<div style="background-color:#e2ecf6;">#region scripts body</div>
<div style="background-color:#ffccff;">cls</div>
<div style="background-color:#e2ecf6;">#region snapin inclusion</div>
<div style="background-color:#ffccff;">Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue </div>
<div style="background-color:#e2ecf6;"># <span style="color:blue;">if</span> snapin <span style="color:blue;">is</span> not installed then use <span style="color:blue;">this</span> method</div>
<div style="background-color:#ffccff;">[Void][System.Reflection.Assembly]::LoadWithPartialName(<span style="color:red;">&#8220;Microsoft.SharePoint&#8221;</span>)</div>
<div style="background-color:#e2ecf6;">#endregion</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">[xml]$configurations = Get-Content <span style="color:red;">&#8220;$executingScriptDirectory/$commonconfig&#8221;</span>&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">$site = <span style="color:blue;">new</span>-<span style="color:blue;">object</span> Microsoft.SharePoint.SPSite(“http://w7-pathikr:15767”)</div>
<div style="background-color:#e2ecf6;">$ServiceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($site);</div>
<div style="background-color:#ffccff;">$ProfileManager = <span style="color:blue;">new</span>-<span style="color:blue;">object</span> Microsoft.Office.Server.UserProfiles.UserProfileManager($ServiceContext)</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">#provision managed accounts</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp; <span style="color:blue;">foreach</span>($UserProfile <span style="color:blue;">in</span> $configurations.UserProfiles.UserProfile)</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Write-Host $UserProfile.accountName;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $User = $ProfileManager.GetUserProfile($UserProfile.accountName);</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $quickLinkManager = $User.QuickLinks;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">foreach</span>($Link <span style="color:blue;">in</span> $UserProfile.UserLinks.Link)</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $title=$Link.title;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $<span style="color:blue;">group</span>=$Link.<span style="color:blue;">group</span>;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $groupType=$Link.groupType;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $privacy=$Link.privacy;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $url=$Link.url.InnerText;</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $quickLinkManager.Create($title, $url, $<span style="color:blue;">group</span>, $<span style="color:blue;">null</span>, $privacy)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
</div>
<p>&nbsp;</p>
<p>Now Run the PowerShell script on SharePoint 2010 Management Shell (Run as Administrator)</p>
<p>Thats all ! All Links from MOSS 2007’s My Site to SP 2010’s My Site for all users.</p>
<p>..</p>
<br />Filed under: <a href='http://pathikhrawal.wordpress.com/category/moss-2007-sp-2010-migration/'>MOSS 2007-SP 2010 Migration</a>, <a href='http://pathikhrawal.wordpress.com/category/powershell/'>PowerShell</a>, <a href='http://pathikhrawal.wordpress.com/category/sharepoint-2010/'>SharePoint 2010</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/355/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=355&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2011/12/04/my-links-migration-from-moss-2007-to-sp-2010-part-2/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>
	</item>
		<item>
		<title>Manage Timer Jobs with PowerShell</title>
		<link>http://pathikhrawal.wordpress.com/2011/11/16/manage-time-jobs-with-powershell/</link>
		<comments>http://pathikhrawal.wordpress.com/2011/11/16/manage-time-jobs-with-powershell/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 17:49:48 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[. ACtivityfeedjob]]></category>
		<category><![CDATA[ACtivity feed job]]></category>
		<category><![CDATA[disable time job]]></category>
		<category><![CDATA[enable]]></category>
		<category><![CDATA[get time job]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[set time job]]></category>
		<category><![CDATA[SharePoint PowerShell]]></category>
		<category><![CDATA[time job]]></category>

		<guid isPermaLink="false">https://pathikhrawal.wordpress.com/2011/11/16/manage-time-jobs-with-powershell/</guid>
		<description><![CDATA[In this small post lets see how you can configure Time Jobs using PowerShell. Lets say you want to enable “Activity Feed Job” which is by default “Disabled” on the Server. a) First run below command to Get the job definition like Name, status, GUID Command: get-sptimerjob &#124; sort-object name &#124; where {$_.Name -match &#8220;ActivityFeedJob&#8221;} &#8230; <a href="http://pathikhrawal.wordpress.com/2011/11/16/manage-time-jobs-with-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=349&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In this small post lets see how you can configure Time Jobs using PowerShell. Lets say you want to enable “Activity Feed Job” which is by default “Disabled” on the Server.</p>
<p>a) First run below command to Get the job definition like Name, status, GUID</p>
<p><b><u>Command:</u></b></p>
<p><b><u></u></b>
<p>get-sptimerjob | sort-object name | where {$_.Name -match &#8220;ActivityFeedJob&#8221;}
<p><b><u>Output:</u></b>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/11/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/11/image_thumb.png?w=608&#038;h=183" width="608" height="183"></a>
<p>Note down the Name of the job. Usually it will be &lt;&lt;User Profile Service Name&gt;&gt;_ActivityFeedJob
<p>More details on Get-SPTimeJob visit <a href="http://msdn.microsoft.com/en-us/site/ff607914">http://msdn.microsoft.com/en-us/site/ff607914</a>
<p>b) Run below command to enable Time job
<p><b><u>Command: </u></b>
<p>Enable-SPTimerJob -Identity &lt;&lt;Name of Job captured in step a&gt;&gt;
<p><b><u>Output:</u></b>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/11/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/11/image_thumb1.png?w=608&#038;h=102" width="608" height="102"></a>
<p>More details on Enable-SPTimerJob visit <a href="http://msdn.microsoft.com/en-us/site/ff607892">http://msdn.microsoft.com/en-us/site/ff607892</a>
<p>c) Set timer job- Schedule a time job now after it is enabled
<p><b><u>Command: </u></b><b></b>
<p><b></b>
<p>Set-SPTimerJob &#8220;upa_ActivityFeedJob&#8221; -schedule &#8220;Every 30 minutes between 0 and 59&#8243;
<p><b></b>
<p><b><u>Output:</u></b>
<p><b><u></u></b>
<p><b><u></u></b>
<p><b><u></u></b>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/11/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/11/image_thumb2.png?w=608&#038;h=86" width="608" height="86"></a></p>
<p>More details on Set-SPTimeJob visit&nbsp; <a href="http://msdn.microsoft.com/en-us/site/ff607916">http://msdn.microsoft.com/en-us/site/ff607916</a></p>
<p>that’s it</p>
<br />Filed under: <a href='http://pathikhrawal.wordpress.com/category/sharepoint-2010/'>SharePoint 2010</a> Tagged: <a href='http://pathikhrawal.wordpress.com/tag/activityfeedjob/'>. ACtivityfeedjob</a>, <a href='http://pathikhrawal.wordpress.com/tag/activity-feed-job/'>ACtivity feed job</a>, <a href='http://pathikhrawal.wordpress.com/tag/disable-time-job/'>disable time job</a>, <a href='http://pathikhrawal.wordpress.com/tag/enable/'>enable</a>, <a href='http://pathikhrawal.wordpress.com/tag/get-time-job/'>get time job</a>, <a href='http://pathikhrawal.wordpress.com/tag/powershell/'>PowerShell</a>, <a href='http://pathikhrawal.wordpress.com/tag/set-time-job/'>set time job</a>, <a href='http://pathikhrawal.wordpress.com/tag/sharepoint-powershell/'>SharePoint PowerShell</a>, <a href='http://pathikhrawal.wordpress.com/tag/time-job/'>time job</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/349/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=349&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2011/11/16/manage-time-jobs-with-powershell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/11/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/11/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/11/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010- Document Sets-Introduction</title>
		<link>http://pathikhrawal.wordpress.com/2011/10/22/sharepoint-2010-document-set-introduction-part-1/</link>
		<comments>http://pathikhrawal.wordpress.com/2011/10/22/sharepoint-2010-document-set-introduction-part-1/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 11:36:07 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://pathikhrawal.wordpress.com/2011/10/22/sharepoint-2010-document-set-introduction-part-1/</guid>
		<description><![CDATA[Introduction Document Set is new feature added to SharePoint 2010’s document management capabilities. This a great feature to manage different set of documents within one document library. Document Set is very similar to folder within a document library but it comes with a lot of great useful features. Document Set enables users to group multiple &#8230; <a href="http://pathikhrawal.wordpress.com/2011/10/22/sharepoint-2010-document-set-introduction-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=337&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong><font size="4">Introduction</font></strong></p>
<p>Document Set is new feature added to SharePoint 2010’s document management capabilities. This a great feature to manage different set of documents within one document library. Document Set is very similar to folder within a document library but it comes with a lot of great useful features.</p>
<p><em>Document Set</em> enables users to group multiple documents, that support a single project or task, together into a single entity. All documents in a <em>Document Set</em> share the metadata and the entire set can also be versioned.</p>
<p><strong>Example of Document Sets</strong></p>
<p>1) If you want to have a document library named Training. Training Document Library may content below set of documents</p>
<ul>
<li>Course Content
<li>Presentation
<li>Books for Reference
<li>Hands on Lab</li>
</ul>
<p>For this you Could easily create a new Document library and then enable Document Sets for the document library. Then you can create 4 document sets as shown in below picture</p>
<p><font size="4">Steps to create Document Library and Document Set</font></p>
<ul>
<li><strong>Enable Document Set Feature (Site Collection Feature)</strong>
<ul>
<li>Navigate to Site Collection Feature &amp; Enable “Document Sets” Feature as shown in below picture</li>
</ul>
</li>
</ul>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/10/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/10/image_thumb.png?w=621&#038;h=40" width="621" height="40"></a></p>
<ul>
<li><strong>Create a New Document Library First</strong>
<ul>
<li>Click on Site Action ==&gt; More Option ==&gt; “Document Library” from available templates</li>
</ul>
</li>
</ul>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://pathikhrawal.files.wordpress.com/2011/10/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/10/image_thumb1.png?w=244&#038;h=197" width="244" height="197"></a></p>
<ul>
<ul>
<li>Enter name as “Trainings”
<li>After the Document library is created, navigate to Library (Ribbon Tab) ==&gt;Library Setting ==&gt; Advanced Settings ==&gt;&nbsp; Content Type and select Allow Management of Content type (see below screen shot)
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
</li>
</ul>
</ul>
<p>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://pathikhrawal.files.wordpress.com/2011/10/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/10/image_thumb2.png?w=1253&#038;h=94" width="1253" height="94"></a></p>
<ul>
<ul>
<li>Now Navigate to
<li>Trainings ==&gt; Document Library Settings ==&gt;<br />
<h5>Content Types ==&gt; Add from existing site content types ==&gt; Select “Document Set” Content Type from Available Site Content Types ==&gt; Click Add ==&gt; Click OK</h5>
<p>(This will associate your document library to OOB <strong>Document Sets</strong> Content Type</p>
</li>
</ul>
</ul>
<p>&nbsp;</p>
<ul>
<li><strong>Create Document Sets within Trainings Document Library</strong>
<ul>
<li>With in Document Library ==&gt; Select Document Ribbon Tab ==&gt; Click on arrow of New Document Button ==&gt; Select Document Set</li>
</ul>
</li>
</ul>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://pathikhrawal.files.wordpress.com/2011/10/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/10/image_thumb3.png?w=244&#038;h=174" width="244" height="174"></a></p>
<ul>
<ul>
<li>Enter Name as “Course Content” and enter some description </li>
</ul>
</ul>
<blockquote><p><a href="http://pathikhrawal.files.wordpress.com/2011/10/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/10/image_thumb4.png?w=526&#038;h=522" width="526" height="522"></a></p>
</blockquote>
<ul>
<ul>
<li>Follow above steps to create below Document sets
<ul>
<ul>
<li>Presentation
<li>Books for Reference
<li>Hands on Lab</li>
</ul>
</ul>
</li>
</ul>
</ul>
<p>Training Document Library will look like as shown in below screen shot</p>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/10/image5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/10/image_thumb5.png?w=904&#038;h=289" width="904" height="289"></a></p>
<p>&amp; each Document set view is as shown in below screen shots (Welcome Page). This page can be used to upload documents to the document set, create/define properties, assign workflow, define view.</p>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/10/image6.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/10/image_thumb6.png?w=1444&#038;h=904" width="1444" height="904"></a></p>
<p>Below is the ribbon control for document set. </p>
<p><img src="http://sp365.co.uk/wp-content/uploads/2011/07/ManageDocumentSet.png"></p>
<p><strong>Some considerations:</strong></p>
<ul>
<li>Folders are not allowed in a Document set
<li>You can not use Metadata Navigation in a document set
<li>No limit on number of documents in a document set however the display load is limited by list view threshold (which is 5,000 items)
<ul>
<ul>
<ul><!--EndFragment--></ul>
</ul>
</ul>
</li>
</ul>
<p>
<p><font size="4"><strong></strong></font></p>
<p>In this post I explained about what is Document Sets and how to create/associate. I am going to explain about customization of Document Sets Content type, Programmatically create “Document Sets” </p>
<br />Filed under: <a href='http://pathikhrawal.wordpress.com/category/sharepoint-2010/'>SharePoint 2010</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/337/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=337&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2011/10/22/sharepoint-2010-document-set-introduction-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>

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

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

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

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

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

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

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

		<media:content url="http://sp365.co.uk/wp-content/uploads/2011/07/ManageDocumentSet.png" medium="image" />
	</item>
		<item>
		<title>PowerShell Script to enable Visual Upgrade for all webs under a site collection</title>
		<link>http://pathikhrawal.wordpress.com/2011/10/15/powershell-script-to-enable-visual-upgrade-to-all-webs-under-a-site-collection/</link>
		<comments>http://pathikhrawal.wordpress.com/2011/10/15/powershell-script-to-enable-visual-upgrade-to-all-webs-under-a-site-collection/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 13:02:00 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://pathikhrawal.wordpress.com/2011/10/15/powershell-script-to-enable-visual-upgrade-to-all-webs-under-a-site-collection/</guid>
		<description><![CDATA[When you upgrade from Microsoft Office SharePoint Server 2007 to Microsoft SharePoint Server 2010, you can choose to use the Visual Upgrade feature to give site collection owners and site owners the opportunity to preserve the previous user interface temporarily When you upgrade, either by using in-place upgrade or by using the database attach upgrade &#8230; <a href="http://pathikhrawal.wordpress.com/2011/10/15/powershell-script-to-enable-visual-upgrade-to-all-webs-under-a-site-collection/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=320&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>When you upgrade from Microsoft Office SharePoint Server 2007 to Microsoft SharePoint Server 2010, you can choose to use the Visual Upgrade feature to give site collection owners and site owners the opportunity to preserve the previous user interface temporarily</p>
<p>When you upgrade, either by using in-place upgrade or by using the database attach upgrade method, you can choose to use Visual Upgrade.</p>
<p>How to use this script</p>
<p>1) Copy below code to .PS1 file</p>
<p>2) Run the .PS1 using SharePoint 2010 Management Shell</p>
<p>3) Parameters to .PS1</p>
<p>ex: visualupgrade.ps1 1 “http://w7-pathikhr”</p>
<p>Param 1: 0 or 1 </p>
<p>Param 2: URL of the Site Collection</p>
<div style="border-bottom:black 1px solid;border-left:black 1px solid;width:100%;overflow:scroll;border-top:black 1px solid;border-right:black 1px solid;">
<div style="background-color:#e2ecf6;">param([<span style="color:blue;">int</span>] $RestrictVisualUpgrade = 0,$siteurl)</div>
<div style="background-color:#ffccff;">[System.Reflection.Assembly]::Load(<span style="color:red;">&#8220;Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221;</span>) | <span style="color:blue;">out</span>-<span style="color:blue;">null</span></div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">$oContentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService;</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">[Microsoft.SharePoint.Administration.SPWebApplicationCollection]$waColl = $oContentService.WebApplications;</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">$waCollNonAdmin = $waColl | <span style="color:blue;">where</span>-<span style="color:blue;">object</span> {$_.IsAdministrationWebApplication -eq $FALSE}</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">write-host $siteurl</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">$siteColl = Get-SPSite $siteurl</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $siteColl.UIVersionConfigurationEnabled = $RestrictVisualUpgrade</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">foreach</span>($web <span style="color:blue;">in</span> $siteColl.AllWebs)</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</div>
<div style="background-color:#ffccff;">$web.UIVersionConfigurationEnabled = $RestrictVisualUpgrade</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $web.Update()</div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</div>
<div style="background-color:#e2ecf6;">&nbsp;&nbsp;&nbsp; </div>
<div style="background-color:#ffccff;">&nbsp;&nbsp;&nbsp; </div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
<div style="background-color:#ffccff;">&nbsp;</div>
<div style="background-color:#e2ecf6;">&nbsp;</div>
</div>
<p>&nbsp;</p>
<p>To learn more about Visual upgrade visit <a href="http://technet.microsoft.com/en-us/library/ff607998.aspx">http://technet.microsoft.com/en-us/library/ff607998.aspx</a></p>
<p>Thanks</p>
<br />Filed under: <a href='http://pathikhrawal.wordpress.com/category/sharepoint-2010/'>SharePoint 2010</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/320/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=320&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2011/10/15/powershell-script-to-enable-visual-upgrade-to-all-webs-under-a-site-collection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010-Backup and Recovery Guidelines</title>
		<link>http://pathikhrawal.wordpress.com/2011/10/06/sharepoint-2010-backup-and-recovery-guidelines/</link>
		<comments>http://pathikhrawal.wordpress.com/2011/10/06/sharepoint-2010-backup-and-recovery-guidelines/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 10:45:48 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://pathikhrawal.wordpress.com/2011/10/06/sharepoint-2010-backup-and-recovery-guidelines/</guid>
		<description><![CDATA[&#160; Introduction This blog post describes best practices that you can use to help ensure that backup and recovery operations in Microsoft SharePoint Server 2010 are successful and that the environment is protected against data loss or continuity gaps. The article includes best practices for performance, quality assurance, security, and operational excellence Backup strategy There &#8230; <a href="http://pathikhrawal.wordpress.com/2011/10/06/sharepoint-2010-backup-and-recovery-guidelines/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=316&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong><font size="6"></font></strong>&nbsp;</p>
<p><font size="6">Introduction</font></p>
<p><a name="_Toc208895618"><font color="#666666">This blog post describes best practices that you can use to help ensure that backup and recovery operations in Microsoft SharePoint Server 2010 are successful and that the environment is protected against data loss or continuity gaps. The article includes best practices for performance, quality assurance, security, and operational excellence</font></a>
<p><a name="_Toc293049234"><font color="#333333" size="6">Backup strategy</font></a></p>
<p><strong>There are two different approaches for backup and restore</strong></p>
<ul>
<li><b>Content/Config Database Backup using SQL Server</b>
<li><b>Backup using SharePoint Server</b></li>
</ul>
<p><strong>Lets look at each approach in details</strong></p>
<p><font size="4">1) <strong>Content/Config Database Backup using SQL Server</strong></font></p>
<p><font size="5">&nbsp;</font>Approach one is to use SQL Server backup to back content DBs and Configuration DBs with a complete script for deployment of Web application, Site Collection, Service Provisioning.<b> </b></p>
<p><strong>Backup Method</strong>
<p>a. Create Deployment script of entire Farm. This will include below components of SharePoint<br />
<blockquote>
<p>i. Web Application Creation</p>
</blockquote>
<blockquote><p>ii. Site Collection Creation</p>
</blockquote>
<blockquote><p>iii. Service Application Creation and Provisioning</p>
</blockquote>
<blockquote><p>iv. Association of Service Application with Web Application</p>
</blockquote>
<blockquote><p>v. Deployment of Custom Code (WSP)</p>
</blockquote>
<p>b. Use SQL Server Backup for backing up all Content Database &amp; Configuration Database
<p>c. Backup the entire 12 hive (c:\program files\common files\microsoft shared\web server extensions\12). This is because, frequently you will deploy code to your SharePoint farm, and you will need to restore the supporting physical files for the site to work properly.
<p>d. You need to keep monitoring the size of your content databases. If you start hitting the 50GB mark, think of splitting them up, so the backups are done overnight before users start hitting the database in the morning.
<p>e. Backup the entire INETPUB directory.
<p><strong>Restore Method</strong>
<p>In case of disaster we need to follow below steps to recover/restore content for approach 1<br />
<blockquote>
<p>a. Create Web Application and Site collection using the deployment script</p>
</blockquote>
<blockquote><p>b. Attach/de-attach Content database for new created Site collection</p>
</blockquote>
<p><b>Protecting customizations</b>
<p>Customizations to SharePoint sites can include the following:<br />
<blockquote>
<p>a. Master pages, page layouts and cascading style sheets. These objects are stored in the content database for a Web application.</p>
</blockquote>
<blockquote><p>b. Web Parts, site or list definitions, custom columns, new content types, custom fields, custom actions, coded workflows, or workflow activities and conditions.</p>
</blockquote>
<blockquote><p>c. Third-party solutions and their associated binary files and registry keys, such as IFilters.</p>
</blockquote>
<blockquote><p>d. Changes to standard XML files.</p>
</blockquote>
<blockquote><p>e. Custom site definitions (Webtemp.xml).</p>
</blockquote>
<blockquote><p>f. Changes to the Web.config file.</p>
</blockquote>
<p>How customizations are deployed, and how changes are made to the Web.config file, have a significant effect on which tools can be used to back up and recover customizations. To provide the greatest opportunity for recovery, we recommend that you deploy customizations by using solution packages and configure the Web.config file by using Central Administration or the SharePoint APIs and object model.
<p><b>Advantages:</b><br />
<blockquote>
<p>1) it is easy to maintain and backup/restore over many SharePoint farms.</p>
</blockquote>
<blockquote><p>2) It needs little administrative work when moving site collection from one farm to another or one web application to another web application</p>
</blockquote>
<blockquote><p>3) Takes less time to backup and restore.</p>
</blockquote>
<blockquote><p>4) Unattached Content Database Recovery allows you to browse through the content database using SharePoint, navigate to a list or document library and save the list or library into .cmp file which can easily be moved between sites</p>
</blockquote>
<p><b>Disadvantage </b><br />
<blockquote>
<p>1) When restoring, web application or Site collection has be created using Central admin or PowerShell before restore</p>
</blockquote>
<blockquote><p>2) SQL Server does not provide SharePoint Farm backup</p>
</blockquote>
<p>&nbsp;
<p><b><font size="4">2) Backup using SharePoint Server: </font></b>
<p>Approach two is to use SharePoint Server backup to backup Farm, Web application, content DBs and Configuration DBs<b> </b><b></b>
<p><b>Backup Method</b>
<p>a. Create backup script of entire Farm. This will include below components of SharePoint<br />
<blockquote>
<p>i. Web Application backup</p>
</blockquote>
<blockquote><p>ii. Site Collection backup</p>
</blockquote>
<blockquote><p>iii. Service Application backup</p>
</blockquote>
<p><strong>Restore Method</strong>
<p>In case of disaster we need to follow below steps to recover/restore content for approach 1<br />
<blockquote>
<p>a. Restore entire farm or restore individual Web application or site collection separately</p>
</blockquote>
<p><b>Advantages:</b><br />
<blockquote>
<p>a. Web interface for backup and restore within Central Admin Site</p>
</blockquote>
<blockquote><p>b. SharePoint backup provides granular level backup for Site Collection and Web</p>
</blockquote>
<blockquote><p>c. SharePoint backup provides Entire Farm Level backup</p>
</blockquote>
<p><b>Disadvantage </b><br />
<blockquote>
<p>a. High restore time</p>
</blockquote>
<blockquote><p>b. No back up directly to tape</p>
</blockquote>
<blockquote><p>c. no custom solution files backup</p>
</blockquote>
<h3><a name="_Toc293049235">Performance best practices</a></h3>
<p>Backup and restore operations can consume server resources and limit server performance while the operations are running. By following these best practices, you can reduce resource usage and increase the performance of servers and the backup or restore operation<br />
<h6><font size="3">Minimize latency between SQL Server and the backup location</font></h6>
<blockquote><p>1. In general, it is best to use a local disk on the database server, not a network drive, for backups, and then copy the data later to a shared folder on the network. Network drives with 1 millisecond or less latency between them and the database server will perform well.</p>
</blockquote>
<blockquote><p>2. To avoid I/O bottlenecks, perform the main backup to a separate disk from the disk running Microsoft SQL Server 2008 with Service Pack 1 (SP1) and Cumulative Update 2.</p>
</blockquote>
<blockquote><p>3. By design, most backup jobs consume all available I/O resources to complete the job. Therefore, you might see disk queuing, which can result in greater than usual I/O request latency. This is typical and should not be considered a problem.</p>
</blockquote>
<h6><font size="4">Avoid processing conflicts</font></h6>
<blockquote><p>1. Do not run backup jobs during times when users require access to the system. Consider staggering backups so that not all databases are backed up at the same time.</p>
</blockquote>
<h6><font size="4">Keep databases small for faster recovery times</font></h6>
<blockquote><p>1. Keep databases small to speed both backup and recovery. You can do this by using multiple content databases for a Web application instead of one large content database.</p>
</blockquote>
<h6><font size="4">Use incremental backups for large databases</font></h6>
<blockquote><p>1. Use incremental backups for large database such as those available with DPM 2010. Incremental backups can be restored faster and more efficiently than full backups for larger databases</p>
</blockquote>
<h6><font size="4">Use compression during backup</font></h6>
<blockquote><p>1. In some circumstances, you can use compression to improve backup size (30% decrease) and times (25% decrease). Backup compression has been in introduced in SQL Server 2008 Enterprise</p>
</blockquote>
<h6><font size="4">Follow SQL Server backup and restore optimization recommendations</font></h6>
<blockquote><p>1. If you are using SQL Server backups, use a combination of full, differential, and transaction log backups (for the full or bulk-logged recovery model) to minimize recovery time. Differential database backups are usually faster to create than full database backups and reduce the amount of transaction log required to recover the database</p>
</blockquote>
<h6><font size="4">Configure SharePoint settings for better backup or restore performance</font></h6>
<blockquote><p>1. You can configure settings in both Central Administration and Windows PowerShell to increase backup or restore efficiency and performance</p>
</blockquote>
<blockquote><p>2. If you are using the <b>Export-SPWeb</b> Windows PowerShell cmdlet, you can use the <b>NoFileCompression</b> parameter. By default, SharePoint Server 2010 uses file compression while exporting Web applications, site collection, lists, or document libraries. You can use this parameter to suppress file compression while exporting and importing. File compression can use up to 30% more resources, but the exported file will use approximately 25% less disk space. If you use the <b>NoFileCompression</b> parameter when exporting, you must also use it when you import the same content.</p>
</blockquote>
<blockquote><p>3. You can also use the <b>NoLogFile</b> parameter. By default, SharePoint Server 2010 always creates a log file when you export content. You can use this parameter to suppress log file creation to save resources. However, we recommend that you always create logs. This is because logs can be used in troubleshooting. Moreover, log creation does not use many resources</p>
</blockquote>
<blockquote><p>4. If you are using the <strong>Backup-SPFarm</strong> cmdlet, you can use the <strong>BackupThreads</strong> parameter to specify how many threads SharePoint Server 2010 will use during the backup process. The more threads you specify, the more resources that backup operation will take, but the faster that it will finish, if sufficient resources are available. However, each thread is reported individually in the log files, so using fewer threads makes interpreting the log files easier. By default, three threads are used. The maximum number of threads available is 10</p>
</blockquote>
<h6><font size="4">Consider site collection size when determining the tools to use</font></h6>
<blockquote><p>1. If the business requires site collection backups in addition to farm-level or database-level backups, select the tools that you will use based on the site collection size</p>
</blockquote>
<blockquote><p>a. <strong>Less than 15 gigabytes (GB)</strong>: Use the Windows PowerShell command <strong>Backup-SPSite</strong>.</p>
</blockquote>
<blockquote><p>b. <strong>15-100 GB</strong>: Use a SharePoint Products and Technologies tool, a SQL Server tool, or other database backup tool to protect the content database that contains the site collection.</p>
</blockquote>
<blockquote><p>c. <strong>Larger than 100 GB</strong>: Use a differential backup solution, such as Microsoft SQL Server 2005 or DPM 2010, instead of the built-in backup and recovery tools</p>
</blockquote>
<h3><a name="_Toc293049236">Quality assurance best practices</a></h3>
<p>You can follow these best practices to help ensure the quality of the backups of the farm environment and reduce the chances of data loss<br />
<h6><font size="4">Ensure you have adequate storage space</font></h6>
<p>Be certain that the system has adequate disk space to accommodate the backup<br />
<h6><font size="4">Routinely test backup quality</font></h6>
<p>Routinely test backups and validate their consistency. Run practice recovery operations to validate the contents of the backup and to ensure that you can restore the entire environment. For geographically dispersed environments, prepare for disaster recovery by setting up a remote farm. Then you can restore the environment by using the database attach command to upload a copy of the database to the remote farm and redirect users. Periodically perform a trial data recovery operation to verify that the files are correctly backed up. A trial restoration can expose hardware problems that do not show up with software verifications.<br />
<h6><font size="4">Back up ULS trace logs</font></h6>
<p>The SharePoint Server 2010 tools do not back up the ULS trace logs. Data in ULS trace logs can be useful for performance analysis, troubleshooting, monitoring compliance with service-level agreements, and legal, regulatory, or business reasons. Therefore, protect this data as part of the routine maintenance. For more information about backing up the ULS logs<br />
<h6><font size="4">Store a copy of backup files off-site</font></h6>
<p>To safeguard against loss from a catastrophic event, such as a fire or earthquake, maintain duplicate copies of backups in a separate location from the servers. Doing so can help protect you against the loss of critical data. As a best practice, keep three copies of the backup media, and keep at least one copy offsite in a controlled environment. This should include all backup and recovery materials, documents, database and transaction log backups, and usage and trace log backups<br />
<h3><a name="_Toc293049237">Procedural best practices</a></h3>
<p>You can use these procedural best practices to help plan and perform backup and restore operations with better documentation, more ease, and greater assurance.<br />
<h6><font size="4">Use FQDN server names</font></h6>
<p>When referring to servers in a different domain, always use fully qualified domain names (FQDN).<br />
<h6><font size="4">Keep accurate records</font></h6>
<p>When you deploy SharePoint Server 2010, record the accounts that you create, and the computer names, passwords, and setup options that you choose. Keep this information in a safe place.<br />
<h6><font size="4">Have a recovery environment ready</font></h6>
<p>Prepare for restore testing and disaster recovery by setting up a remote farm. Then you can restore the environment by using the database attach command to upload a copy of the database to the remote farm and redirect users. Similarly, you can set up a standby environment running the same version of software as the production environment so that you can restore the databases and recover documents quickly.<br />
<h6><font size="4">Schedule backup operations</font></h6>
<p>If you want to schedule backups, you can use the Windows Task Scheduler to run them by using a Windows PowerShell script file (*.ps1).<br />
<h6><font size="4">Use the SQL FILESTREAM provider with BLOB storage</font></h6>
<p>If you are using BLOB storage using the SQL FILESTREAM provider and you back up the content database with that Remote BLOB Store (RBS) defined, both the RBS and the content database will be backed up and restored when you use SharePoint tools or SQL Server tools. We do not recommend that you use RBS with other restore methods.</p>
<p><strong>Source:</strong> MSDN</p>
<br />Filed under: <a href='http://pathikhrawal.wordpress.com/category/sharepoint-2010/'>SharePoint 2010</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/316/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=316&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2011/10/06/sharepoint-2010-backup-and-recovery-guidelines/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010- Social Feedback</title>
		<link>http://pathikhrawal.wordpress.com/2011/09/21/sharepoint-2010-social-feedback/</link>
		<comments>http://pathikhrawal.wordpress.com/2011/09/21/sharepoint-2010-social-feedback/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 10:22:19 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://pathikhrawal.wordpress.com/2011/09/21/sharepoint-2010-social-feedback/</guid>
		<description><![CDATA[With SP 2010 you get a great feature called social feedback in form of Tags, Notes &#38; Rating. While talking to my clients, colleagues and friends about SP 2010, I observed that mostly they are unaware of “Social Feedback” feature of SP 2010 and its capabilities &#38; strong collaboration feature. I have also observed on &#8230; <a href="http://pathikhrawal.wordpress.com/2011/09/21/sharepoint-2010-social-feedback/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=296&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>With SP 2010 you get a great feature called social feedback in form of Tags, Notes &amp; Rating. While talking to my clients, colleagues and friends about SP 2010, I observed that mostly they are unaware of “Social Feedback” feature of SP 2010 and its capabilities &amp; strong collaboration feature. I have also observed on a large SP 2010 with around 100K My Site, Tags, Notes and rating hardly utilized by My Site Users. With this post, I would like to provide more insight on how to use tags, notes and rating. </p>
<p><strong>Note:This blog post is mainly targeted for end user.</strong></p>
<p><strong><font size="5">Background</font></strong></p>
<ul>
<li>Mostly users are familiar My links which used to be the top link in MOSS 2007
<li>However the “My Links” drop down is not available on SP 2010 by default
<li>The functionality exists, but hidden.
<li>There is a /_layouts/MyQuickLinks.aspx page on SP 2010 as well.
<li><strong>SP 2010 recommends using Tags, Notes &amp; Rating over My Links because of its rich capabilities.</strong></li>
</ul>
<p><strong><font size="5">Why Tags and Notes?</font></strong></p>
<ul>
<li>Social tagging helps users categorize information in ways that are meaningful to them.
<li>The social tagging features of SharePoint Server 2010 help businesses to improve collaboration
<li>Improve the discoverability of business information
<li>Improve collaboration to encourage innovation
<li>Social tagging features help users to share information and to retrieve relevant, high-quality content more efficiently.
<li>Tags make it easy to find and share information about a specific subject or task
<li>Social tagging can improve the quality of search results by filtering against specific tags
<li>It can also connect individuals who want to share information with other users who have like interests.</li>
</ul>
<p><strong><font size="5">What is a Tag</font></strong></p>
<ul>
<li>A tag is a word or phrase that identifies an individual piece of information according to a set of attributes or criteria
<li>Tags make it easy to find and share information about a specific subject or task.
<li>Social tags, which enable users to save items of interest, organize all information for a project, and connect to others who share their interests.
<li>User can now &#8220;tag&#8221; any source on the internet(or intranet) which has a URL
<li>This is stored in User’s &#8220;tags&#8221; section on his/her My Site</li>
</ul>
<p><strong><font size="5">What is Notes</font></strong></p>
<p>Other users can also post &#8220;notes&#8221; relating to your tag, which effectively creates a discussion board around the &#8220;tagging&#8221; activity
<p><strong>Ratings </strong>
<ul>
<li>Ratings are a feature that can be enabled at a library or list level, allowing users to give documents or items a specific rating
<li>The ratings are then compiled at regular intervals, and the average rating is displayed to users
<li>This can be of immense value for capturing feedback, and it can be applied to many, or even all, types of content
<li>A rating in SharePoint Server 2010 is an assessment or classification of content on a scale according to how well the content meets specific criteria</li>
</ul>
<p><strong><font size="5">How Tags and Notes work</font></strong></p>
<p>Lets us see How “Pathik Rawal” uses tags and notes to keep track of content he is interested in</p>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/09/picture1.png"><img style="padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Picture1" border="0" alt="Picture1" src="http://pathikhrawal.files.wordpress.com/2011/09/picture1_thumb.png?w=1028&#038;h=737" width="1028" height="737"></a></p>
<p><strong><font size="5">How to Create Tags – “I like it” Tag</font></strong></p>
<ul>
<li>As Pathik visits any page on SharePoint on any site he sees two icons, I like it and Tags&amp; Notes
<li>For Example Pathik likes the “firstdoc” and wants to tag it for later review, simply select the doc and click “I Like it”
<li>When a user clicks on I like it, it is saved as bookmark</li>
</ul>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/09/picture3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Picture3" border="0" alt="Picture3" src="http://pathikhrawal.files.wordpress.com/2011/09/picture3_thumb.png?w=1028&#038;h=339" width="1028" height="339"></a></p>
<p><strong><font size="5">How to Create Tags – “your own” Tag</font></strong></p>
<ul>
<li>If Pathik is tagging lot of content, he may classify with his own keyword to find it easily
<li>When user clicks on Tags and Notes, small snippets and description can be added to the page which can be set as&nbsp; private or public by the user.</li>
</ul>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/09/picture4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Picture4" border="0" alt="Picture4" src="http://pathikhrawal.files.wordpress.com/2011/09/picture4_thumb.png?w=1028&#038;h=416" width="1028" height="416"></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><font size="5"><strong>Manage &amp; View Tags (How to access tags, notes and bookmarks&nbsp; again)</strong></font></p>
<ul>
<li>If a user wants to see all of their bookmarks\tags, the feature that is provided for this is the Activities web part that is on the Tags and Notes view of the user’s My Profile page of their My Site
<li>User clicks on Tags and Notes and user can see all Tags he/she has created (My Profile Page à Tags and Notes Tab)
<li>Sort: User can sort tags “Alphabetically or size”
<li>Refine by type like Tags, Notes, Private &amp; Public</li>
</ul>
<p><strong><a href="http://pathikhrawal.files.wordpress.com/2011/09/picture5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Picture5" border="0" alt="Picture5" src="http://pathikhrawal.files.wordpress.com/2011/09/picture5_thumb.png?w=1028&#038;h=583" width="1028" height="583"></a></strong></p>
<p>&nbsp;</p>
<p><font size="5"><strong>Tag Profile Page</strong></font></p>
<p><font size="5"></font>&nbsp;</p>
<ul>
<li>“The Tag Profile page is designed to show a list of all of the content where the tag has been used and the number of users who have used the tag on each content item”
<li>This is really the functionality of social bookmarking and tagging that makes it “social”
<li>In SharePoint 2010, every tag that is created has its own Tag Profile page</li>
</ul>
<p>&nbsp;</p>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/09/picture51.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Picture5" border="0" alt="Picture5" src="http://pathikhrawal.files.wordpress.com/2011/09/picture5_thumb1.png?w=1028&#038;h=614" width="1028" height="614"></a></p>
<p>&nbsp;</p>
<p><font size="5"><strong>Note Board</strong></font></p>
<ul>
<li>The Tag Profile Page also provides a section to write a “Note” about the tag using Note Board
<li>It lists all Note Board for the given tag</li>
</ul>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/09/picture7.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Picture7" border="0" alt="Picture7" src="http://pathikhrawal.files.wordpress.com/2011/09/picture7_thumb.png?w=1028&#038;h=451" width="1028" height="451"></a></p>
<p>&nbsp;</p>
<p><font size="5"><strong>Tag Cloud</strong></font></p>
<ul>
<li>SharePoint Server 2010 includes a tag cloud Web Part that appears by default on a My Site.
<li>Administrators and users can filter the tag cloud to display tags that are used by the owner of the My Site, specific groups, or everyone who can view the My Site
<li>The display can also be filtered based on date and language
<li>Frequently used tags are displayed in large, bold text, whereas tags that are less often used appear in smaller text.
<li>Each tag can display an associated number that indicates how many times the tag was applied.</li>
</ul>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/09/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/09/image_thumb.png?w=1028&#038;h=352" width="1028" height="352"></a></p>
<p>&nbsp;</p>
<p>Thanks!!</p>
<br />Filed under: <a href='http://pathikhrawal.wordpress.com/category/sharepoint-2010/'>SharePoint 2010</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/296/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=296&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2011/09/21/sharepoint-2010-social-feedback/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/09/picture1_thumb.png" medium="image">
			<media:title type="html">Picture1</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/09/picture3_thumb.png" medium="image">
			<media:title type="html">Picture3</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/09/picture4_thumb.png" medium="image">
			<media:title type="html">Picture4</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/09/picture5_thumb.png" medium="image">
			<media:title type="html">Picture5</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/09/picture5_thumb1.png" medium="image">
			<media:title type="html">Picture5</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/09/picture7_thumb.png" medium="image">
			<media:title type="html">Picture7</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/09/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>My Links Migration from MOSS 2007 to SP 2010 &#8211; Part 1</title>
		<link>http://pathikhrawal.wordpress.com/2011/07/14/my-site-migration-from-moss-2007-to-sp-2010/</link>
		<comments>http://pathikhrawal.wordpress.com/2011/07/14/my-site-migration-from-moss-2007-to-sp-2010/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 11:57:22 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
				<category><![CDATA[MOSS 2007-SP 2010 Migration]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://pathikhrawal.wordpress.com/2011/07/14/my-site-migration-from-moss-2007-to-sp-2010/</guid>
		<description><![CDATA[Note: Part 2 of this post is here https://pathikhrawal.wordpress.com/2011/12/04/my-links-migration-from-moss-2007-to-sp-2010-part-2/ &#160; While working on design of My Site for SharePoint 2010 and migration approach, I found that many users have lots of links under My Link section which should be migrated to SP 2010 as My links on their My Site. Some back ground about My &#8230; <a href="http://pathikhrawal.wordpress.com/2011/07/14/my-site-migration-from-moss-2007-to-sp-2010/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=260&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>Note:</strong> Part 2 of this post is here <a href="https://pathikhrawal.wordpress.com/2011/12/04/my-links-migration-from-moss-2007-to-sp-2010-part-2/">https://pathikhrawal.wordpress.com/2011/12/04/my-links-migration-from-moss-2007-to-sp-2010-part-2/</a></p>
<p>&nbsp;</p>
<p>While working on design of My Site for SharePoint 2010 and migration approach, I found that many users have lots of links under My Link section which should be migrated to SP 2010 as My links on their My Site. </p>
<p><strong>Some back ground about My Links</strong></p>
<p>My links used to be the top link in MOSS 2007 as shown below</p>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/07/mylinks1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="MyLinks" border="0" alt="MyLinks" src="http://pathikhrawal.files.wordpress.com/2011/07/mylinks_thumb1.png?w=719&#038;h=103" width="719" height="103"></a></p>
<p>This links “My Links” is not available on SP 2010 my Site by default unlike MOSS 2007, however functionality exists as is. There is a /_layouts/MyQuickLinks.aspx page on SP 2010 as well as shown below.</p>
<p><a href="http://pathikhrawal.files.wordpress.com/2011/07/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://pathikhrawal.files.wordpress.com/2011/07/image_thumb.png?w=621&#038;h=96" width="621" height="96"></a></p>
<p><strong>Where are links stored</strong></p>
<p>In MOSS 2007, links are stored in USERLINKS table which is part of SSP Database.</p>
<p>In SP 2010, links are stored in USERLINKS table which is part of Profile DB database.</p>
<p>Now you can easily create links on Top bar or on My Profile Page with an additional tab. Which ever you like it. But the challenge is how will you migrate data from MOSS 2007 to SP 2010.</p>
<p>I will write about best approach for migration of My links from MOSS 2007 to SharePoint 2010 in next article</p>
<p>Please visit part 2 of this post for code snippet. </p>
<p><a href="https://pathikhrawal.wordpress.com/2011/12/04/my-links-migration-from-moss-2007-to-sp-2010-part-2/">https://pathikhrawal.wordpress.com/2011/12/04/my-links-migration-from-moss-2007-to-sp-2010-part-2/</a></p>
<p>Thanks</p>
<br />Filed under: <a href='http://pathikhrawal.wordpress.com/category/moss-2007-sp-2010-migration/'>MOSS 2007-SP 2010 Migration</a>, <a href='http://pathikhrawal.wordpress.com/category/sharepoint-2010/'>SharePoint 2010</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=260&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2011/07/14/my-site-migration-from-moss-2007-to-sp-2010/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/07/mylinks_thumb1.png" medium="image">
			<media:title type="html">MyLinks</media:title>
		</media:content>

		<media:content url="http://pathikhrawal.files.wordpress.com/2011/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom List Definition: Adding Custom List Pages (AllItems.aspx, DispForm.aspx, EditForm.Aspx &amp; NewForm.aspx)</title>
		<link>http://pathikhrawal.wordpress.com/2011/06/24/custom-list-definition-adding-custom-list-pages-allitems-aspx-dispform-aspx-editform-aspx-newform-aspx/</link>
		<comments>http://pathikhrawal.wordpress.com/2011/06/24/custom-list-definition-adding-custom-list-pages-allitems-aspx-dispform-aspx-editform-aspx-newform-aspx/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 16:12:01 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">https://pathikhrawal.wordpress.com/2011/06/24/custom-list-definition-adding-custom-list-pages-allitems-aspx-dispform-aspx-editform-aspx-newform-aspx/</guid>
		<description><![CDATA[There is always a need for adding Custom List Pages (AllItems.aspx, DispForm.aspx, EditForm.Aspx &#38; NewForm.aspx) to your list definition. By adding custom list pages to your custom List Definition &#160; You get more control on Customization of View, Edit and New form for your custom list definition &#160; Add JavaScript, Web parts to those pages &#8230; <a href="http://pathikhrawal.wordpress.com/2011/06/24/custom-list-definition-adding-custom-list-pages-allitems-aspx-dispform-aspx-editform-aspx-newform-aspx/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=249&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>There is always a need for adding Custom List Pages (AllItems.aspx, DispForm.aspx, EditForm.Aspx &amp; NewForm.aspx) to your list definition. By adding custom list pages to your custom List Definition</p>
<ul>
<li>&nbsp; You get more control on Customization of View, Edit and New form for your custom list definition
<li>&nbsp; Add JavaScript, Web parts to those pages</li>
</ul>
<p>This is very easy to achieve. All you need to do is make your Custom List Definition refer those pages instead of default Out of Box pages. Below are steps</p>
<p><strong>1. Making a Copy of existing files</strong></p>
<p>Here instead of creating our own pages, you can just copy the existing pages.</p>
<ol>
<li>You can deploy your Custom List Definition to your development server.
<li>Create a List instance from your Custom List Definition
<li>Open Site in SharePoint Designer 2010
<li>Copy content of all list pages Allitems.aspx, DispForm.aspx, EditForm.aspx &amp; NewForm.aspx to different files and named them MyAllItems.aspx, MyDispForm.aspx, MyEditForm.aspx &amp; MyNewForm.aspx
<li>Now Open the MyAllItems.aspx and remove the code &lt;WebPartPages:XsltListViewWebPart … &gt;&nbsp; &amp;&nbsp;
<p>&lt;/WebPartPages:XsltListViewWebPart&gt;. <strong>What you need to do just remove the XSLTLISTVIEWWEBPART from the MyAllItems.Aspx</strong></p>
<li>Save the modified file.</li>
</ol>
<p>Follow above steps 1 to 4 or all other files. Please skip steps 5 &amp; 6 for other files.</p>
<p><strong>2. Deploying above files to Feature Folder</strong></p>
<p>Here we will have to add all modified files to our solution in VS, so that those modified will be deployed to server when List Definitions features is deployed</p>
<ol>
<li>In Visual Studio add all above modified files to List Definition folder where you Schema.xml exists
<li>Open SharePointProjectItem.spdata file from your List Definition folder in VS
<li>Add below code</li>
</ol>
<p><strong>&lt;ProjectItemFile Source=&#8221;MyAllItems.aspx&#8221; Target=&#8221;MyListDefinition\&#8221; Type=&#8221;ElementFile&#8221; /&gt; </strong>in files tag. </p>
<p>similarly follow steps 2.1 to 2.3&nbsp; for all other files</p>
<p><strong>3. Changing the association of list pages</strong> </p>
<p>Now the final step is to associate modified list pages with List Definition.</p>
<ol>
<li>Open Schema.xml file of List Definition.
<li>Under &lt;Forms&gt;, remove attribute SetupPath=&#8221;pages\form.aspx&#8221; from all forms types like DisplayForm, EditForm &amp; NewForm.</li>
</ol>
<p><strong>Note:</strong> By deleting the &#8220;SetupPath&#8221; attribute, we are telling SharePoint to look for &#8220;.aspx&#8221; pages named after the &#8220;Type&#8221; attribute in the same folder as Schema.xml</p>
<p>3. “AllItems.aspx&#8221; is associated with the default view of the list. so, delete &#8220;SetupPath&#8221; attribute from the default view node in the schema.</p>
<ul>
<p>This is all we have to do for having custom list pages for list definitions.</p>
<p>Enjoy!!</p>
<p>&nbsp;</p>
</ul>
<br />Filed under: <a href='http://pathikhrawal.wordpress.com/category/sharepoint-2010/'>SharePoint 2010</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/249/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/249/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=249&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2011/06/24/custom-list-definition-adding-custom-list-pages-allitems-aspx-dispform-aspx-editform-aspx-newform-aspx/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>
	</item>
		<item>
		<title>Ghost Text issue with IE6.0</title>
		<link>http://pathikhrawal.wordpress.com/2011/06/07/ghost-text-issue-with-ie6-0/</link>
		<comments>http://pathikhrawal.wordpress.com/2011/06/07/ghost-text-issue-with-ie6-0/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 09:06:32 +0000</pubDate>
		<dc:creator>pathikhrawal</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">https://pathikhrawal.wordpress.com/2011/06/07/ghost-text-issue-with-ie6-0/</guid>
		<description><![CDATA[I was facing an issue with IE6.0. This issue happens only on IE6.0, same code works fine on other higher version of IE and Firefox Internet explorer. I have referred http://www.impressivewebs.com/ie6-ghost-text-bug-with-multiple-solutions/ link to resolve this and tried many other possible solutions but could not find a solid solution. What is the IE6 Ghost Text Bug? &#8230; <a href="http://pathikhrawal.wordpress.com/2011/06/07/ghost-text-issue-with-ie6-0/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=241&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I was facing an issue with IE6.0. This issue happens only on IE6.0, same code works fine on other higher version of IE and Firefox Internet explorer. I have referred <a href="http://www.impressivewebs.com/ie6-ghost-text-bug-with-multiple-solutions/">http://www.impressivewebs.com/ie6-ghost-text-bug-with-multiple-solutions/</a> link to resolve this and tried many other possible solutions but could not find a solid solution.
<p><b>What is the IE6 Ghost Text Bug?</b>
<p>Due to a bizarre rendering error in IE6, a well-organized, W3C-compliant web page that contains clean, semantic markup, and that looks perfectly fine in all other browsers (IE7, Firefox, Opera, Safari, etc.), will sometimes display duplicate text in a DIV that is floated and is followed by an HTML comment. The consensus is that the bug occurs when multiple comments are placed between a series of floated DIV tags, with the actual bug taking place inside the final floated DIV.
<p><b>Actual Fix:</b>
<p><b>&#8212;&#8212;&#8212;&#8212;&#8211;</b>
<p><b>This is very strange as IE6.0 will have trouble rendering when we use </b><b>&lt;ul&gt; &amp; &lt;Li&gt; within div control.</b> In my project we were using a list (ul) and each list item (li) contained a header (h2) and image (img). After reading this post <a href="http://benstewart.net/2008/05/ie6-ghost-text-bug/">http://benstewart.net/2008/05/ie6-ghost-text-bug/</a> I tried removing below code
<p>&lt;ul id=&#8221;nav-pageactions&#8221;&gt;
<p>&lt;li id=&#8221;pa-list-view&#8221;&gt;&lt;a title=&#8221;List view&#8221;&gt;List view&lt;/a&gt; &lt;/li&gt;
<p>&lt;li id=&#8221;pa-grid-view&#8221;&gt;&lt;a title=&#8221;Grid view&#8221;&gt;Grid view&lt;/a&gt; &lt;/li&gt;
<p>&lt;/ul&gt;
<p>And to my surprise it worked like charm. Now instead of removing the above code I wrapped above code in another &lt;div&gt; as shown below
<p>&lt;div&gt;
<p>&lt;ul id=&#8221;nav-pageactions&#8221;&gt;
<p>&lt;li id=&#8221;pa-list-view&#8221;&gt;&lt;a title=&#8221;List view&#8221;&gt;List view&lt;/a&gt; &lt;/li&gt;
<p>&lt;li id=&#8221;pa-grid-view&#8221;&gt;&lt;a title=&#8221;Grid view&#8221;&gt;Grid view&lt;/a&gt; &lt;/li&gt;
<p>&lt;/ul&gt;
<p>&lt;/div&gt;
<p>After doing above change it seems to work fine.
<p><b>Apart from above changes I have tried many things which did not work</b>
<p>1) Margin for &lt;Div&gt; control with Float attribute- I tried to set left margin for right div and right margin for left div, but it did not solve the problem.
<p>2) We are using &lt;Div&gt; control and Table control both for Grid view, We tried converting all Table controls to Div controls but even this did not work out
<p>3) White Space: It seems white space is the major problem with IE6.0. This blog has more info (<a href="http://benstewart.net/2008/05/ie6-ghost-text-bug/)-">http://benstewart.net/2008/05/ie6-ghost-text-bug/)-</a> we tried to put some hack but even it did not work for all scenarios.
<p>4) Having a WRAPPER for actual Grid view- As initially I thought ghost is appearing only in Grid view the problem is with that div only.
<p>5) Adding extra space (TR, TD) for main table in grid view.
<p><b>Lesson Learnt:</b>
<p>1) While targeting your application as IE6.0 compatible, make sure “You know the limitation of IE6.0” while designing CSS
<p>2) Smartly use &lt;Div&gt; specially floats div with lots of data in it.
<p>3) Be care full with White Space as IE6.0 does not handle white space nicely.
<p>&#8212;&#8212;&#8212;&#8212;</p>
<br />Filed under: <a href='http://pathikhrawal.wordpress.com/category/general/'>General</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pathikhrawal.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pathikhrawal.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pathikhrawal.wordpress.com&#038;blog=14333144&#038;post=241&#038;subd=pathikhrawal&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pathikhrawal.wordpress.com/2011/06/07/ghost-text-issue-with-ie6-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/850dbb19fea5c4e31673d278b0e9b13f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pathikhrawal</media:title>
		</media:content>
	</item>
	</channel>
</rss>
