<?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>Tue, 15 Jun 2010 19:51:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<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>0</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>
<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>
<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>
<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>
<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>
<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>
<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>2</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>2</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>8</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>15</slash:comments>
		</item>
		<item>
		<title>SharePoint Tricks: Adding Google Search To Search Scopes</title>
		<link>http://tomblog.insomniacminds.com/2008/04/01/sharepoint-tricks-adding-google-search-to-search-scopes/</link>
		<comments>http://tomblog.insomniacminds.com/2008/04/01/sharepoint-tricks-adding-google-search-to-search-scopes/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 23:54:56 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/?p=75</guid>
		<description><![CDATA[Tonight&#8217;s article is one based on a little trick I pulled of last year at one of my customer&#8217;s Intranet. As it turns out, there seems to be quite some people using Google Search (Live Search anyone?) So how do we add this search scope? The trick lies in a custom page for the search [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight&#8217;s article is one based on a little trick I pulled of last year at one of my customer&#8217;s Intranet. As it turns out, there seems to be quite some people using Google Search (Live Search anyone?) <img src='http://tomblog.insomniacminds.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
So how do we add this search scope? The trick lies in a custom page for the search scope. When creating a search scope in your site collection settings, you&#8217;re allowed to enter a custom search page.</p>
<p> <img src="http://tomblog.insomniacminds.com/wp-content/uploads/2008/04/st_googlesearchscope_1.jpg" alt="SharePoint Tricks: Google Search Scope Configuration" width="517" height="84" /></p>
<p>This custom search page simply has to redirect to the google query webpage: eg.<em>http://www.google.com/search?q=<strong>ENTER+A+WORD</strong></em>. Don&#8217;t forget to replace the ENTER+A+WORD content of the q variable with the k variable you find in the query string of the custom page. This is whare all the magic lies, you see. So in the end, we&#8217;re basicly rerouting the query from SharePoint to Google. Pretty simple, but very effective!</p>
<p> <img src="http://tomblog.insomniacminds.com/wp-content/uploads/2008/04/st_googlesearchscope_2.jpg" alt="SharePoint Tricks: Google Searc Scope Use" width="447" height="54" /></p>
<p>Hope you guys liked the trick. See you next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2008/04/01/sharepoint-tricks-adding-google-search-to-search-scopes/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>SharePoint Internals: Resources</title>
		<link>http://tomblog.insomniacminds.com/2008/02/25/sharepoint-internals-resources/</link>
		<comments>http://tomblog.insomniacminds.com/2008/02/25/sharepoint-internals-resources/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 01:34:33 +0000</pubDate>
		<dc:creator>Tombo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://tomblog.insomniacminds.com/2008/02/25/sharepoint-internals-resources/</guid>
		<description><![CDATA[In a country where English is not the native tongue, localisation can be pretty important. Localisation within SharePoint is achieved by using resources and resource files. Although the use of resources is not mandatory, it&#8217;s usually good practise to use them anyway. You don&#8217;t want to hard code strings in your application, and, moreover, you [...]]]></description>
			<content:encoded><![CDATA[<p>In a country where English is not the native tongue, localisation can be pretty important. Localisation within SharePoint is achieved by using resources and resource files. Although the use of resources is not mandatory, it&#8217;s usually good practise to use them anyway. You don&#8217;t want to hard code strings in your application, and, moreover, you never know when your application should be localized. Setting up and using these resources in SharePoint can be quite confusing. So here is a little article covering this topic.</p>
<p><strong>Resources</strong></p>
<p>Resources &#8211; in this case: strings &#8211; are contained within XML based .resx files. Every resource in such a file is identified by a fixed name. (quite like a HashTable) Here is a little example.</p>
<p><code>&lt;root&gt;<br />
&lt;data name="FieldManagerPageDescription"&gt;<br />
&lt;value&gt;Manage the field of this application.&lt;/value&gt;<br />
&lt;/data&gt;<br />
&lt;/root&gt;<br />
</code><br />
For every new localization, you need a new .resx file with the same names as keys. You can just copy the original .resx file to achieve this quickly. In this new resource file you translate the original values within the value tag. The new resource file has to be named as follows: &lt;original_name&gt;.&lt;culture&gt;.resx.<br />
eg. &#8211; myresource.resx<br />
- myresource.en-US.resx<br />
- myresource.fr-FR.resx</p>
<p><strong>SharePoint &amp; Resources</strong></p>
<p>First thing you need to know, SharePoint defines two kinds of Resource files: Application resources and Provisioning resources. <strong>Application resources</strong> are resources used within the normal execution of the SharePoint application. Normal SharePoint execution include: Application Pages, Web Parts and Controls. SharePoint also makes a difference between application resources used in normal web applications and application resources used in the central administration. Don&#8217;t forget that. <strong>Provisioning resources</strong>, on the other hand, are used when provisioning elements, so you have to use them within features, site definitions and list definitions. Ok, now let&#8217;s see the practical side of it: deployment and usage.</p>
<p><strong>1. Deployment</strong></p>
<p>Resource files in SharePoint are located in different folders. Here is a list:</p>
<ul>
<li>C:\Inetpub\wwwroot\wss\VirtualDirectories\&lt;port&gt;\App_GlobalResources\</li>
<li>&lt;hive&gt;\12\Resources\</li>
<li>&lt;hive&gt;\12\CONFIG\Resources\</li>
<li>&lt;hive&gt;\12\CONFIG\AdminResources\</li>
<li>&lt;hive&gt;\12\TEMPLATE\FEATURES\&lt;feature&gt;\Resources\</li>
</ul>
<p>So, how do you know where to put your resource files? Well, every type of resource has its own folders.</p>
<p><em>Provisioning resources</em></p>
<ul>
<li>&lt;hive&gt;\12\TEMPLATE\FEATURES\&lt;feature&gt;\Resources\Resources.&lt;culture&gt;.resx</li>
<li>&lt;hive&gt;\12\TEMPLATE\FEATURES\&lt;feature&gt;\Resources\</li>
<li>&lt;hive&gt;\12\Resources\</li>
</ul>
<p>Every feature uses the resources file located in its Resources folder. You can however use another resource file or even share resources. To share resource files you have to put them in the 12\Resources\ folder. Site definitions and list definitions also get their resources from this folder.</p>
<p><em>Application resources</em></p>
<ul>
<li>&lt;hive&gt;\12\CONFIG\Resources\</li>
<li>C:\Inetpub\wwwroot\wss\VirtualDirectories\&lt;port&gt;\App_GlobalResources\</li>
</ul>
<p>Application resources are located in CONFIG\Resources folder. For a web application to use those resources, they have to be copied to their App_GlobalResources folder. (each web application has its own Global Resources folder) How is this done? At creation of the web application, the resources are initially copied to the App_GlobalResources folder. When adding new resources to the CONFIG\Resources folder, the resources have to be copied to existing web applications. You can do this manually or use the STSADM command: copyappbincontent.</p>
<p><em>Application resources: admin</em></p>
<ul>
<li>&lt;hive&gt;\12\CONFIG\AdminResources\</li>
<li>C:\Inetpub\wwwroot\wss\VirtualDirectories\&lt;port&gt;\App_GlobalResources\</li>
</ul>
<p>Application resources for the central administration work the same way as normal application resources, except that the base folder is CONFIG\AdminResources.</p>
<p><strong>2. Usage</strong></p>
<p>This last part will focus on how to use resources within SharePoint elements. Luckily it doesn&#8217;t really matter which kind of resource you are using. Here are the different ways:</p>
<p>In C#:<br />
<code>HttpContext.GetGlobalResourceObject("MyResource", "MyName").ToString();</code></p>
<p>In ASPX properties:<br />
<code>&lt;%$Resources:MyResource, MyName%&gt;</code></p>
<p>In ASPX as text:<br />
<code>&lt;asp:literal runat="server" Text="&lt;%$Resources:MyResource, MyName%&gt;" /&gt;</code></p>
<p>In XML:<br />
<code>$Resources:MyResource, MyName</code></p>
<p>In XML features, using the default resource file:<br />
<code>$Resources:MyName</code></p>
<p><strong>3. Conclusion</strong></p>
<p>There you go. Everything you will ever want to know about resources in SharePoint.</p>
<p>Part of this article is derived from the excellent article of <a href="http://www.mikhaildikov.com/2007/03/sharepoint-resources-types-use-and_2163.html ">Mikhail Dikov</a>. You can consider this article as some sort of extension of his article. Be sure to read it. Also, I&#8217;d like to thank Tom Verhelst for the heads up on the copyappbincontent. Thanks man!</p>
<p>Have a great week!</p>
]]></content:encoded>
			<wfw:commentRss>http://tomblog.insomniacminds.com/2008/02/25/sharepoint-internals-resources/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
