<?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>Blog of Jason Grimme - Programming and All Things Jason &#187; Uncategorized</title>
	<atom:link href="http://studioshorts.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://studioshorts.com/blog</link>
	<description>I have a computer data interchange format named after me!</description>
	<lastBuildDate>Mon, 19 Dec 2011 23:24:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Filter SharePoint List View With URL Parameters</title>
		<link>http://studioshorts.com/blog/2011/01/filter-sharepoint-list-view-with-url-parameters/</link>
		<comments>http://studioshorts.com/blog/2011/01/filter-sharepoint-list-view-with-url-parameters/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 23:46:32 +0000</pubDate>
		<dc:creator>Jason Grimme</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://studioshorts.com/blog/?p=469</guid>
		<description><![CDATA[Let&#8217;s say you have a SharePoint list of items and you want to send your buddy Joe a link to the list, and filter the results by a column so that he sees only a specific set of data. The common practice is to create a view of the list and send that. While that [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you have a <strong>SharePoint </strong>list of items and you want to send your buddy Joe a link to the list, and filter the results by a column so that he sees only a specific set of data.  The common practice is to create a view of the list and send that.  While that works, it needlessly creates a view surely there must be a better way.  Here&#8217;s how to do it with a parametrized URL string.</p>
<ol>
<li>Start with:
<p>http://SPPortal/SPSite/Lists/MyList/AllItems.aspx</li>
<li>Click on the column you want to filter by: (I clicked on the a column named <strong>Movie</strong>)
<p>http://SPPortal/SPSite/Lists/MyListAllItems.aspx?<strong>SortField</strong>=<strong>Movie</strong>&#038;SortDir=Asc&#038;View=%7bE8726C0D%2d3872%2d44FF%2dA78C%2d0C5A87BC126D%7d</li>
<li>Look in the URL generated and identify the <strong>SortField </strong>parameter, which contains the ID of your column.<br />
SortField=Movie</li>
<li>Use the following format to create your parametrized URL: (Minus the square brackets)<br />
http://SPPortal/SPSite/Lists/MyList/AllItems.aspx?<strong>FilterField1</strong>=<strong>[Column ID]</strong>&amp;<strong>FilterValue1</strong>=<strong>[Filter Value]</strong></li>
<li>So in this example, if I want to display only items where the Movie field is equal to <strong>Tron</strong>, the URL is:
<p>http://SPPortal/SPSite/Lists/MyList/AllItems.aspx?FilterField1=<strong>Movie</strong>&#038;FilterValue1=<strong>Tron</strong></li>
</ol>
<p>And now you know!</p>
]]></content:encoded>
			<wfw:commentRss>http://studioshorts.com/blog/2011/01/filter-sharepoint-list-view-with-url-parameters/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SharePoint 2007 &#8211; DOCTYPE Causing Calendar Event Height Bug</title>
		<link>http://studioshorts.com/blog/2010/06/sharepoint-2007-doctype-causing-calendar-item-height-bug/</link>
		<comments>http://studioshorts.com/blog/2010/06/sharepoint-2007-doctype-causing-calendar-item-height-bug/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 02:11:34 +0000</pubDate>
		<dc:creator>Jason Grimme</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://studioshorts.com/blog/?p=185</guid>
		<description><![CDATA[Above might possibly be the worst article title ever, but I tried to be as descriptive as possible.  The following covers a fix I worked out for a bug that Microsoft has never fixed with SharePoint 2007.  If you do some research you will find several people have noticed this but nobody has found a [...]]]></description>
			<content:encoded><![CDATA[<p>Above might possibly be the worst article title ever, but I tried to be as descriptive as possible.  The following covers a fix I worked out for a bug that Microsoft has never fixed with <strong>SharePoint 2007</strong>.  If you do some research you will find several people have noticed this but nobody has found a great work around.</p>
<div id="attachment_186" class="wp-caption aligncenter" style="width: 531px"><a href="http://studioshorts.com/blog/wp-content/uploads/2010/06/SharePoint_Calendar_Bug.jpg"><img src="http://studioshorts.com/blog/wp-content/uploads/2010/06/SharePoint_Calendar_Bug.jpg" alt="SharePoint Calendar Bug" title="SharePoint Calendar Bug" width="521" height="360" class="size-full wp-image-186" /></a><p class="wp-caption-text">Example of what is and what should be</p></div>
<p>The bug occurs when your master page has a <strong>DOCTYPE</strong> declared and there is a calendar web part on the same page.  Appointments on the calendar have a declared <strong>height of 100%</strong> which is not a valid property when you have a doctype declared.  While the default Microsoft master page does not have  a doctype (<em>Nice, Microsoft!</em>), another theme they ship called <strong>BlueBand.master</strong> does.  This makes it a bug that should be covered by Microsoft.  For those who don&#8217;t know, a doctype is required on every HTML page as it tells the rendering engine what kind of markup it contains.  <em>Without a doctype, browsers go into quirks mode and rendering differs vastly</em>.</p>
<p><a href="http://tomblog.insomniacminds.com/2007/12/03/sharepoint-branding-issues-calender-view/" target="_blank">Here</a> and<a href="http://www.heathersolomon.com/blog/archive/2007/02/21/6213.aspx" target="_blank"> here</a> are some instances of others recognizing this problem.</p>
<h2>The Fix</h2>
<p>The main problem with the calendar event divs is that they have a height property set to 100%.  But <strong>100% of what</strong> exactly?  There are no other defined heights in in the calendar table.  We can&#8217;t specify the height of the div when we output the HTML because we don&#8217;t know how high it will need to be.</p>
<p>The hack that I came up with uses Javascript to wait until the page loads, crawl through the DOM, find events, and then grab the parent element of the event.  It then calculates the rendered height of the table row.  Once we have that we set the height of the event div to the exact height of that row.  This fix/hack has worked perfectly for me and you can&#8217;t even notice the script execution.</p>
<div class="codecolorer-container javascript blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span><br />
<span style="color: #006600; font-style: italic;">// Resize calendar events to be the proper height</span><br />
<span style="color: #006600; font-style: italic;">// I am 100% certain this can be optimized</span><br />
<br />
<span style="color: #006600; font-style: italic;">// Narrow down our scope a little by first looking only at tables</span><br />
<span style="color: #003366; font-weight: bold;">var</span> all_Tables <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;table&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> all_Tables.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// Look for a table cell event in either day or week view</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>all_Tables<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;ms-cal-tdayitem&quot;</span> <span style="color: #339933;">||</span> all_Tables<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;ms-cal-tweekitem&quot;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> tbl_td <span style="color: #339933;">=</span> all_Tables<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// Grab the rendered height of the row</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> row_height <span style="color: #339933;">=</span> tbl_td .<span style="color: #660066;">parentNode</span>.<span style="color: #660066;">offsetHeight</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> table_divs <span style="color: #339933;">=</span> tbl_td .<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// The first div in this cell will be the event we want</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>j <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> j <span style="color: #339933;">&lt;</span> table_divs.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> j<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> calendar_event <span style="color: #339933;">=</span> table_divs<span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// Force the height of the cell to be the same as the row</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; calendar_event.<span style="color: #660066;">style</span>.<span style="color: #660066;">height</span> <span style="color: #339933;">=</span> &nbsp;row_height<span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div>
<p>This works for both the day and week view of the calendar web part.  You will need to make sure this runs once the page loads by either putting it in the <strong>onload </strong>function, make an <strong>onreadystatechange </strong>event listener, or put it at the very end of the master page.</p>
]]></content:encoded>
			<wfw:commentRss>http://studioshorts.com/blog/2010/06/sharepoint-2007-doctype-causing-calendar-item-height-bug/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fixing CHM files &#8211; &#8220;The address is not valid&#8221;</title>
		<link>http://studioshorts.com/blog/2010/04/fixing-chm-files-the-address-is-not-valid/</link>
		<comments>http://studioshorts.com/blog/2010/04/fixing-chm-files-the-address-is-not-valid/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 02:50:56 +0000</pubDate>
		<dc:creator>Jason Grimme</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://studioshorts.com/blog/?p=162</guid>
		<description><![CDATA[I recently attempted to open up an eBook I had downloaded in CHM format. Upon opening it with Microsoft&#8217;s CHM reader I was presented with the table of contents on the left but on the right where the content should be an error was displayed: &#8220;Navigation to the webpage was canceled&#8221; and &#8220;The address is [...]]]></description>
			<content:encoded><![CDATA[<p>I recently attempted to open up an eBook I had downloaded in CHM format.<br />
Upon opening it with Microsoft&#8217;s CHM reader I was presented with the table of contents on the left but on the right where the content should be an error was displayed:</p>
<blockquote><p><strong>&#8220;Navigation to the webpage was canceled&#8221; and<br />
&#8220;The address is not valid&#8221;</strong></p></blockquote>
<p>I had seen this before and simply gave up because I figured it was a corrupted file.  I then thought about how it would be neat if there was a <strong>Firefox addon</strong> for reading CHM files.  A simple Google search revealed that this already existed!  Introducing <a href="https://addons.mozilla.org/en-US/firefox/addon/3235">CHM Reader</a>.</p>
<p>CHM reader opened the CHM file with no problems.  My first disappointment was that there was no table of contents/navigation menu.  But I was quickly pleased when I discovered that was an option in <strong>View</strong> -&gt; <strong>Sidebar</strong>.  The main advantage of CHM Reader is that it allows you to <strong>increase the text font size</strong> which can come in handy.</p>
<p><strong>Back to the main point</strong>, why could Firefox display the CHM file but not Microsoft&#8217;s reader?  As it turns out, on newer versions of Windows, Microsoft <em>attempts</em> to help you out by blocking some downloaded CHM files.</p>
<div id="attachment_163" class="wp-caption aligncenter" style="width: 310px"><a href="http://studioshorts.com/blog/wp-content/uploads/2010/04/chm_unblock.gif"><img class="size-medium wp-image-163" title="chm_unblock" src="http://studioshorts.com/blog/wp-content/uploads/2010/04/chm_unblock-300x121.gif" alt="CHM Properties Menu" width="300" height="121" /></a><p class="wp-caption-text">CHM Properties Menu</p></div>
<p>If you right click on your CHM file, go to Properties, and then click &#8216;Unblock&#8217; next to security, you will be able to read the file with Microsoft&#8217;s tool.  </p>
<p>Thanks Microsoft.</p>
]]></content:encoded>
			<wfw:commentRss>http://studioshorts.com/blog/2010/04/fixing-chm-files-the-address-is-not-valid/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Novell Groupwise Address Book / Autofill / Uninstalling</title>
		<link>http://studioshorts.com/blog/2010/04/novell-groupwise-address-book-autofill-uninstalling/</link>
		<comments>http://studioshorts.com/blog/2010/04/novell-groupwise-address-book-autofill-uninstalling/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 22:30:59 +0000</pubDate>
		<dc:creator>Jason Grimme</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://studioshorts.com/blog/?p=159</guid>
		<description><![CDATA[Over the course of administering Novell Groupwise for our employees I have been pretty disappointed. Aside from the sluggishness, poor searching capabilities, and horrible installation times I was most drawn back by the terrible file management that left systems in disarray. When upgrading to Groupwise 8 I ran into several instances of two problems. Groupwise [...]]]></description>
			<content:encoded><![CDATA[<p>Over the course of administering <strong>Novell Groupwise</strong> for our employees I have been pretty disappointed.  Aside from the sluggishness, poor searching capabilities, and horrible installation times I was most drawn back by the terrible file management that left systems in disarray.<br />
When upgrading to Groupwise 8 I ran into several instances of two problems.</p>
<ul>
<li>Groupwise 6 or 7 will not uninstall because of a corrupt installation log</li>
<li>Groupwise 8 address book throws error and the auto-complete for email addresses does not work</li>
</ul>
<p>The specifics of these problems were pretty inconsistent as they all pointed to different dll files.  &#8220;Entry point not found&#8221; was a common part of the problems.  <strong>GWLDO132.dll</strong> and <strong>gwenv1.dll</strong> seemed to be problem files and replacing them with known good files did not help.  Uninstalling either didn&#8217;t help or wasn&#8217;t able to uninstall at all.  I even tried using deep uninstaller programs like <a href="http://www.revouninstaller.com/">Revo Uninstaller</a> and had no luck.<br />
I was recently able to use one of the affected computers for a few days and was able to spend some quality time finding out how to fix the problem.</p>
<h2>The Fix</h2>
<p>It seems Groupwise is so notorious for these problems that people have made programs that do a deep uninstall and do whatever they need to do in order to remove Groupwise.  There are two that I found.  I only used one because it worked perfect for me.</p>
<ul>
<li><strong><a href="http://www.messagingarchitects.com/products/free-gw-tools/email-essentials/cleanit/cleanit-free-download.html">CleanIt</a></strong> &#8211; This is the one that I used.</li>
<li><strong><a href="http://www.nexic.com/download/gwcr.html">GroupWise Client Remover</a></strong> &#8211; I didn&#8217;t use this tool but it seemed reputable.</li>
</ul>
<p>What works best is if you uninstall Groupwise and Messenger(If you use it) and then run the clean tool of your choice (or both perhaps).  Run the most recent setup program for Groupwise and you should be all set.  I found that restarting between these steps was unnecessary.</p>
<p>I hope this helps somebody <img src='http://studioshorts.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://studioshorts.com/blog/2010/04/novell-groupwise-address-book-autofill-uninstalling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

