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

<channel>
	<title>SharePoint NutBag's Weblog</title>
	<atom:link href="http://sharepointnutbag.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointnutbag.wordpress.com</link>
	<description>A development and administration blog for SharePoint and C# code monkeys.</description>
	<lastBuildDate>Tue, 03 Mar 2009 15:39:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sharepointnutbag.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>SharePoint NutBag's Weblog</title>
		<link>http://sharepointnutbag.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sharepointnutbag.wordpress.com/osd.xml" title="SharePoint NutBag&#039;s Weblog" />
	<atom:link rel='hub' href='http://sharepointnutbag.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Content Editor web part is causing javascript errors</title>
		<link>http://sharepointnutbag.wordpress.com/2009/03/03/content-editor-web-part-is-causing-javascript-errors/</link>
		<comments>http://sharepointnutbag.wordpress.com/2009/03/03/content-editor-web-part-is-causing-javascript-errors/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 15:37:53 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Issues]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=120</guid>
		<description><![CDATA[Sometimes you&#8217;ll get a javascript error &#8220;style.display is null or not an object&#8221; and as a result you&#8217;re unable to modify the certain random web part&#8217;s properties on the edit page. This is because the content of a Content Editor web part (CEWP) on the page has been copied and pasted from another CEWP and it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=120&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes you&#8217;ll get a javascript error &#8220;style.display is null or not an object&#8221; and as a result you&#8217;re unable to modify the certain random web part&#8217;s properties on the edit page. This is because the content of a Content Editor web part (CEWP) on the page has been copied and pasted from another CEWP and it has brought across some CSS script with it that is causing the error.</p>
<p>To fix the problem you need to delete the CEWP in question.  If you can&#8217;t delete it through the web part&#8217;s menu because of the error simply navigate to the page&#8217;s web part maintenance page by adding ?contents=1 to the page URL.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=120&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2009/03/03/content-editor-web-part-is-causing-javascript-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
		<item>
		<title>Saving the date &amp; time using the web regional settings</title>
		<link>http://sharepointnutbag.wordpress.com/2009/02/11/saving-the-date-time-using-the-web-regional-settings/</link>
		<comments>http://sharepointnutbag.wordpress.com/2009/02/11/saving-the-date-time-using-the-web-regional-settings/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:55:02 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=117</guid>
		<description><![CDATA[When you&#8217;re processing an event on the server you&#8217;ll often need to use the web&#8217;s regional settings for date and time rather than the server&#8217;s. Here&#8217;s a code snippet that was part of an ECB action that will allow you to do this: using (SPWeb web = SPContext.Current.Web) {   DateTime dtToday = DateTime.Now;   DateTime regionDate [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=117&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re processing an event on the server you&#8217;ll often need to use the web&#8217;s regional settings for date and time rather than the server&#8217;s. Here&#8217;s a code snippet that was part of an ECB action that will allow you to do this:</p>
<p><span style="font-size:xx-small;">using (SPWeb web = SPContext.Current.Web) {<br />
  DateTime dtToday = DateTime.Now;<br />
  DateTime regionDate = web.RegionalSettings.TimeZone.UTCToLocalTime(dtToday);<br />
  DateTime completedDate = Convert.ToDateTime(SPUtility.FormatDate(web, regionDate,<br />
    SPDateFormat.ISO8601));<br />
}</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=117&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2009/02/11/saving-the-date-time-using-the-web-regional-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
		<item>
		<title>Avoiding documents being automatically checked out when bulk uploading into a document library</title>
		<link>http://sharepointnutbag.wordpress.com/2009/02/04/avoiding-documents-being-automatically-checked-out-when-bulk-uploading-into-a-document-library/</link>
		<comments>http://sharepointnutbag.wordpress.com/2009/02/04/avoiding-documents-being-automatically-checked-out-when-bulk-uploading-into-a-document-library/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 17:12:34 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=113</guid>
		<description><![CDATA[Users will initially go through the process of bulk uploading documents into their shiny new SharePoint site, either through the &#8216;Upload Multiple Documents&#8217; menu item or through Explorer View. Often they&#8217;ll run into the problem where once uploaded the document remains checked out and no one else can see it, and then have to go through [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=113&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Users will initially go through the process of bulk uploading documents into their shiny new SharePoint site, either through the &#8216;Upload Multiple Documents&#8217; menu item or through Explorer View. Often they&#8217;ll run into the problem where once uploaded the document remains checked out and no one else can see it, and then have to go through the tedious process of individually checking them in one by one (as well as filling in the metadata!)</p>
<p>During this initial upload I&#8217;ll usually turn off all settings which will do this automatic check out, and only turn them on once that process has completed. This is a list of settings that you need to configure for this:</p>
<ul>
<li>Select No for the &#8216;Require documents to be checked out before they can be edited?&#8217; setting in Version Settings</li>
<li>Make sure all columns that have Yes to &#8216;Require that this column contains information&#8217; have a default value, else select No for the column in question.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=113&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2009/02/04/avoiding-documents-being-automatically-checked-out-when-bulk-uploading-into-a-document-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
		<item>
		<title>SPDisposeCheck tool released by Microsoft</title>
		<link>http://sharepointnutbag.wordpress.com/2009/02/02/spdisposecheck-tool-released-by-microsoft/</link>
		<comments>http://sharepointnutbag.wordpress.com/2009/02/02/spdisposecheck-tool-released-by-microsoft/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 14:48:43 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=110</guid>
		<description><![CDATA[This tool will will inspect your SharePoint assemblies and check that you are correctly disposing of certain SharePoint objects (IDisposable objects which includes SPSite and SPWeb).  An extremely handy thing for developers and portal admins alike! http://blogs.msdn.com/sharepoint/archive/2009/01/29/spdisposecheck-released.aspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=110&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This tool will will inspect your SharePoint assemblies and check that you are correctly disposing of certain SharePoint objects (IDisposable objects which includes SPSite and SPWeb).  An extremely handy thing for developers and portal admins alike!</p>
<p><a href="http://blogs.msdn.com/sharepoint/archive/2009/01/29/spdisposecheck-released.aspx">http://blogs.msdn.com/sharepoint/archive/2009/01/29/spdisposecheck-released.aspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=110&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2009/02/02/spdisposecheck-tool-released-by-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding a Toggle Daily/Weekly Tasks button to the Project Tasks list view web part</title>
		<link>http://sharepointnutbag.wordpress.com/2009/01/20/adding-a-toggle-dailyweekly-tasks-button-to-the-project-tasks-list/</link>
		<comments>http://sharepointnutbag.wordpress.com/2009/01/20/adding-a-toggle-dailyweekly-tasks-button-to-the-project-tasks-list/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 10:57:22 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=98</guid>
		<description><![CDATA[SharePoint is a perfect tool for lightweight project management. The Project Tasks list and its associated list view web part is a popular choice as it can display a Gantt chart of the tasks. However it is not very flexible in its display capabilities unlike its counterpart, MS Project. One request I&#8217;ve had was the allow [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=98&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SharePoint is a perfect tool for lightweight project management. The Project Tasks list and its associated list view web part is a popular choice as it can display a Gantt chart of the tasks. However it is not very flexible in its display capabilities unlike its counterpart, MS Project.</p>
<p>One request I&#8217;ve had was the allow a weekly view of project tasks rather than the default daily view.  This can be achieved though writing CSS script such as <a href="http://pathtosharepoint.wordpress.com/2008/11/08/how-to-scale-down-the-sharepoint-gantt-view/" target="_blank">Path To SharePoint</a> explains, however the users want a button to toggle between a daily view and a weekly view depending on which project they are looking at. This can be achieved by inserting some Javascript into the page.</p>
<p>With the example below I&#8217;ve done this by utilising the <a href="http://jquery.com/" target="_blank">jQuery </a>javascript library:<br />
<span style="font-size:xx-small;font-family:verdana;"><br />
&lt;script src=&#8221;<a href="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js">http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js</a>&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;script&gt;<br />
$(function() {<br />
var bt1=&#8221;&lt;input id=&#8217;tlv0&#8242; class=&#8217;ms-ButtonHeightWidth&#8217; type=&#8217;button&#8217; target=&#8217;_self&#8217; value=&#8217;Toggle Daily/Weekly&#8217; name=&#8217;togglelv&#8217; style=&#8217;WIDTH: 140px&#8217; /&gt;&#8221;;<br />
$(&#8220;td.ms-toolbar[width='99%']&#8220;).append(bt1);<br />
    $(&#8220;#tlv0&#8243;).toggle(<br />
      function () {<br />
        $(&#8220;table[class='ms-ganttInnerTable'] IMG&#8221;).css({&#8220;width&#8221;:&#8221;2px&#8221;});<br />
        $(&#8220;.ms-ganttDetailTimeUnitRow&#8221;).css({&#8220;display&#8221;:&#8221;none&#8221;});<br />
        $(&#8220;.ms-ganttMajorTimeUnitHeaderCell&#8221;).css({&#8220;writing-mode&#8221;:&#8221;tb-rl&#8221;,&#8221;filter&#8221;:&#8221;flipv fliph&#8221;,&#8221;border&#8221;:&#8221;0&#8243;});<br />
      },<br />
      function () {<br />
        $(&#8220;table[class='ms-ganttInnerTable'] IMG&#8221;).css({&#8220;width&#8221;:&#8221;16px&#8221;});<br />
        $(&#8220;.ms-ganttDetailTimeUnitRow&#8221;).css({&#8220;display&#8221;:&#8221;inline&#8221;});<br />
        $(&#8220;.ms-ganttMajorTimeUnitHeaderCell&#8221;).css({&#8220;writing-mode&#8221;:&#8221;lr-tb&#8221;,&#8221;filter&#8221;:&#8221;none&#8221;,&#8221;border&#8221;:&#8221;0&#8243;});<br />
      }<br />
    );<br />
  });<br />
&lt;/script&gt;</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=98&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2009/01/20/adding-a-toggle-dailyweekly-tasks-button-to-the-project-tasks-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding a Source parameter to the ECB UrlAction element</title>
		<link>http://sharepointnutbag.wordpress.com/2009/01/07/adding-a-source-parameter-to-the-ecb-urlaction/</link>
		<comments>http://sharepointnutbag.wordpress.com/2009/01/07/adding-a-source-parameter-to-the-ecb-urlaction/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 11:09:13 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=90</guid>
		<description><![CDATA[If you&#8217;ve created a custom Edit Control Block (ECB) menu item then often you want the code processed in an application page and then returned to the exact same page the user originated from. None of the URL tokens provided for the UrlAction element will do this so instead you can use a handy bit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=90&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve created a custom Edit Control Block (ECB) menu item then often you want the code processed in an application page and then returned to the exact same page the user originated from. None of the URL tokens provided for the UrlAction element will do this so instead you can use a handy bit of Javascript to achieve the same thing:</p>
<p><span style="font-size:xx-small;">&lt;UrlAction Url=&#8221;javascript:window.location= &#8216;{SiteUrl}/_layouts/TMGTaskTracker/FastClose.aspx?ItemId={ItemId}&amp;amp;ListId={ListId}&amp;amp;Source=&#8217; + window.location&#8221;/&gt;</span></p>
<p>A more detailed explanation along the same subject lines can be found at <a href="http://weblogs.asp.net/jan/archive/2007/09/05/using-the-current-page-url-in-the-urlaction-of-a-sharepoint-feature.aspx" target="_blank">Jan Tielens&#8217; blog</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=90&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2009/01/07/adding-a-source-parameter-to-the-ecb-urlaction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting the list name from CAML queries</title>
		<link>http://sharepointnutbag.wordpress.com/2008/12/18/getting-the-list-name-from-caml-queries/</link>
		<comments>http://sharepointnutbag.wordpress.com/2008/12/18/getting-the-list-name-from-caml-queries/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 11:40:58 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[CAML]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=81</guid>
		<description><![CDATA[How do you specify the source list when doing a CAML query that covers more than one list? Using a tool like U2U CAML Query Tool to write your queries doesn&#8217;t specify any field that references the source list.   To reference the list URL you need to use the FileDirRef field. Here&#8217;s some example code which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=81&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How do you specify the source list when doing a CAML query that covers more than one list? Using a tool like U2U CAML Query Tool to write your queries doesn&#8217;t specify any field that references the source list.  </p>
<p>To reference the list URL you need to use the FileDirRef field. Here&#8217;s some example code which includes logic that strips out the URL from the string that&#8217;s returned as it&#8217;s a Lookup field type:</p>
<p><span style="font-size:xx-small;">query.ViewFields = @&#8221;&lt;FieldRef Name=&#8217;FileDirRef&#8217; Nullable=&#8217;TRUE&#8217; /&gt;&#8221;;<br />
</span><span style="font-size:xx-small;">urlValue = row["FileDirRef"].ToString().Substring(row["FileDirRef"].ToString().IndexOf(&#8220;#&#8221;) + 1);</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=81&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2008/12/18/getting-the-list-name-from-caml-queries/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
		<item>
		<title>Intermittent Javascript errors on SharePoint controls</title>
		<link>http://sharepointnutbag.wordpress.com/2008/12/03/intermittent-javascript-errors-on-sharepoint-controls/</link>
		<comments>http://sharepointnutbag.wordpress.com/2008/12/03/intermittent-javascript-errors-on-sharepoint-controls/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 10:29:13 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[Architecture]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=79</guid>
		<description><![CDATA[I was getting errors when clicking on buttons like New and Settings within lists and only on a particular PC. To fix this I needed to install this IE update: http://www.microsoft.com/technet/security/bulletin/ms07-027.mspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=79&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was getting errors when clicking on buttons like New and Settings within lists and only on a particular PC. To fix this I needed to install this IE update:</p>
<p><a href="http://www.microsoft.com/technet/security/bulletin/ms07-027.mspx">http://www.microsoft.com/technet/security/bulletin/ms07-027.mspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=79&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2008/12/03/intermittent-javascript-errors-on-sharepoint-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
		<item>
		<title>More Timer Job Definition is not updating &#8211; it’s still running the old code</title>
		<link>http://sharepointnutbag.wordpress.com/2008/11/27/more-timer-job-definition-is-not-updating-it%e2%80%99s-still-running-the-old-code/</link>
		<comments>http://sharepointnutbag.wordpress.com/2008/11/27/more-timer-job-definition-is-not-updating-it%e2%80%99s-still-running-the-old-code/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 14:44:45 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Timer]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=76</guid>
		<description><![CDATA[Another thing which can cause the custom timer assembly to hang in the cache is when the assembly version remains the same. Make sure you use an auto-increment for your assembly version like so: [assembly: AssemblyVersion("1.0.0.*")] [assembly: AssemblyFileVersion("1.0.0.*")]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=76&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another thing which can cause the custom timer assembly to hang in the cache is when the assembly version remains the same. Make sure you use an auto-increment for your assembly version like so:</p>
<p>[assembly: AssemblyVersion("1.0.0.*")]<br />
[assembly: AssemblyFileVersion("1.0.0.*")]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=76&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2008/11/27/more-timer-job-definition-is-not-updating-it%e2%80%99s-still-running-the-old-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
		<item>
		<title>SPFieldDateTime date manipulation</title>
		<link>http://sharepointnutbag.wordpress.com/2008/11/18/spfielddatetime-date-manipulation/</link>
		<comments>http://sharepointnutbag.wordpress.com/2008/11/18/spfielddatetime-date-manipulation/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 08:53:49 +0000</pubDate>
		<dc:creator>jmiller980</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://sharepointnutbag.wordpress.com/?p=74</guid>
		<description><![CDATA[I was wanting to use methods on a date within a SharePoint field eg. Month, Add using the standard code for pulling back a datetime field from SharePoint SPFieldDateTime dt = (SPFieldDateTime)list.Fields["Deadline"]; However the SPFieldDateTime field doesn&#8217;t have any of these methods. I needed to use the DateTime field type. If you try to change this code [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=74&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was wanting to use methods on a date within a SharePoint field eg. Month, Add using the standard code for pulling back a datetime field from SharePoint</p>
<p>SPFieldDateTime dt = (SPFieldDateTime)list.Fields["Deadline"];</p>
<p>However the SPFieldDateTime field doesn&#8217;t have any of these methods. I needed to use the DateTime field type. If you try to change this code above to DateTime instead of SPFieldDateTime you&#8217;ll get the following error:</p>
<p>Cannot convert type &#8216;Microsoft.SharePoint.SPField&#8217; to &#8216;System.DateTime&#8217;</p>
<p>To get around this you can pull the field directly out of the list using as it will be returned as an object and which you can then covert to a DateTime object.</p>
<p>DateTime dt = (DateTime)list["Deadline"];</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointnutbag.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointnutbag.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointnutbag.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointnutbag.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointnutbag.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointnutbag.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointnutbag.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointnutbag.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointnutbag.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointnutbag.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointnutbag.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointnutbag.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointnutbag.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointnutbag.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointnutbag.wordpress.com&amp;blog=4776730&amp;post=74&amp;subd=sharepointnutbag&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointnutbag.wordpress.com/2008/11/18/spfielddatetime-date-manipulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6baab70ae6b835db75e76c8561cb2281?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jmiller980</media:title>
		</media:content>
	</item>
	</channel>
</rss>
