<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>All about MOSS</title>
	
	<link>http://allaboutmoss.com</link>
	<description />
	<lastBuildDate>Fri, 23 Mar 2012 06:30:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/AllAboutMoss" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="allaboutmoss" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">AllAboutMoss</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Starter Corev4 CSS for SharePoint</title>
		<link>http://allaboutmoss.com/2012/03/23/starter-corev4-css-for-sharepoint/</link>
		<comments>http://allaboutmoss.com/2012/03/23/starter-corev4-css-for-sharepoint/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 06:30:51 +0000</pubDate>
		<dc:creator>Deepu Nair</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Style Sheet]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=872</guid>
		<description><![CDATA[Most of us have come across Starter.master or Starter Master Pages in CodePlex created by Randy Drisgill. &#8220;Starter Master Pages for SharePoint are a clean, commented starting point for creating your own SharePoint 2010 branding&#8221; &#8212; Thanks to Randy Drisgrill for such an informative contribution. Inspired from Starter.master, evolved StarterCorev4.css which gives you detailed description [...]]]></description>
			<content:encoded><![CDATA[<p>Most of us have come across Starter.master or <a href="http://startermasterpages.codeplex.com/">Starter Master Pages</a> in CodePlex created by Randy Drisgill.</p>
<p>&#8220;Starter Master Pages for SharePoint are a clean, commented starting point for creating your own SharePoint 2010 branding&#8221;</p>
<p>                                                               &#8212; Thanks to Randy Drisgrill for such an informative contribution.</p>
<p>Inspired from Starter.master, evolved StarterCorev4.css which gives you detailed description about the Corev4.css file that comes within SharePoint 14 hive.</p>
<p><strong>Corev4.css</strong> &#8211; Corev4.css is the core style sheet that is shipped within the 14 hive (%Program Files%\Common Files\Microsoft Shared\Web Server Extensions\14) of SharePoint, which is referred by default in all SharPoint OOTB( Out of the Box) controls.</p>
<p><strong>StarterCorev4.css</strong> file when attached to your Master page, will enhance your Master page css reading capabilities <strong>and is NOT intended to override</strong> any class files for SharePoint for development. Clicking on any of the css class links in the Master page will lead you to the class definition in the css file. Follow the below steps to include StarterCorev4.css</p>
<p>1. Open and Edit your custom master page in SharePoint Designer.</p>
<p>2. Download StarterCorev4.css from CodePlex &#8211; <a href="http://startercorev4.codeplex.com/">http://startercorev4.codeplex.com</a></p>
<p>3. Either upload the css file into your Site Style library or keep it in a local file location for reference.</p>
<p>3. Attach the downloaded StarterCorev4.css into the head section of your master page as shown below.<br />
<a href="http://allaboutmoss.com/wp-content/uploads/2012/03/21.jpg" rel="lightbox[872]" title="2"><img src="http://allaboutmoss.com/wp-content/uploads/2012/03/21.jpg" alt="" title="2" width="857" height="293" class="alignnone size-full wp-image-879" /></a></p>
<p>4. Notice that a
<link> tag has been added to the head section with the path of the css file.</p>
<p><a href="http://allaboutmoss.com/wp-content/uploads/2012/03/3.jpg" rel="lightbox[872]" title="3"><img src="http://allaboutmoss.com/wp-content/uploads/2012/03/3.jpg" alt="" title="3" width="826" height="109" class="alignnone size-full wp-image-881" /></a></p>
<p>5. Now Clicking on any of the css class defined in your master page, which usually refers to Corev4.css would redirect to the class files in StarterCorev4.css (Use Ctrl + Click for redirection). For eg:- I have clicked on the id &#8220;s4-ribboncont&#8221; defined for the ribbon, which leads me to an explanation as below.</p>
<p><a href="http://allaboutmoss.com/wp-content/uploads/2012/03/11.jpg" rel="lightbox[872]" title="1"><img src="http://allaboutmoss.com/wp-content/uploads/2012/03/11.jpg" alt="" title="1" width="792" height="463" class="alignnone size-full wp-image-884" /></a></p>
<p>After all your development activities and css changes for the master page and before moving the custom master page for deployment or testing, <strong>you should remove the reference link</strong> added on the head section of your master page for StarterCorev4.css. This would revert the usage of StarterCorev4.css file to the default corev4.css file in the 14 hive.</p>
<p><strong>NOTE </strong>: You should never modify your Corev4.css file in the 14 hive which comes by default with SharePoint. Follow the best practices in over riding the default SharePoint css references.</p>
<p>Watch out the codeplex page for updates and improvements to the <a href="http://startercorev4.codeplex.com">StarterCorev4.css project</a>. Your feedback and comments are much appreciated.<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2012/03/23/starter-corev4-css-for-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Style Switcher for SharePoint Master page</title>
		<link>http://allaboutmoss.com/2012/03/02/css-style-switcher-for-sharepoint-master-page/</link>
		<comments>http://allaboutmoss.com/2012/03/02/css-style-switcher-for-sharepoint-master-page/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 14:32:39 +0000</pubDate>
		<dc:creator>Deepu Nair</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=830</guid>
		<description><![CDATA[I recently went through a CSS Style switcher article done in JQuery and PHP &#8211; http://net.tutsplus.com/tutorials/javascript-ajax/jquery-style-switcher/ Here is the online demo for the style switcher which looks pretty neat &#8211; http://demos.net.tutsplus.com/03_jQueryStyleSwitcher/demo/ Click on Day and Night tabs to switch over the effects. You can notice that the jquery fading effect makes it a perfect switching. [...]]]></description>
			<content:encoded><![CDATA[<p style="font-size: 12pt;">I recently went through a CSS Style switcher article done in JQuery and PHP &#8211; <a title="CSS Style Switcher" href="http://net.tutsplus.com/tutorials/javascript-ajax/jquery-style-switcher/" target="_blank">http://net.tutsplus.com/tutorials/javascript-ajax/jquery-style-switcher/</a></p>
<p style="font-size: 12pt;">Here is the online demo for the style switcher which looks pretty neat &#8211; <a title="Online Demo" href="http://demos.net.tutsplus.com/03_jQueryStyleSwitcher/demo/" target="_blank">http://demos.net.tutsplus.com/03_jQueryStyleSwitcher/demo/</a></p>
<p style="font-size: 12pt;">
Click on Day and Night tabs to switch over the effects. You can notice that the jquery fading effect makes it a perfect switching.
</p>
<p style="font-size: 12pt;">Now, why don&#8217;t we have the same in SharePoint for our Master Pages. This would be an excellent add-on for sites that need Accessibility features, basically style sheet switching for people who are color blind. You will be able to understand it better visiting this BBC site &#8211; <a title="BBC link" href="http://www.bbc.co.uk/accessibility/index.shtml" target="_blank">http://www.bbc.co.uk/accessibility/index.shtml</a> .</p>
<p style="text-align: justify;font-size: 12pt;">On the top right hand side of the page, you can see icons where it mentions diferent colours possible for the site dynamically.<br />
<a href="http://allaboutmoss.com/wp-content/uploads/2012/02/14.jpg" rel="lightbox[830]" title="1"><img class="alignnone size-full wp-image-836" title="1" src="http://allaboutmoss.com/wp-content/uploads/2012/02/14.jpg" alt="" width="323" height="59" /></a><br />
Click on the icons and you will notice what I meant. These are one of the accessibility feature that I was talking about</p>
<p style="text-align: justify;font-size: 12pt;">Ok, Now how about adding all these into a SharePoint master page, so that you can switch your styles dynamically on a button click.</p>
<p style="text-align: justify;font-size: 12pt;">1. First of all, you need to upload the <em>jquery.js</em> and the <em>styleswitcher.jquery.js</em> file into the SharePoint Style library. Download all the files at the bottom of the post. Also add the <em>loading.gif</em> file into  the path -<em> /Style Library/Images/ </em> inside your root site.</p>
<p style="text-align: justify;font-size: 12pt;">2. Add the js file references in the head section of your master page.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script src=&quot;/Style Library/en-us/js/jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/Style Library/en-us/js/styleswitcher.jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p style="text-align: justify;font-size: 12pt;">3. Add the div tags in your master page. As a demo, you can add the div inside the <em>PlaceHolderPageDescription</em>, just below the <em>s4-pagedescription</em> css class. This will be added in your master page just below your Site title. Make sure that the div id name is <em>style-switcher</em> always, or you will have to change the final call in Step 5.</p>
<p style="text-align: justify;font-size: 12pt;">The css classes <em>whiteandblue.css</em> and <em>blackandyellow.css</em> should be added in the path - <em>/Style Library/en-us/Core Styles/</em> in your SharePoint site. These styles are the one that will be switched finally.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;style-switcher&quot;&gt;
 &lt;h4&gt;Choose your style:&lt;/h4&gt;
 &lt;ul&gt;
 &lt;li id=&quot;day&quot;&gt;&lt;a href=&quot;&quot; name=&quot;whiteandblue.css&quot;&gt;White and Blue&lt;/a&gt;&lt;/li&gt;
 &lt;li id=&quot;night&quot;&gt;&lt;a href=&quot;&quot; name=&quot;blackandyellow.css&quot;&gt;Black and Yellow&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/div&gt;
</pre>
<p style="text-align: justify;font-size: 12pt;">4.  Now its the main script that is called within the <em>styleswitcher.js</em> file. The function <em>onClickStyleChange</em> below adds the css link for the master page. This is the place where the switching takes place.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
 function onClickStyleChange(strvalue)
 {
 var headID = document.getElementsByTagName(&quot;head&quot;)[0];
 var cssNode = document.createElement('link');
 cssNode.type = 'text/css';
 cssNode.rel = 'stylesheet';
 cssNode.href = '/Style Library/en-us/Core Styles/' + strvalue;
 cssNode.media = 'screen';
 headID.appendChild(cssNode);
 }
 &lt;/script&gt;
</pre>
<p style="text-align: justify;font-size: 12pt;">5.  Add the below script in the master page which ultimately calls the function inside the jquery. This gives the fade in and fade out effect for our master page which is really cool.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
 $('#style-switcher a').styleSwitcher(); // Calling the plugin...
 &lt;/script&gt;
</pre>
<p style="text-align: justify;font-size: 12pt;">6. Save, checkin and publish your master page. You are good to go.</p>
<p style="text-align: justify;font-size: 12pt;">For convenience I have zipped all the necessary js files and loading.gif file <a href="http://allaboutmoss.com/wp-content/uploads/2012/03/styleswitcher.zip"> over here</a>. Special thanks to the person who initially created this in Php. </p>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2012/03/02/css-style-switcher-for-sharepoint-master-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 101 Code Samples</title>
		<link>http://allaboutmoss.com/2012/03/01/sharepoint-2010-101-code-samples/</link>
		<comments>http://allaboutmoss.com/2012/03/01/sharepoint-2010-101-code-samples/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 06:22:18 +0000</pubDate>
		<dc:creator>Shoban</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[code samples]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=840</guid>
		<description><![CDATA[Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code. Each code sample consists of a standalone project created in Microsoft Visual Studio 2010 and demonstrates a distinct feature or feature set. Each sample includes comments describing the sample [...]]]></description>
			<content:encoded><![CDATA[<p>Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code.</p>
<p>Each code sample consists of a standalone project created in Microsoft Visual Studio 2010 and demonstrates a distinct feature or feature set. Each sample includes comments describing the sample and the expected results. Each sample also contains comments that explain how to set up your environment so that the sample code runs, where necessary.<br />
Read more and download the code samples from <a href="http://code.msdn.microsoft.com/SharePoint-2010-101-Code-da251182">here</a>.<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2012/03/01/sharepoint-2010-101-code-samples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Search Content Source of type Web using PowerShell</title>
		<link>http://allaboutmoss.com/2012/02/07/creating-a-search-content-source-of-type-web-using-powershell/</link>
		<comments>http://allaboutmoss.com/2012/02/07/creating-a-search-content-source-of-type-web-using-powershell/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 08:53:59 +0000</pubDate>
		<dc:creator>Deepu Nair</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=781</guid>
		<description><![CDATA[The New-SPEnterpriseSearchCrawlContentSource command in Powershell is used to create a new crawl content source for a SharePoint search application.We can view the whole set of parameters and options in this msdn article. So , when we need to create a SharePoint Search content source, using Powershell, we use the following commands- This would create a content source Clicking [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;font-size: 12pt">The <strong>New-SPEnterpriseSearchCrawlContentSource</strong> command in Powershell is used to create a new crawl content source for a SharePoint search application.We can view the whole set of parameters and options in <a href="http://technet.microsoft.com/en-us/library/ff607867.aspx">this msdn article</a>.</p>
<p style="font-size: 12pt">So , when we need to create a SharePoint Search content source, using Powershell, we use the following commands-</p>
<pre class="brush: xml; title: ; notranslate">
$searchapp = Get-SPEnterpriseSearchServiceApplication &quot;Search Service Application&quot;
New-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Type SharePoint -name ContentSourceWithTypeSharePoint -StartAddresses http://localhost:6001/
</pre>
<p style="text-align: justify;font-size: 12pt">This would create a content source</p>
<p style="text-align: justify;font-size: 12pt"><a href="http://allaboutmoss.com/wp-content/uploads/2012/02/11-e1328595167650.jpg" rel="lightbox[781]" title="1"><img class="alignnone size-full wp-image-789" title="1" src="http://allaboutmoss.com/wp-content/uploads/2012/02/11-e1328595379715.jpg" alt="" width="1000" height="197" /></a></p>
<p style="text-align: justify;font-size: 12pt">Clicking on the &#8220;ContentSourceWithTypeSharePoint&#8221; would open up the content source which we have created using the default settings as below:</p>
<p style="text-align: justify;font-size: 12pt"><a href="http://allaboutmoss.com/wp-content/uploads/2012/02/12.jpg" rel="lightbox[781]" title="1"><img class="alignnone size-full wp-image-797" title="1" src="http://allaboutmoss.com/wp-content/uploads/2012/02/12.jpg" alt="" width="430" height="519" /></a></p>
<p style="text-align: justify;font-size: 12pt">This was a simple scenario. Now consider creating the content source of type &#8220;Web&#8221; which would be</p>
<pre class="brush: xml; title: ; notranslate">
$searchapp = Get-SPEnterpriseSearchServiceApplication &quot;Search Service Application&quot;
New-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Type Web -name ContentSourceWithTypeWeb -StartAddresses http://localhost:5000/
</pre>
<p style="text-align: justify;font-size: 12pt">And this would create a content source with type &#8220;Web&#8221; as below</p>
<p style="text-align: justify;font-size: 12pt"><a href="http://allaboutmoss.com/wp-content/uploads/2012/02/13.jpg" rel="lightbox[781]" title="1"><img class="alignnone size-full wp-image-799" title="1" src="http://allaboutmoss.com/wp-content/uploads/2012/02/13.jpg" alt="" width="422" height="647" /></a></p>
<p style="text-align: justify;font-size: 12pt">Here, we can see that the crawl behavior is set to custom and there would be no direct parameters in Powershell to change these options.</p>
<p style="font-size: 12pt">So, I recently had a research into this and found out that adding the parameters, <strong>MaxPageEnumerationDepth </strong>and <strong><strong>MaxSiteEnumerationDepth </strong></strong>, could bring you these options.</p>
<p style="text-align: justify;font-size: 12pt">ie, To bring the crawl option to the second option -&#8221;<label for="ctl00_PlaceHolderMain_webSettingsCrawlPageRadioButton">Only crawl the first page of each start address&#8221;, the Powershell script would be </label></p>
<pre class="brush: xml; title: ; notranslate">
$searchapp = Get-SPEnterpriseSearchServiceApplication &quot;Search Service Application&quot;
New-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Type Web -name ContentSourceWithTypeWeb -StartAddresses http://localhost:5000/ -MaxPageEnumerationDepth 0 -MaxSiteEnumerationDepth 0
</pre>
<p style="text-align: justify;font-size: 12pt">This actually means that the Page depth and the Site depth that you expect is zero, which defaultly means that you would be crawling only the first page of your start address and hence this option is selected.</p>
<p style="text-align: justify;font-size: 12pt">and to bring the crawl option to the first option -&#8221;<label for="ctl00_PlaceHolderMain_addContentSourceControl_webSettingsCrawlSiteRadioButton">Only crawl within the server of each start address</label><label for="ctl00_PlaceHolderMain_webSettingsCrawlPageRadioButton">&#8220;, the Powershell script would be </label></p>
<pre class="brush: xml; title: ; notranslate">
$searchapp = Get-SPEnterpriseSearchServiceApplication &quot;Search Service Application&quot;
New-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Type Web -name ContentSourceWithTypeWeb -StartAddresses http://localhost:5000/ -MaxSiteEnumerationDepth 0
</pre>
<p style="text-align: justify;font-size: 12pt">This actually means that the Site depth that you expect is zero and it can go any pages deep if it is within the server, which definitely means you would be crawling only within the server of the start address.</p>
<p style="font-size: 12pt">This post was inspired from a question asked in SharePoint.Stackexchange.com - <a href="http://sharepoint.stackexchange.com/questions/27901/how-to-create-a-content-source-of-type-web-with-the-option-only-crawl-within/27908#27908">http://sharepoint.stackexchange.com/questions/27901/how-to-create-a-content-source-of-type-web-with-the-option-only-crawl-within/27908#27908</a></p>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2012/02/07/creating-a-search-content-source-of-type-web-using-powershell/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clean Up Customized CSS Files with CSSCompare</title>
		<link>http://allaboutmoss.com/2012/01/29/clean-up-customized-css-files-with-csscompare/</link>
		<comments>http://allaboutmoss.com/2012/01/29/clean-up-customized-css-files-with-csscompare/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 04:50:42 +0000</pubDate>
		<dc:creator>Shoban</dc:creator>
				<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[csscompare]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=779</guid>
		<description><![CDATA[Have you ever come across a SharePoint installation that&#8217;s been customized in an unsupported way? You look at the 12 (or 14) hive and see that files have been modified by hand? Not good. As you may know, changing core SharePoint files is unsupported and can lead to problems when patching. The best way to [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever come across a SharePoint installation that&#8217;s been customized in an unsupported way? You look at the 12 (or 14) hive and see that files have been modified by hand? Not good.</p>
<p>As you may know, changing core SharePoint files is unsupported and can lead to problems when patching.</p>
<p>The best way to clean up modified SharePoint installations is to pull out the customizations and move them into new files as part of a solution package (WSP file). That makes it easy to re-deploy customizations and ensures your environment will stay clean.</p>
<p>Read more <a href="http://blogs.pointbridge.com/Blogs/johnson_bert/Pages/Post.aspx?_ID=30">here</a> and download <a href="http://csscompare.codeplex.com/">CSSCompare </a>here.<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2012/01/29/clean-up-customized-css-files-with-csscompare/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint document convertor</title>
		<link>http://allaboutmoss.com/2011/12/20/sharepoint-document-convertor/</link>
		<comments>http://allaboutmoss.com/2011/12/20/sharepoint-document-convertor/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 05:56:05 +0000</pubDate>
		<dc:creator>Shoban</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[document conversion]]></category>
		<category><![CDATA[word automation]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=766</guid>
		<description><![CDATA[SharePoint Document Converter solution gives a start on how we can leverage the Word automation Service to convert documents to formats that word can support. This project convert documents of type &#8220;DOCX&#8221; or &#8220;DOC&#8221; to any possible file type that word support like to PDF, XPS, DOCX, DOCM, DOC, DOTX, DOTM, DOT, XML, RTF, MHT. [...]]]></description>
			<content:encoded><![CDATA[<p>SharePoint Document Converter solution gives a start on how we can leverage the Word automation Service to convert documents to formats that word can support. This project convert documents of type <em>&#8220;DOCX&#8221; or &#8220;DOC&#8221;</em> to any possible file type that word support like to <em> PDF, XPS, DOCX, DOCM, DOC, DOTX, DOTM, DOT, XML, RTF, MHT.</em><br />
<a href="http://allaboutmoss.com/wp-content/uploads/2011/12/spconvertor.jpg" rel="lightbox[766]" title="spconvertor"><img class="alignnone size-full wp-image-769" title="spconvertor" src="http://allaboutmoss.com/wp-content/uploads/2011/12/spconvertor.jpg" alt="" width="540" height="481" /></a></p>
<p>Check out more about the project in <a href="http://spwordtopdfconverter.codeplex.com/">Codeplex Project Home Page</a>.<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2011/12/20/sharepoint-document-convertor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas Time – Snow in Home Page</title>
		<link>http://allaboutmoss.com/2011/12/08/christmas-time-snow-in-home-page/</link>
		<comments>http://allaboutmoss.com/2011/12/08/christmas-time-snow-in-home-page/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 22:09:46 +0000</pubDate>
		<dc:creator>Shoban</dc:creator>
				<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[snow webpart]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=753</guid>
		<description><![CDATA[Its Christmas time and time for some fun with our SharePoint site. Here is a quick trick to show snow fall in your SharePoint page (May be your Intranet Home Page). It will take you just few minutes to setup. 1. Go to this site and download Snowstorm.js file and upload it to some Document [...]]]></description>
			<content:encoded><![CDATA[<p>Its Christmas time and time for some fun with our SharePoint site. Here is a quick trick to show snow fall in your SharePoint page (May be your Intranet Home Page). It will take you just few minutes to setup.</p>
<p>1. Go to this <a href="http://www.schillmania.com/projects/snowstorm/" target="_blank">site</a> and download <a href="http://www.schillmania.com/projects/snowstorm/" target="_blank">Snowstorm.js</a> file and upload it to some Document Library</p>
<p>2. Open your SharePoint page and add a Content Editor WebPart.</p>
<p>3. Edit the HTML Source for the content Editor WebPart</p>
<p><a href="http://allaboutmoss.com/wp-content/uploads/2011/12/html.png" rel="lightbox[753]" title="html"><img class="alignnone size-full wp-image-754" title="html" src="http://allaboutmoss.com/wp-content/uploads/2011/12/html.png" alt="" width="202" height="149" /></a></p>
<p>4. Add the following code and set the Chrome Type for the Web Part as none</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script src=&quot;{Path}/snowstorm-min.js&quot;&gt;&lt;/script&gt;
</pre>
<p>5. Save and Exit Edit mode and that&#8217;s it! <img src='http://allaboutmoss.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://allaboutmoss.com/wp-content/uploads/2011/12/snow.png" rel="lightbox[753]" title="snow"><img class="alignnone size-medium wp-image-761" title="snow" src="http://allaboutmoss.com/wp-content/uploads/2011/12/snow-300x211.png" alt="" width="300" height="211" /></a></p>
<p>It&#8217;s always a good idea to have a &#8220;<strong>Stop Snowing</strong>&#8221; link for those who find this annoying. Simply edit the JavaScript code in the Content Editor WebPart and add the following code.</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;/Docs/snowstorm-min.js&quot;&gt;&lt;/script&gt;
&lt;a onClick=&quot;javascript:snowStorm.stop();&quot; href=&quot;#&quot;&gt;Stop Snowing&lt;/a&gt;
</pre>
<p>There are many other customization available. Check <a href="http://www.schillmania.com/projects/snowstorm/" target="_blank">this page</a> for more options.<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2011/12/08/christmas-time-snow-in-home-page/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Error with DataForm web part in SharePoint 2010</title>
		<link>http://allaboutmoss.com/2011/12/07/error-with-dataform-web-part-in-sharepoint-2010/</link>
		<comments>http://allaboutmoss.com/2011/12/07/error-with-dataform-web-part-in-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 16:32:48 +0000</pubDate>
		<dc:creator>Deepu Nair</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[data form]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=739</guid>
		<description><![CDATA[I had recently seen in forums where people have issues with DataForm web parts in SharePoint 2010, one way or the other. So I thought its time to make it a post. Error Scenarios: These are the possible errors that can occur: 1. SharePoint Designer popping up correlation ID with detailed error something like this [...]]]></description>
			<content:encoded><![CDATA[<p>I had recently seen in forums where people have issues with DataForm web parts in SharePoint 2010, one way or the other. So I thought its time to make it a post.</p>
<p><strong>Error Scenarios:</strong></p>
<p>These are the possible errors that can occur:</p>
<p>1. SharePoint Designer popping up correlation ID with detailed error something like this</p>
<blockquote><p><em>Error while executing web part: System.StackOverflowException: Operation caused a stack overflow.  </em></p></blockquote>
<p>2. Error while saving site as template <em></em></p>
<blockquote><p><em>System.InvalidOperationException: Error generating solution files in temporary directory.</em><br />
<em>at Microsoft.SharePoint.SPSolutionExporter.ExportWebAsSolution()</em></p></blockquote>
<p>This issue might appear for just one site or subsite in the whole site collection. Basically it could be assumed that this occurs with a particular site that has a DataForm web part or any web part that inherits from this DataForm web part. Removing the DataForm webparts from the site or page might bring things to normal.</p>
<p><strong>Why errors all of a sudden?</strong></p>
<p>Recently, the following Security Update KB 2494001, <a href="http://support.microsoft.com/kb/2494001" rel="nofollow">http://support.microsoft.com/kb/2494001</a> and the June 2011 cumulative update for SharePoint 2010 has updated the timeout for the Data Form web part and the web parts that inherit from the Data Form web part.</p>
<p>Basically farms that have recently been upgraded with cumulative updates might find these issues.</p>
<p><strong>Possible Solution<br />
</strong></p>
<p>The only workaround for the web parts timing out is to apply one of the solutions listed in KB 2639184, released by Microsoft.</p>
<p><a href="http://support.microsoft.com/kb/2639184">http://support.microsoft.com/kb/2639184</a></p>
<p>There are 3 solutions provided in this article and I believe the 3rd solution would be an ideal solution for large Data Form XSLT transformations. Here are the details -</p>
<p>1.) Sub class the DataForm Web Part. Override the following methods. Then Deploy the assembly.<br />
<strong>Example:</strong></p>
<pre class="brush: csharp; title: ; notranslate">
 public class customDFWP : DataFormWebPart
    {
        public override bool IsGhosted
        {
            get
            {
                return true;
            }
        }
        public override bool CanHaveServerControls
        {
            get
            {
                return true;
            }
        }
    }
</pre>
<p>2.) Add a safe control entry to the web.config<br />
<strong>Example:</strong></p>
<pre class="brush: xml; title: ; notranslate">
&lt;SafeControl Assembly=&quot;customDFWP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=963f869a440db619&quot; Namespace=&quot;customDFWP&quot; TypeName=&quot;*&quot; Safe=&quot;True&quot; AllowRemoteDesigner=&quot;True&quot; SafeAgainstScript=&quot;False&quot;/&gt;
</pre>
<p>3.) Add the following to the &lt;tagMapping&gt; element of the web.config<br />
<strong>Example:</strong></p>
<pre class="brush: xml; title: ; notranslate">
&lt;add tagType=&quot;Microsoft.SharePoint.WebPartPages.DataFormWebPart, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; mappedTagType=&quot;customDFWP.customDFWP, customDFWP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=963f869a440db619&quot; /&gt;
</pre>
<p>4.) Register the assembly on the form page.<br />
<strong>Example: </strong></p>
<pre class="brush: xml; title: ; notranslate">
&lt;%@ Register tagprefix=&quot;customDFWP&quot; namespace=&quot;customDFWP&quot; assembly=&quot;customDFWP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=963f869a440db619&quot;&gt;
</pre>
<p>5.) On the form page find &lt;WebPartPages:DataFormWebPart &gt; and replace it with the new custom tag.<br />
<strong>Example</strong>:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;customDFWP:customDFWP&gt;
</pre>
<p>Again, if nothing goes right remove the Data Form web part and try to accommodate the same logic differently, may be using a custom web part with css.<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2011/12/07/error-with-dataform-web-part-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Follow us in Facebook and Twitter</title>
		<link>http://allaboutmoss.com/2011/11/30/follow-us-in-facebook-and-twitter/</link>
		<comments>http://allaboutmoss.com/2011/11/30/follow-us-in-facebook-and-twitter/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 19:39:02 +0000</pubDate>
		<dc:creator>Shoban</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=734</guid>
		<description><![CDATA[We have a new Facebook page. If you have any questions, comments or suggestions, please like allaboutmoss and start a conversation. You can also follow us in Twitter @allaboutmoss. &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>We have a new Facebook page. If you have any questions, comments or suggestions, please like <a href="http://www.facebook.com/pages/All-about-MOSS/199061146841686">allaboutmoss</a> and start a conversation.</p>
<p>You can also follow us in Twitter <a href="http://twitter.com/allaboutmoss">@allaboutmoss</a>.</p>
<p>&nbsp;</p>
<p>&nbsp;<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2011/11/30/follow-us-in-facebook-and-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Workflow history list never gets deleted</title>
		<link>http://allaboutmoss.com/2011/11/21/sharepoint-workflow-history-list-never-gets-deleted/</link>
		<comments>http://allaboutmoss.com/2011/11/21/sharepoint-workflow-history-list-never-gets-deleted/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 05:39:38 +0000</pubDate>
		<dc:creator>Deepu Nair</dc:creator>
				<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[workflows]]></category>

		<guid isPermaLink="false">http://allaboutmoss.com/?p=696</guid>
		<description><![CDATA[This post will help to understand the different issues and solutions with workflow history stored in MOSS 2007 and SharePoint 2010. There are organizations were numerous workflows are created that are developed using, either out of the box features or SharePoint Designer or Visual Studio developed or even third party tools like Nintex or K2. [...]]]></description>
			<content:encoded><![CDATA[<p>This post will help to understand the different issues and solutions with workflow history stored in MOSS 2007 and SharePoint 2010.</p>
<p>There are organizations were numerous workflows are created that are developed using, either out of the box features or SharePoint Designer or Visual Studio developed or even third party tools like Nintex or K2.</p>
<p><strong>What is a workflow ? </strong>- A workflow is comprised of a sequence of events such as workflow initiation, task creation, and task completion. When you add a workflow, you specify a task list and history list that workflow instances of that workflow association will use to track the events for the workflow. The task list contains the items that users interact with and enter data into while interacting with the workflow. The workflow history contains key information about each event including date, status, participant, and description.</p>
<p><strong>Workflow history list &#8211; </strong>This is a hidden list in all SharePoint sites and this could be accessed by appending /Lists/Workflow History/ to the address of the SharePoint site. Many of the organisations would like to keep these lists as long as possible to maintain as a backup for the workflows created. But what about the bulk amount of database space that it occupies?</p>
<p><strong>Workflow Auto Cleanup timer job</strong> &#8211; The Workflow history list is deleted by default using the Workflow Auto Cleanup job. This job should delete all workflow instances and related task entries that exist 60 days after the workflow is completed or cancelled. Thank God!!! All those unwanted entries could be deleted automatically by running the timer job. If you wish to keep the workflow history list, it could be done by disabling the timer job. Go to <strong>Central Admin -&gt; Operations Tab (SharePoint 2007) -&gt; Timer job definitions</strong> -&gt; Find the timer job, click open and just disable.</p>
<p>There are also patches available from Microsoft technical support to increase the number of days from 60 to a larger number, thus increasing the amount of time that the workflow histories could be retained - <a href="http://blogs.msdn.com/b/nishand/archive/2007/09/10/changing-the-spworkflowassociation-autocleanupdays-property.aspx">http://blogs.msdn.com/b/nishand/archive/2007/09/10/changing-the-spworkflowassociation-autocleanupdays-property.aspx</a></p>
<h2><strong>Workflow history list never gets deleted</strong></h2>
<p>Wonder why the database space is still getting eaten up even though the workflow history list are scheduled for auto cleanup. Recently there was an <a title="Cleanup workflow" href="http://code.msdn.microsoft.com/Cleanup-Workflow-History-cee6e75e" target="_blank">msdn post</a> which described that even though the timer job is enabled, the Workflow history lists are infact not getting deleted. As the post explains, <em><strong>Workflow history items themselves are not deleted</strong>, </em>but the entry point to view them on the status page for a particular instance will no longer be available.</p>
<p>The post has a code sample that could be used to actually delete all the Workflow history list items. Those who would be running workflows on K2 or Nintex could also check with the vendors, how these lists are managed by them.<!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutmoss.com/2011/11/21/sharepoint-workflow-history-list-never-gets-deleted/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

