<?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>Steve&#039;s SharePoint blog</title>
	<atom:link href="http://vspug.com/stevekay72/feed/" rel="self" type="application/rss+xml" />
	<link>http://vspug.com/stevekay72</link>
	<description>Just another VSPUG - Virtual SharePoint User Group weblog</description>
	<lastBuildDate>Thu, 16 Aug 2007 14:20:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create Sub Folders in Lists Programmatically</title>
		<link>http://vspug.com/stevekay72/2007/08/16/create-sub-folders-in-lists-programmatically/</link>
		<comments>http://vspug.com/stevekay72/2007/08/16/create-sub-folders-in-lists-programmatically/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 14:20:24 +0000</pubDate>
		<dc:creator>stevekay72</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[I had a requirement to use the new sub folders feature of WSS 3.0 for lists and had a dig around the object model on a way to implement it.
The SPList object has a handy way of referencing the subfolders through _spList.RootFolder.SubFolders and there are methods on the returned object that allow you to manipulate [...]]]></description>
			<content:encoded><![CDATA[<p>I had a requirement to use the new sub folders feature of WSS 3.0 for lists and had a dig around the object model on a way to implement it.</p>
<p>The SPList object has a handy way of referencing the subfolders through <strong><font color="#004080"><font color="#0000ff">_spList.RootFolder.SubFolders</font> </font></strong>and there are methods on the returned object that allow you to manipulate the folders.</p>
<p>Such a method is the <strong><font color="#0000ff">Add </font></strong>method which takes a <em>folderName</em> parameter &#8211; great!</p>
<p>However, if you create a folder this way and look at the list through the browser, you will not find the folder.&nbsp; It is there, but it is completely hidden!</p>
<p>Perversely, Redmond decided that this was not the way to create folders in WSS 3.0, and they are actually created using the following code:</p>
<blockquote><p><font face="Courier New">SPListItem newFolder = _spList.Items.Add( &quot;&quot;, SPFileSystemObjectType.Folder, <em>folderName</em>);</font></p>
</blockquote>
<blockquote><p><font face="Courier New">newFolder.Update();</font></p>
</blockquote>
<p>Basically you are creating a new list item with a &#39;Folder&#39; type.</p>
<p>Thanks to <a href="http://blogs.msdn.com/powlo" target="_blank">Paul</a>, our Microsoft consultant, for locating the correct way of doing this!</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/stevekay72/2007/08/16/create-sub-folders-in-lists-programmatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saving hidden WebPart properties</title>
		<link>http://vspug.com/stevekay72/2007/08/03/saving-hidden-webpart-properties/</link>
		<comments>http://vspug.com/stevekay72/2007/08/03/saving-hidden-webpart-properties/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 15:24:22 +0000</pubDate>
		<dc:creator>stevekay72</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[I quite often use hidden web part properties for sensitive information and properties that I just don&#39;t want the user to update.&#160; With WSS 2.0 and the Microsoft.SharePoint.WebPartPages.WebPart namespace, this was easily achieved by setting:
this.SaveProperties = true;
On moving to MOSS and WSS 3.0 I decided to use the System.Web.UI.WebControls.WebParts.WebPart namespace (as recommended) and of course [...]]]></description>
			<content:encoded><![CDATA[<p>I quite often use hidden web part properties for sensitive information and properties that I just don&#39;t want the user to update.&nbsp; With WSS 2.0 and the <strong><font color="#0000ff">Microsoft.SharePoint.WebPartPages.WebPart</font></strong> namespace, this was easily achieved by setting:</p>
<p><font face="Courier New">this.SaveProperties = true;</font></p>
<p>On moving to MOSS and WSS 3.0 I decided to use the <font color="#0000ff"><strong>System.Web.UI.WebControls.WebParts.WebPart</strong></font> namespace (as recommended) and of course the <em>SaveProperties</em> property does not exist.&nbsp; I could of course continue using the original namespace, but that would mean that the web part could only be hosted on a SharePoint site, and it was my intention to broaden the scope a little.</p>
<p>After a fair amount of Google searching I stumbled across the solution.&nbsp; The method I was looking for was:</p>
<p><font face="Courier New">this.SetPersonalisationDirty();</font></p>
<p>So problem solved!</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/stevekay72/2007/08/03/saving-hidden-webpart-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Navigation Tabs</title>
		<link>http://vspug.com/stevekay72/2007/06/01/custom-navigation-tabs/</link>
		<comments>http://vspug.com/stevekay72/2007/06/01/custom-navigation-tabs/#comments</comments>
		<pubDate>Fri, 01 Jun 2007 13:53:41 +0000</pubDate>
		<dc:creator>stevekay72</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am currently working on a large SharePoint project looking to migrate to MOSS 2007.&#160; I have been involved in the investigations into the migration of our custom 2003 web parts over to MOSS.
One of my current challenges is to replace the top navigation bar with custom tabs, as our customer does not require the [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently working on a large SharePoint project looking to migrate to MOSS 2007.&nbsp; I have been involved in the investigations into the migration of our custom 2003 web parts over to MOSS.</p>
<p>One of my current challenges is to replace the top navigation bar with custom tabs, as our customer does not require the &#39;standard&#39; set of tabs to be displayed.&nbsp; Also the tabs are dynamic depending on what level of user is logged in and what responsibilities they have to the organisation.</p>
<p>So far I have found 2 strategies:</p>
<ol>
<li>Add a custom web part to the page that will generate the custom tabs when the page is loaded.&nbsp; This also requires the &#39;My Home&#39;, etc tabs to be removed via editing the master pages.&nbsp; This is quite slow and increases the load time of the page.</li>
<li>Add a custom navigation provider to the master page.&nbsp; This is quite involved but does have the advantage of fast load times for the page if implemented properly.</li>
</ol>
<p>Will post more details later as I am in the middle of developing something else (non-sharepoint)</p>
<p><img src="/aggbug.aspx?PostID=28289" width="1" height="1" alt="  " /></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/stevekay72/2007/06/01/custom-navigation-tabs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
