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

<channel>
	<title>Tomblog &#187; SharePoint</title>
	<atom:link href="http://tomblog.insomniacminds.com/category/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomblog.insomniacminds.com</link>
	<description>Rantings of an Insomniac Mind</description>
	<lastBuildDate>Sun, 31 Jul 2011 17:59:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SharePoint 2010 Tricks: MapFile Element</title>
		<link>http://tomblog.insomniacminds.com/2011/07/31/sharepoint-2010-tricks-mapfile-element/</link>
		<comments>http://tomblog.insomniacminds.com/2011/07/31/sharepoint-2010-tricks-mapfile-element/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 17:59:36 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=233</guid>
		<description><![CDATA[Hello everyone and welcome to another exciting blog post in the SharePoint Gems series. It&#8217;s been some time since the last one and this is the first for SharePoint 2010. The goal of SharePoint Tricksis to shed some light on unknown features in SharePoint. Most of the time, those features have little to no documentation [...]]]></description>
			<content:encoded><![CDATA[<p>Hello everyone and welcome to another exciting blog post in the SharePoint Gems series. It&#8217;s been some time since the last one and this is the first for SharePoint 2010. The goal of SharePoint Tricksis to shed some light on unknown features in SharePoint. Most of the time, those features have little to no documentation on msdn and are not really feature in posts on the net. So, it&#8217;s always nice to find a bit of info, right here. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>On my current job, I&#8217;m working on a migration to SharePoint 2010. SharePoint 2010 features a couple of new items towards migration and upgrading and it&#8217;s in this last category I&#8217;ve found a gem.<br />
As most of you know, features can be upgraded now. Unfortunately this procedure is quite cumbersome and contains a lot of manual steps (customactions, custom upgrade looper, etc). <a href="http://www.sharepointnutsandbolts.com/2010/06/feature-upgrade-part-1-fundamentals.html">Chris O&#8217;Brien</a> blogged a nice series on the basics of this upgrade mechanism. Basicly, the upgrade code will process some new CAML elements (eg. Customxxx) One of these elements however is pretty powerfull, aspecially in migration and heavy upgrade situations, but at the same time this element is pretty unknown as well. I&#8217;m talking about the <a href="http://msdn.microsoft.com/en-us/library/ff595311.aspx">MapFile</a>.</p>
<p>As you can see, the <a href="http://msdn.microsoft.com/en-us/library/ff595311.aspx">msdn page</a> does not really tell much. Thanks to Reflectorand SQL Manager however we get a pretty good idea what it does. So what is its purpose? <b>The MapFile element will update the internal link of provisioned, uncustomized (thus, still ghosted) files in your SharePoint libraries from one location in your 14 Hive to another.</b></p>
<p>The element is quite simple to use:</p>
<pre class="brush: xml">
&lt;Mapfile FromPath=string ToPath=string />
</pre>
<p>It&#8217;ll find all files that have been provisioned from &#8220;FromPath&#8221;, and it will update it to &#8220;ToPath&#8221;. Mind you this will work on a per-site basis. If you have a MapFile element in site collection feature, it&#8217;ll only use the rootweb.</p>
<p>To illustrate the power of this element, here are some use cases:</p>
<ul>
<li>You have a customized document library with custom form pages, and you want to revert them to the form pages of the original document library.
<pre class="brush: xml">
&lt;MapFile FromPath="Features\MyCustomDocLib\Schema\ViewPage.aspx" ToPath="Global\Forms\ViewPage.aspx" />
</pre>
</li>
<li>You&#8217;ve been using a page layout for some time and in the new version the developers create new features and renamed the page layouts.
<pre class="brush: xml">
&lt;MapFile FromPath="Features\MyPageLayouts\PageLayouts\OverviewPageLayout.aspx" ToPath="Features\MyPageLayoutsV2\PageLayouts\NewOverviewPageLayout.aspx" /></pre>
</li>
<li> An external solution has been retracted making some pages/files/document libraries unavailable You want to re-enable them without deleting and recreating them, as there is a lot of content and versioning on them.
<pre class="brush: xml">&lt;MapFile FromPath="Features\3rdPartyFeature\Pages\Page1.aspx" ToPath="Features\InHouse\Pages\Page1.aspx" /></pre>
</li>
<p>So that&#8217;s for MapFile. See you next time!</p>
<p>Ps: when using feature upgrading don&#8217;t forget it&#8217;ll only work with solution upgrading. </ul>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2011/07/31/sharepoint-2010-tricks-mapfile-element/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010: Customizing the Gantt view and the Client Grid</title>
		<link>http://tomblog.insomniacminds.com/2011/07/09/sharepoint-2010-customizing-the-gantt-view-and-the-client-grid/</link>
		<comments>http://tomblog.insomniacminds.com/2011/07/09/sharepoint-2010-customizing-the-gantt-view-and-the-client-grid/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 22:21:41 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=194</guid>
		<description><![CDATA[Hi everyone. Time to revive this blog a bit. It&#8217;s been a long time since the last update and a lot has happened since. I&#8217;m now officially an independent SharePoint consultant, here in Belgium! Needless to say, I had a lot on my plate the last six months. But here I am again! Time for [...]]]></description>
			<content:encoded><![CDATA[<p>Hi everyone.</p>
<p>Time to revive this blog a bit. It&#8217;s been a long time since the last update and a lot has happened since.  I&#8217;m now officially an independent SharePoint consultant, here in Belgium! Needless to say, I had a lot on my plate the last six months. But here I am again! Time for SharePoint.</p>
<p>As most of you, I&#8217;ve been working on SharePoint 2010 for some time now. And as usual we found some quirks and weirdness in the software that need some  more &#8220;creative&#8221; solving. This time we&#8217;ll talk about the new Gantt view! The Gantt view is one of these list views that wasn&#8217;t really used in SharePoint 2007, mostly because nobody knew about it. It was kinda a nice view. It&#8217;s used to show event based items on a horizontal timeline. You configure a start date column, and a end date column, and presto! A Gantt View! In 2007 it looked like this:</p>
<div id="attachment_216" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2011/07/project-plan.jpg"><img src="http://tomblog.insomniacminds.com/wp-content/uploads/2011/07/project-plan-150x150.jpg" alt="" title="Gantt view 2007" width="150" height="150" class="size-thumbnail wp-image-216" /></a><p class="wp-caption-text">Gantt view 2007</p></div>
<p>Kinda nice, right? Well, in 2010, they enhanced it.  Visually ,it basically looks the same. (although the items are on the left side, and the timeline on the right) But the functionality is much more powerful. The item grid is now by default editable! More over, it looks like a datasheet view, but works without plugins! How is this, you ask me? JAVASCRIPT, I respond enthusiastically! <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  </p>
<div id="attachment_217" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2011/07/2-2010.png"><img src="http://tomblog.insomniacminds.com/wp-content/uploads/2011/07/2-2010-150x150.png" alt="" title="Gantt view 2010" width="150" height="150" class="size-thumbnail wp-image-217" /></a><p class="wp-caption-text">Gantt view 2010</p></div>
<p>Microsoft finally is discovering the power of Javascript in SharePoint 2010 and this is an excellent example of this! They developed a fully functional client side grid, using Javascript! It allows us to do some nice tricks as dynamic resizing of the columns, show/hiding columns, &#8230; and more.. Really nice! What&#8217;s even better, is that you can directly edit the grid, and the timeline and underlying items are automagically updated! Even more awesome!</p>
<p>Now, this is really nice and all, but it ain&#8217;t nothing you can read anywhere else. The problem I was having this week are the settings of this view. Or actually the lack of. There is quasi nothing you can set. Bummer!<br />
Luckily, as it is Javascript, I suspected I could hack into the html and change defaults such as column widths etc by changing its CSS properties.<br />
Well, that seemed kinda right. I managed to change some defaults, but as soon as the grid sprung alive on the page, everything went back to the internal defaults. Oh, and did I mention that some defaults are repeated a million times within the html code? So far for using *cascading* style sheets. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Next try: can I hack the Javascript of the grid? After looking more closely at the Javascript code of the grid (all 25000 lines of it :p) I found out the gantt view consisted of a Javascript Gantt view component, using a Javascript grid component. (although they seem separate with separate files and all, they do show interdependencies in the details, however) And what&#8217;s nice about Microsoft they created a whole object model for the grid. Very quickly I found some useful methods such as: &#8220;FormatColumns&#8221;. Jeej!  And as the methods were used in the Gantt view component, they were public. And then the kicker: the script object is not public! <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />         C*$!!($à   Back to square one! Or are we? Javascript is powerful, really powerful! The variables as methods and enclosures are really nice to use. Inheritance is also way more hackable, as we can override ALL Javascript functions That&#8217;s why I created my own Gantt view type, that is immediately loaded when the grid and Gantt view types are loaded. See this piece of code:</p>
<pre class="brush: js">
  ExecuteOrDelayUntilScriptLoaded(function()
  {
  	  	var oldGanttControl = SP.GanttControl;
  		SP.GanttControl = function()
  		{
  			oldGanttControl.call(this);
  			...
  		};
  },"SPGantt.js");
</pre>
<p>Once I had my hook, it was only a matter of overriding the &#8220;init&#8221; method and catching the grid object, and doing nice stuff with it, such as the column hiding.</p>
<pre class="brush: js">
  ExecuteOrDelayUntilScriptLoaded(function()
  {
  	  	var oldGanttControl = SP.GanttControl;
  		SP.GanttControl = function()
  		{
  			oldGanttControl.call(this);
  			var oldInit = this.Init;
  			this.Init = function(jsGridControl, jsRawGridData, params)
  			{
  			    oldInit.call(this, jsGridControl, jsRawGridData, params);
  			    DoCustomizations(jsGridControl);
  			};
  		};
  },"SPGantt.js");

  function DoCustomizations(grid)
  {
  	grid.HideColumn("Title");
  }
</pre>
<p>Now, the column hiding is only the beginning. You have access to all the grid methods, so there&#8217;s a lot of power! Be sure to check out the main Javascript file &#8220;jsgrid.js&#8221; to find out all the methods. Small hint: use the Visual Studio 2010 addon &#8220;<a href="http://visualstudiogallery.msdn.microsoft.com/288a2b0f-1357-47b4-8215-1134c36bdf30">Javascript parser</a>&#8221; to have a nice overview of the methods in the Javascript file.</p>
<div id="attachment_218" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2011/07/sp2010-gantt-3.png"><img src="http://tomblog.insomniacminds.com/wp-content/uploads/2011/07/sp2010-gantt-3-150x150.png" alt="" title="Gantt view in 2010 with optimizations" width="150" height="150" class="size-thumbnail wp-image-218" /></a><p class="wp-caption-text">Gantt view in 2010 with optimizations</p></div>
<p>Now to add the Javascript to the view , you can use a content editor and add it to the web part page. Don&#8217;t forget to handle the <a href="http://blog.pentalogic.net/2011/03/disappearing-view-selector-menu-sharepoint-2010/">view picker issue</a> when using this method. (I created a second web part that fixes the issue)</p>
<p>Well, that&#8217;s a wrap for the post. Hope you&#8217;ve found it useful! Happy debuging!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2011/07/09/sharepoint-2010-customizing-the-gantt-view-and-the-client-grid/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Speaker at Community day 2010</title>
		<link>http://tomblog.insomniacminds.com/2010/06/15/speaker-at-community-day-2010/</link>
		<comments>http://tomblog.insomniacminds.com/2010/06/15/speaker-at-community-day-2010/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 19:51:54 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=179</guid>
		<description><![CDATA[Just a quick head&#8217;s up, everyone: I&#8217;m a speaker at the Belgian Community day 2010, next week. I&#8217;ll be talking about jQuery and SharePoint 2010, it&#8217;s going to e awesome! :-) This year, the event is in the Utopolis in Mechelen, and as always the event is free. So if you are from around, don&#8217;t hesitate and register! See you there!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.communityday.be/"><img class="alignleft size-full wp-image-180" title="Community Day Speaker" src="http://tomblog.insomniacminds.com/wp-content/uploads/2010/06/blogblingspeaker.png" alt="" width="100" height="80" /></a></p>
<p>Just a quick head&#8217;s up, everyone: I&#8217;m a speaker at the <a title="Community Day 2010" href="http://www.communityday.be/">Belgian Community day 2010</a>, next week. I&#8217;ll be talking about jQuery and SharePoint 2010, it&#8217;s going to e awesome! :-) This year, the event is in the Utopolis in Mechelen, and as always the event is free. So if you are from around, don&#8217;t hesitate and <a title="Register" href="http://www.communityday.be/cd/tabid/58/Default.aspx">register</a>!<br />
See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2010/06/15/speaker-at-community-day-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010: Themes</title>
		<link>http://tomblog.insomniacminds.com/2010/04/22/sharepoint-2010-themes/</link>
		<comments>http://tomblog.insomniacminds.com/2010/04/22/sharepoint-2010-themes/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 23:29:37 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=172</guid>
		<description><![CDATA[Hello world. Long time no see. As SharePoint 2010 went RTM not so long ao, I thought it would be good timing to write a new blog post. This time around, I&#8217;ll talk about SharePoint themes, one of my pet peeves! Why is it one of my pet peeves? Well, SharePoint themes are quite nice, [...]]]></description>
			<content:encoded><![CDATA[<p>Hello world. Long time no see. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>As SharePoint 2010 went <a href="http://blogs.technet.com/office2010/archive/2010/04/15/office-2010-reaches-rtm.aspx">RTM</a> not so long ao, I thought it would be good timing to write a new blog post. This time around, I&#8217;ll talk about SharePoint themes, one of my pet peeves!</p>
<p>Why is it one of my pet peeves? Well, SharePoint themes are quite nice, but are cumbersome to create. Let me elaborate on that. SharePoint Themes are actually CSS files and images only. So you&#8217;ll have to manually override every CSS class on the existing SharePoint design. And for those of you reading my blog, you&#8217;ll know that CSS in SharePoint 2007 is not really that cascading, unfortunately. In other words, it takes ages to get a theme done, and you never have satisfying results.</p>
<p>But, NO MORE!<br />
That&#8217;s right! In SharePoint 2010 themes are actually what they should be: a light and easy variation on a design. And what&#8217;s surprising? It is actually not new technology. The SharePoint team decided to reuse the theme definition and format defined in the Office OpenXML standard. It&#8217;s already been used in PowerPoint 2007 for creating new themes for your slides!</p>
<p>But what is it? Well, a theme is now a definition of 10 colors (4 main colors, and 6 accents) and 2 fonts (basic and title). To make it easily reusable, they&#8217;ve packaged the theme in a .thmx file, which is nothing more than a zip archive of OpenXML xml files. (just like docx, pptx, &#8230;) SharePoint will use this file to change its colors and fonts accordingly. This means you can create your themes in PowerPoint (or reuse your old ones), upload them to SharePoint, and have a freshly branded site in no time! Nifty!</p>
<p>Some tidbids about them.</p>
<ul>
<li>You can actually create your themes in SharePoint 2010. Go to the new Site Theme page in Site settings and change the colors and fonts.<br />
<a href="http://tomblog.insomniacminds.com/wp-content/uploads/2010/04/sp2010-themes-1.png"><img class="alignnone size-thumbnail wp-image-174" title="SharePoint 2010 Themes - Theme change" src="http://tomblog.insomniacminds.com/wp-content/uploads/2010/04/sp2010-themes-1-150x150.png" alt="" width="150" height="150" /></a><br />
You can even preview your changes. If you want to save or reuse your custom theme in other sites or site collection. You can download the created file by going to following url: <a href="http://[server]/[site]/_themes/custom.thmx">http://[server]/[site]/_themes/custom.thmx</a> After that, just upload it to the theme gallery. Nice!</li>
<li>The theme gallery is a site collection wide gallery located at <a href="http://[server]/[sitecollection]/_catalogs/theme/">http://[server]/[sitecollection]/_catalogs/theme/</a> You can access it via the header of each Site Theme page, or by going straight to your Site Collection settings.</li>
<li>You can now push your theme down to subsites, just like you could with your masterpage. This is really handy!</li>
<li>As themes are nothing more than .thmx files stored in a gallery, you could generate and package your themes by server side and on the fly. The main file to know is: /theme/theme/theme1.xml. It looks like this:<br />
<a href="http://tomblog.insomniacminds.com/wp-content/uploads/2010/04/sp2010-themes-2.png"><img class="alignnone size-thumbnail wp-image-176" title="SharePoint 2010: Themes - XML file" src="http://tomblog.insomniacminds.com/wp-content/uploads/2010/04/sp2010-themes-2-150x150.png" alt="" width="150" height="150" /></a><br />
Pretty straightforward, ain&#8217;t it? But SharePoint wouldn&#8217;t be SharePoint if there weren&#8217;t some API classes created we can use. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  The class to know is <a href="http://msdn.microsoft.com/en-us/library/ee658367(v=office.14).aspx">Microsoft.SharePoint.Utilities.ThmxTheme</a> You can get and set the theme of a SPWeb object. But you can also alter its colors and fonts. They even added a method to retrieve the SPFile of the .thmx file. Cool!</li>
<li>As themes define colors and fonts, they are not bound to a specific CSS file nor master page. It means we can use the themes in our own master pages, but it also means it&#8217;s a bit difficult to know where a color will be applied, as it depends where the masterpage uses it. SharePoint 2010 comes with 2 master pages (v4 and nightandday (server only)) and both of them support themes, although v4 does a better job at it. I&#8217;ve compiled a preliminary resume where and how the main colors are being used for v4.
<ul>
<li>Dark 1 &#8211; Page Text</li>
<li>Light 1 &#8211; Page Background, Dynamic Menu Background</li>
<li>Dark 2 &#8211; Menu Text<br />
        Shade (to grey) &#8211; Header background</li>
<li>Light2 &#8211; Menu Background<br />
        Shade (to white) &#8211; Item Background</li>
<li>Accent 1 &#8211; Hovered Top Menu Text<br />
        Shade (to white) &#8211; Selected Menu Background<br />
Mind you this is not a complete for v4.</li>
</ul>
</li>
<li>For a walkthrough on how creating a theme for SPS 2010 with PowerPoint read David Opdendries&#8217; post: <a href="http://spdavid.com/post/2010/01/16/Custom-SharePoint-2010-Themes.aspx">http://spdavid.com/post/2010/01/16/Custom-SharePoint-2010-Themes.aspx</a> Good one David!</li>
</ul>
<p>That&#8217;s it for today. Themes are now far more handy in SharePoint, so I&#8217;ll definitely use them in projects. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  It future posts we&#8217;ll cover also masterpages!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2010/04/22/sharepoint-2010-themes/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Road to SharePoint 2010: Hidden Titbits (Overview Video)</title>
		<link>http://tomblog.insomniacminds.com/2009/08/17/the-road-to-sharepoint-2010-hidden-titbits-overview-video/</link>
		<comments>http://tomblog.insomniacminds.com/2009/08/17/the-road-to-sharepoint-2010-hidden-titbits-overview-video/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 01:13:28 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Hidden]]></category>
		<category><![CDATA[Road to SharePoint 2010]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=137</guid>
		<description><![CDATA[As promised, I continue the series of analyzing the SharePoint 2010 sneak peek videos with the SharePoint 2010 Overview video. My SharePoint: So they changed the My Site to My SharePoint. I guess they put the My Links in there too. But does it mean they rethought the whole &#8220;My Site&#8221; concept? I hope so. In my [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I continue the series of analyzing the SharePoint 2010 sneak peek videos with the <a title="SharePoint 2010 Overview Video" href="http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Overview-Video.aspx">SharePoint 2010 Overview video</a>.</p>
<ul>
<li>My SharePoint:<br />
So they changed the My Site to My SharePoint. I guess they put the My Links in there too. But does it mean they rethought the whole &#8220;My Site&#8221; concept? I hope so. In my experience the My Sites (which are separate site collections per user) are not frequently used. Most company documents should be stored in team sites anyway. They should only be used to store information users want to share with coworkers only (blogs for example). Not many people like to target such a small group, however.</p>
<p><div id="attachment_143" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_1.png"><img class="size-thumbnail wp-image-143" title="SharePoint 2010: My SharePoint" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_1-150x150.png" alt="SharePoint 2010: My SharePoint" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: My SharePoint</p></div></li>
<li>Site Pages:<br />
So what are these site pages? It is definitely a library of pages within a team site. But it is a special one, as it gets special tie ins in the user interface (SharePoint Designer, View All Pages). In the end it strangely ressembles the Pages library of MOSS 2007. This would mean that Publishing pages are the default now within Team Sites. (you can see they edit a &#8220;wiki content&#8221; publishing control) I think this is a good thing, aspecially if they merge every page to one kind of page. This would also mean WSS (or whatever they will name the free version, if there is one) will contain publishing features or something in the likes. I&#8217;m really curious how this turns out to be.<br />
  </p>
<div id="attachment_144" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_2.png"><img class="size-thumbnail wp-image-144" title="SharePoint 2010: Site Pages I" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_2-150x150.png" alt="SharePoint 2010: Site Pages I" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Site Pages I</p></div>
<p> </p>
<div id="attachment_146" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_4.png"><img class="size-thumbnail wp-image-146" title="SharePoint 2010: Site Pages II" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_4-150x150.png" alt="SharePoint 2010: Site Pages II" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Site Pages II</p></div>
<p> </p>
<div id="attachment_145" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_3.png"><img class="size-thumbnail wp-image-145" title="SharePoint 2010: Site Pages in SharePoint Designer" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_3-150x150.png" alt="SharePoint 2010: Site Pages in SharePoint Designer" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Site Pages in SharePoint Designer</p></div>
<p> </li>
<li>Site Workflows:<br />
I developed quite a few workflows, so this one I&#8217;m a pretty interested in. If this is what I think it is, it means that they&#8217;ve implemented workflows being able to run within the context of sites, instead of only list items.<br />
I wonder how this &#8216;ll be implemented, as it&#8217;s pretty tied in with the list item concept. I hope they created a new programming interface in the object model, similar to the ISecurableObject (which is implemented by SPWeb, SPListItem and SPList), and hopefully it&#8217;ll be open to use. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
However it turns out, it&#8217;ll mean being able to develop a whole new kind of workflows which would really fill up a lack in the product.</p>
<div id="attachment_147" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_5.png"><img class="size-thumbnail wp-image-147" title="SharePoint 2010: Site Workflows" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_5-150x150.png" alt="SharePoint 2010: Site Workflows" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Site Workflows</p></div>
<p><div id="attachment_148" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_6.png"><img class="size-thumbnail wp-image-148" title="SharePoint 2010: Site Workflows in Site Settings" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_6-150x150.png" alt="SharePoint 2010: Site Workflows in Site Settings" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Site Workflows in Site Settings</p></div></li>
<li>Office Web Apps:<br />
One of the more discussed feature of the new 2010 version of Office is the presence of web versions of the main applications. Word, Excel, PowerPoint, OneNote, and appearantly also a Visio viewer. This is what Windows blogger Paul Thurrott said: &#8220;The Office Web Applications will be distributed via Office Live&#8230;. while businesses can actual host on-site.&#8221;My guess is that the on-site version will be wrapped in some sort of enterprise version of SharePoint 2010. And I think you&#8217;ll have 3 ways to use them: Office Live, on-site SharePoint and SharePoint online (BPOS). But behind the scenes they&#8217;ll all use SharePoint 2010 technology (application pages). You can find lots of clues of SharePoint as host, in the urls and such. (application pages, document libraries, &#8230;) Too bad there doesn&#8217;t really seem to be consistency in the naming conventions of the urls (some get separate folders within the _layouts dir, some get viewer, &#8230;). I hope they&#8217;ll fix this in the final release.Also, it seems you&#8217;ll be able to use them directly as a web part in your pages. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div id="attachment_150" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_7.png"><img class="size-thumbnail wp-image-150" title="SharePoint 2010: Word Web Application" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_7-150x150.png" alt="SharePoint 2010: Word Web Application" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Word Web Application</p></div>
<div id="attachment_150" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_8.png"><img class="size-thumbnail wp-image-150" title="SharePoint 2010: Powerpoint Web Application" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_8-150x150.png" alt="SharePoint 2010: Powerpoint Web Application" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Powerpoint Web Application</p></div>
<div id="attachment_151" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_9.png"><img class="size-thumbnail wp-image-151" title="SharePoint 2010: Visio Web Viewer" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_9-150x150.png" alt="SharePoint 2010: Visio Web Viewer" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Visio Web Viewer</p></div>
<p><div id="attachment_152" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_10.png"><img class="size-thumbnail wp-image-152" title="SharePoint 2010: Client Application Web Parts" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_10-150x150.png" alt="SharePoint 2010: Client Application Web Parts" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Client Application Web Parts</p></div></li>
<li>Themes:<br />
It seems you can now push themes to subsites and make &#8216;em inherit from the parent site. Nice!</p>
<div id="attachment_153" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_11.png"><img class="size-thumbnail wp-image-153" title="SharePoint 2010: Applying Themes I" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_11-150x150.png" alt="SharePoint 2010: Applying Themes I" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Applying Themes I</p></div>
<p><div id="attachment_154" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_12.png"><img class="size-thumbnail wp-image-154" title="SharePoint 2010: Applying Themes II" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/08/rs10_overview_12-150x150.png" alt="SharePoint 2010: Applying Themes II" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Applying Themes II</p></div></li>
</ul>
<p>Ok, that&#8217;s it for the overview video. Hope you&#8217;ve liked it. See ya!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2009/08/17/the-road-to-sharepoint-2010-hidden-titbits-overview-video/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Road to SharePoint 2010: Hidden Titbits (IT Pro Video)</title>
		<link>http://tomblog.insomniacminds.com/2009/07/15/the-road-to-sharepoint-2010-hidden-titbits-it-pro-video/</link>
		<comments>http://tomblog.insomniacminds.com/2009/07/15/the-road-to-sharepoint-2010-hidden-titbits-it-pro-video/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 23:07:23 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Hidden]]></category>
		<category><![CDATA[Road to SharePoint 2010]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=125</guid>
		<description><![CDATA[I guess everyone saw the new videos of SharePoint 2010 posted by the product team? So, is every one getting excited by the new Ribbon interface, direct web edit, and so on? You should! While I was watching the videos I noticed a couple of things. And I thought I could share with you guys! Mind you, these [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<div class="mceTemp">
<div class="mceTemp">
<div class="mceTemp">
<div class="mceTemp">I guess everyone saw the <a href="http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/default.aspx">new videos</a> of SharePoint 2010 posted by the <a href="http://blogs.msdn.com/sharepoint/archive/2009/07/13/announcing-sharepoint-2010-technical-preview.aspx">product team</a>? So, is every one getting excited by the new Ribbon interface, direct web edit, and so on? You should! While I was watching the videos I noticed a couple of things. And I thought I could share with you guys! Mind you, these are only some wild guesses from my part. They are just my interpretations of what I saw. These are all taken from the IT Pro Video.</div>
</div>
</div>
</div>
</div>
<ul>
<li>List Settings:<br />
There seem to be some new options in there. More particulary: Validation Settings, Rating Settings, Metadata Navigation Settings, Per Location Settings &#8220;unknown&#8221; settings (can&#8217;t really read that one) and Generate File Plan Report . Don&#8217;t really know what they all could mean. </p>
<div class="mceTemp">
<div id="attachment_127" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_1.png"><img class="size-thumbnail wp-image-127" title="SharePoint 2010: List Settings" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_1-150x150.png" alt="SharePoint 2010: List Settings" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: List Settings</p></div>
</div>
</li>
<li>Send To Connections:<br />
Pretty obvious here. In the previous version we were allowed to have only one custom send to. This menu item seems to point to multiple ones!</p>
<p><div id="attachment_128" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_2.png"><img class="size-thumbnail wp-image-128" title="SharePoint 2010: Send to Connections" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_2-150x150.png" alt="SharePoint 2010: Send to Connections" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Send to Connections</p></div></li>
<li>Webservice for clientside SP manipulation:<br />
I guess this is the new webservice intended to run the queries we can launch on client side using the new client object model (more info on this in a later post)</p>
<p><div id="attachment_129" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_3.png"><img class="size-thumbnail wp-image-129" title="SharePoint 2010: Client Side Web Service" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_3-150x150.png" alt="SharePoint 2010: Client Side Web Service" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Client Side Web Service</p></div></li>
<li>Site/List Export:<br />
This is a nice feature! Three things I noticed</p>
<ul>
<li>Why oh why has this to be a timerjob? Can&#8217;t we just export directly?</li>
<li>Oh, we got a new file format: .cmp. I wonder what goodness is inside! <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>Nice work with the version export. We have some nice options there.
<p><div id="attachment_131" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_5.png"><img class="size-thumbnail wp-image-131" title="SharePoint 2010: List/Site Export" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_5-150x150.png" alt="SharePoint 2010: List/Site Export" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: List/Site Export</p></div></li>
</ul>
</li>
<li>Site Settings:<br />
They showed us a quick look at the site settings. Looks like they changed the behaviour of this application page. It shows now the local navigation bar. Also some small new things: Search and Offline Availability (probably for the new SharePoint Workspace (groove)), Related Links Store Management and Term Store Management. Nifty!</p>
<p><div id="attachment_132" class="wp-caption alignnone" style="width: 160px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_6.png"><img class="size-thumbnail wp-image-132" title="SharePoint 2010: Site Settings" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/07/rs10_itpro_6-150x150.png" alt="SharePoint 2010: Site Settings" width="150" height="150" /></a><p class="wp-caption-text">SharePoint 2010: Site Settings</p></div></li>
</ul>
<p>Nice things in this video. SharePoint 2010 looks different, but we do recognize a lot of the options. Don&#8217;t let the ribbon fool you. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I&#8217;ll try to post some more video reviews soon.</p>
<p>Good night all!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2009/07/15/the-road-to-sharepoint-2010-hidden-titbits-it-pro-video/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SharePoint Tricks: Allow Duplicate Column Names</title>
		<link>http://tomblog.insomniacminds.com/2009/06/29/sharepoint-tricks-allow-duplicate-column-names/</link>
		<comments>http://tomblog.insomniacminds.com/2009/06/29/sharepoint-tricks-allow-duplicate-column-names/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 23:02:20 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Columns]]></category>
		<category><![CDATA[Fields]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=103</guid>
		<description><![CDATA[One of the restrictions of SharePoint I always stumbled upon when clicking a SharePoint site together was the one of duplicate column names. I bet you&#8217;ve all seen it. You&#8217;re creating some columns (list or site ones) and suddenly SharePoint gives you this error: I finally got pissed at this problem, so I decided to [...]]]></description>
			<content:encoded><![CDATA[<p>One of the restrictions of SharePoint I always stumbled upon when clicking a SharePoint site together was the one of duplicate column names. I bet you&#8217;ve all seen it. You&#8217;re creating some columns (list or site ones) and suddenly SharePoint gives you this error:</p>
<div id="attachment_105" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-105" title="SharePoint Tricks: Duplicate column name error" src="http://tomblog.insomniacminds.com/wp-content/uploads/2009/06/st_dcn_1.png" alt="SharePoint Tricks: jfjfjf" width="500" height="119" /><p class="wp-caption-text">SharePoint Tricks: Duplicate column name error</p></div>
<p>I finally got pissed at this problem, so I decided to investigate. Now, as I developed some columns through the feature framework, I knew it was possible to create columns with the same name, Display Name that is. Just look at Title. How many different &#8220;Title&#8221; columns can you see in the edit view screen? So I decided to take a look in the fldnew.aspx page, and what did I discover? A nice javascript array with all &#8220;forbidden&#8221; column names. I tried to make that array empty and tried again. Magic! The column name was approved. For some reason the team decided to block duplicate names off. But I feel this can be handy some times, especially when creating site columns. You are bound to hit this limitation some time.</p>
<p>But what does SharePoint do internally? It will always make a unique internal name (eg. if you enter Title, it will create a field with Title0 as internal name and Title as display name) A good practice however is to first create a field with a &#8220;good&#8221; internal name. Good meaning, no spaces, no weird characters, clear. And afterwards renaming it using this trick. Now, what is the trick you will ask? Well, quite simply: once the fldnew.aspx or fldedit.aspx page is loaded. Head toward the address bar of your browser and enter following javascript.</p>
<p><code>javascript:g_FieldName={};alert('ok');</code></p>
<p>This code will clear the &#8220;forbidden&#8221; column names array and give you a visual confirmation when you can go on.</p>
<p>I hope this little trick will help some of you guys. Use it with wisedom however. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  &#8217;till next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2009/06/29/sharepoint-tricks-allow-duplicate-column-names/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>SharePoint Tricks: Content By Query for Single Web</title>
		<link>http://tomblog.insomniacminds.com/2008/08/05/sharepoint-tricks-content-by-query-for-single-web/</link>
		<comments>http://tomblog.insomniacminds.com/2008/08/05/sharepoint-tricks-content-by-query-for-single-web/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 22:06:11 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Content by Query]]></category>
		<category><![CDATA[Recursive]]></category>
		<category><![CDATA[Single]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=92</guid>
		<description><![CDATA[Quick little trick tonight for all you SharePoint configurators out there. Ever needed to use the Content by Query Webpart and query for just a single site? Yes? Well, then you probably &#8216;ve noticed there is no such option when configuring the webpart&#8230; right? Wrong! There is a way to enable single site quering, and it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Quick little trick tonight for all you SharePoint configurators out there. Ever needed to use the Content by Query Webpart and query for just a single site? Yes? Well, then you probably &#8216;ve noticed there is no such option when configuring the webpart&#8230; right?</p>
<div id="attachment_94" class="wp-caption alignnone" style="width: 276px"><img class="size-full wp-image-94 " title="Content by Query Source Options" src="http://tomblog.insomniacminds.com/wp-content/uploads/2008/08/st_cbqsw.png" alt="Content by Query Source Options" width="266" height="263" /><p class="wp-caption-text">Content by Query Source Options</p></div>
<p>Wrong! There is a way to enable single site quering, and it&#8217;s actually not that hard. First thing you have to do is export your webpart to a file. Open your .webpart file and add (or replace the old one with) this little property:</p>
<p><code>&lt;property name="WebsOverride" type="string"&gt;&amp;lt;Webs /;&amp;gt;&lt;/property&gt;<br />
</code><br />
This property will, as its name suggests, override the webs property of the sitedataquery. By default the content by query webpart will fill this in with SiteCollection or Recursive. But if you don&#8217;t want this, just overwrite it with this (empty) Webs value.<br />
After adjusting your file, upload it back to your page, and add an instance of your new webpart. And there you have it, single site goodness. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Hope it helps! Good night.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2008/08/05/sharepoint-tricks-content-by-query-for-single-web/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SharePoint Internals: Clearing Configuration Cache Caveat</title>
		<link>http://tomblog.insomniacminds.com/2008/07/30/sharepoint-internals-clearing-configuration-cache-caveat/</link>
		<comments>http://tomblog.insomniacminds.com/2008/07/30/sharepoint-internals-clearing-configuration-cache-caveat/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 20:46:28 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[Internals]]></category>
		<category><![CDATA[Jobdefinition]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Timerjob]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=86</guid>
		<description><![CDATA[I&#8217;m pretty sure most of you have heard of the SharePoint Cache. This is a directory full of cached objects, nicely wrapped in XML. Sometimes however this cache can become corrupted. A great example of this occurs when developing SPJobDefinitions (TimerJobs for SharePoint). These definitions use this cache, so everytime you deploy new versions of [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">I&#8217;m pretty sure most of you have heard of the SharePoint Cache. This is a directory full of cached objects, nicely wrapped in XML. Sometimes however this cache can become corrupted. A great example of this occurs when developing SPJobDefinitions (TimerJobs for SharePoint). These definitions use this cache, so everytime you deploy new versions of the assemblies, you&#8217;ll have to clear the cache. More info about this:</div>
<ul>
<li><a href="http://support.microsoft.com/kb/939308">KB939308</a></li>
<li><a href="http://blogs.msdn.com/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx">Clear the SharePoint Configuration Cache for Timer Job and PSCONFIG errors </a></li>
<li><a href="http://jopx.blogspot.com/2008/01/clearing-sharepoint-configuration-cache.html">Clearing the SharePoint configuration cache</a></li>
</ul>
<p>Clearing the cache, means deleting all the XML files. But what if you delete the entire directory? Well, it gets messy.. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  SharePoint TimerJobs just stop working all together. And to top it off, you get these nice error messages:</p>
<blockquote><p>SPTimerStore.InitializeTimer: SPConfigurationDatabase.RefreshCache returned SPConstants.InvalidRowVersion <br />
The timer service could not initialize its configuration, please check the configuration database.  Will retry later.</p></blockquote>
<p>Great! :p</p>
<p>So what happened? The directory in question is: <strong>C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\&lt;guid&gt;\</strong>. So the name of the directory is some kind of identifier. Looks pretty innocent, huh..  it isn&#8217;t!<br />
When this happened to me earlier on today, I wasn&#8217;t really feeling at ease. The timerjobs didn&#8217;t want to run, and no one seemed to know what this guid was. After a few hours of reverse engineering however, I found discovered this was actually the config DB ID. Nice! But where can I find it? Luckily it was not hard to find out. You&#8217;ll have to open up the registry and go to: <strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB</strong>. </p>
<div class="mceTemp">
<div id="attachment_90" class="wp-caption alignnone" style="width: 278px"><a href="http://tomblog.insomniacminds.com/wp-content/uploads/2008/07/si_cc_1.png"><img class="size-medium wp-image-90" title="The config DB registry key" src="http://tomblog.insomniacminds.com/wp-content/uploads/2008/07/si_cc_1-300x200.png" alt="The config DB registry key." width="268" height="190" /></a><p class="wp-caption-text">The config DB registry key.</p></div>
</div>
<p>In this key, you&#8217;ll find the config DB id. Now all you have to do, is create a directory with this guid and restart the SharePoint Timer service. And you&#8217;ll see your XML files reappearing, and soon after your timerjobs restarting. Phuw, that was a close one.. <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>&#8217;till next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2008/07/30/sharepoint-internals-clearing-configuration-cache-caveat/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>SharePoint Branding Issues: Edit In Datasheet View</title>
		<link>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/</link>
		<comments>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 00:06:38 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[Branding]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[core.js]]></category>
		<category><![CDATA[Datasheet]]></category>
		<category><![CDATA[Issues]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Master Pages]]></category>
		<category><![CDATA[View]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=81</guid>
		<description><![CDATA[For a couple of weeks now, I&#8217;ve got some reports about crashing datasheet views when using custom master pages. As a reminder, the datasheet view is a view you can select when browsing within a list. It&#8217;ll enable you to view and edit the list in an excell-like format. Quite handy for bulk changes. So, [...]]]></description>
			<content:encoded><![CDATA[<p>For a couple of weeks now, I&#8217;ve got some reports about crashing datasheet views when using custom master pages. As a reminder, the datasheet view is a view you can select when browsing within a list. It&#8217;ll enable you to view and edit the list in an excell-like format. Quite handy for bulk changes.</p>
<p>So, what is happening? I noticed the page was going into an infinite loop. When debugging I stumbled upon the GC-functions. Those functions are located in core.js and control the resizing of the datasheet view control. After carefull reviewing, I noticed the document.documentElement.scrollHeight was growing and growing. It seemed that my custom master page let the scroll height go out of it bounds.</p>
<p>To fix this, I simply bound the scroll height to the client height. To accomplish this, you look for</p>
<p><code>var lGCWindowHeight=document.documentElement.scrollHeight;<br />
</code><br />
in core.js and replace it with</p>
<p><code>var lGCWindowHeight=(document.documentElement.scrollHeight>document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.documentElement.scrollHeight;<br />
</code><br />
This seemed to solve the problem and stopped the browser from crashing.</p>
<p>But why was this happenning? My best bet is the use of a specific doctype in my masterpage. In quirks mode, IE includes top and bottom borders and padding widths when calculating the offsetheight. Standard mode only defines the content height as offsetheight. I&#8217;m guessing core.js relies on the extra margins. Now, the strange thing is, the custom master pages of MOSS (BlueBand, OrangeSingleLevel, &#8230;) do not experience this bug, altough they also use a specific doctype. I didn&#8217;t really investigate into it too much, but I suspect they restrict the height of some container surrounding the main content. This could stop the growth of offsetheight. If anyone of you, readers, can confirm this behaviour, feel free to respond in the comments.</p>
<p>In the meantime.. have fun branding!</p>
<p><strong>Update:</strong> according to reader Rufino, you can also revert this behaviour by specifying a height. Didn&#8217;t test it yet, but I&#8217;m pretty sure this &#8216;ll do the trick too. Thanks Rufino!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

