<?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>elorg.net &#187; tech</title>
	<atom:link href="http://www.elorg.net/tag/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elorg.net</link>
	<description>Ramblings and other miscellany.</description>
	<lastBuildDate>Wed, 25 Aug 2010 12:50:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>ASP Parser Error</title>
		<link>http://www.elorg.net/2010/05/asp-parser-error/</link>
		<comments>http://www.elorg.net/2010/05/asp-parser-error/#comments</comments>
		<pubDate>Fri, 07 May 2010 19:17:56 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=531</guid>
		<description><![CDATA[More &#8220;dreaded&#8221; errors in SharePoint. We started receiving the this fun error when loading one of our portals: Server Error in &#8216;/&#8217; Application. Runtime Error Description: An application error occurred on the server.[...] We hadn&#8217;t recently patched, or performed any updates except for increasing the max allowed upload file size and timeouts (a client needed [...]]]></description>
			<content:encoded><![CDATA[<p>More &#8220;dreaded&#8221; errors in SharePoint. We started receiving the this fun error when loading one of our portals:</p>
<blockquote><p>Server Error in &#8216;/&#8217; Application.<br />
Runtime Error<br />
Description: An application error occurred on the server.[...]</p></blockquote>
<p><span id="more-531"></span></p>
<p>We hadn&#8217;t recently patched, or performed any updates except for increasing the max allowed upload file size and timeouts (a client needed to upload LARGE files).  The server application logs revealed something slightly more useful:</p>
<blockquote><p>Event Type:	Warning<br />
Event Source:	ASP.NET 2.0.50727.0<br />
Event Category:	Web Event<br />
Event ID:	1310<br />
Date:		5/6/2010<br />
Time:		4:50:11 PM<br />
User:		N/A<br />
Computer:	ServerName<br />
Description:<br />
Event code: 3006<br />
Event message: A parser error has occurred.<br />
Event time: 5/6/2010 4:50:11 PM<br />
Event time (UTC): 5/6/2010 8:50:11 PM<br />
Event ID: 57cbaa6a1f804cb2aefe80de4ceec102<br />
Event sequence: 5<br />
Event occurrence: 1<br />
Event detail code: 0</p>
<p>Application information:<br />
Application domain: /LM/W3SVC/1965610693/Root-1-129176526056583668<br />
Trust level: WSS_Minimal<br />
Application Virtual Path: /<br />
Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\foldername443\<br />
Machine name: ServerName</p>
<p>Process information:<br />
Process ID: 1944<br />
Process name: w3wp.exe<br />
Account name: NT AUTHORITY\NETWORK SERVICE</p>
<p>Exception information:<br />
Exception type: HttpParseException<br />
Exception message: Could not load file or assembly &#8216;System?Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8217; or one of its dependencies. The system cannot find the file specified. (C:\Inetpub\wwwroot\wss\VirtualDirectories\foldername443\web.config line 106)</p></blockquote>
<p>Now, the web.config wasn&#8217;t manually edited by anyone, but the modified date matched the date &amp; time when this problem started as well as the beginning of these ASP.NET errors.  All the evidence seemed to point to what I can only assume was caused by a hiccup when the settings were being saved from IIS &#8211; that corrupted the web.config.</p>
<p>I found 4 or 5 randomly placed &#8220;?&#8221; in the web.config.  I couldn&#8217;t just remove the question marks because they appeared to have replaced characters in the file instead of being inserted.  I didn&#8217;t have a backup, but we did have multiple AAMs for this portal and I was able to look at another web.config.  This gave me a better idea of what characters should have been in the file wherever I wasn&#8217;t able to make a good educated guess.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2010/05/asp-parser-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quick-ish Manual WordPress Upgrade</title>
		<link>http://www.elorg.net/2009/06/quick-ish-manual-wordpress-upgrade/</link>
		<comments>http://www.elorg.net/2009/06/quick-ish-manual-wordpress-upgrade/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 20:54:08 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=401</guid>
		<description><![CDATA[Here&#8217;s a tip for those new to upgrading WordPress if you don&#8217;t like, or trust, the automatic upgrade. It&#8217;s relatively quick, easy, and leaves you with minimal downtime while still retaining the ability to revert back. Note that I keep WordPress in its own folder to keep the files/folder structure on my webserver clean&#8230; It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a tip for those new to upgrading WordPress if you don&#8217;t like, or trust, the automatic upgrade. It&#8217;s <em>relatively</em> quick, easy, and leaves you with minimal downtime while still retaining the ability to revert back.</p>
<p>Note that <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">I keep WordPress in its own folder</a> to keep the files/folder structure on my webserver clean&#8230; It&#8217;s key in this upgrade method.<br />
<span id="more-401"></span></p>
<ol>
<li>Always make a backup of your WordPress database before proceeding!</li>
<li>Manually download the WordPress zip file.</li>
<li>Open your FTP program of choice and upload the zip file to the same folder level that your WordPress folder resides.</li>
<li>Unzip the WordPress zip file <em>on your webserver</em>.
<ul>
<li>This can cause weird problems if you unzip it on your local computer before uploading.</li>
<li>It will unzip it to a &#8220;wordpress&#8221; folder, so make sure that this is not the folder name that you choose to keep your WordPress files in.</li>
</ul>
</li>
<li>Compare the wp-config-sample.php of the new version, to your existing wp-config.php.
<ul>
<li>If there isn&#8217;t any new content (like new salt/keys, etc.), then copy your wp-config.php to the new folder &#8220;wordpress/&#8221;.</li>
<li>If there is new content, save the new wp-config-sample.php as your new wp-config.php and copy over your settings from your original wp-config.php. Then make any other changes needed for the new content.</li>
</ul>
</li>
<li>Copy your theme folder from the old install to the new install location.</li>
<li>Copy your plugins files/folders from the old install to the new install location.
<ul>
<li>The new install already has Akismet and Hello Dolly &#8211; so you can leave these.</li>
<li>It&#8217;s a good idea to verify that your plugins are all compatible with the new version before doing this.</li>
</ul>
</li>
<li>Copy over any of the other folders &#038; files from your old wp-content (like &#8220;uploads&#8221;, &#8220;cache&#8221;, &#8220;backup-db&#8221;, etc.)
<ul>
<li>Up through this point, you&#8217;re still using the old version and have had zero downtime. You can choose to wait and finish later without having any impact.</li>
</ul>
</li>
<li>Rename your old WordPress folder to something else, like &#8220;wp_old&#8221;.</li>
<li>Rename the new WordPress folder to the name of your old WordPress folder.</li>
<li>Open your browser and go to YourDomain.com/Your-WordPress-Folder/wp-admin.</li>
<li>You will be prompted to update your database if necessary.</li>
<li>Verify that everything functions.</li>
<li>Remove the &#8220;wp_old&#8221; folder.</li>
</ol>
<p>Done! It&#8217;s not as fast as the automatic upgrade, but it&#8217;s great for the paranoid, or those who prefer to just perform the upgrade themselves.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/06/quick-ish-manual-wordpress-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a Simple Button in SharePoint 2007</title>
		<link>http://www.elorg.net/2009/06/adding-a-simple-button-in-sharepoint-2007/</link>
		<comments>http://www.elorg.net/2009/06/adding-a-simple-button-in-sharepoint-2007/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 18:47:16 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=378</guid>
		<description><![CDATA[Do you have a standard web design / HTML background and you&#8217;re looking to just add a button to SharePoint? I&#8217;ve been there. You apparently can&#8217;t just use the normal HTML methods. Here&#8217;s a quick way to add a button that will simply take you to another location. Edit the page in which you would [...]]]></description>
			<content:encoded><![CDATA[<p>Do you have a standard web design / HTML background and you&#8217;re looking to just add a button to SharePoint? I&#8217;ve been there.  You apparently can&#8217;t just use the normal HTML methods.  Here&#8217;s a quick way to add a button that will simply take you to another location.</p>
<p>Edit the page in which you would like the button to be displayed, or add a Content Editor Web Part in code view and enter code similar to this:</p>
<p><code>
<p>Click here:<br />
<button onclick="window.location.href='http://mysharepointserver.com/MySite/Forms/MyLinkedToPage.aspx'">Go to Another Page</button></p>
<p></code></p>
<p><strong>Update:</strong> Strange. WordPress isn&#8217;t displaying the code properly, so until I fix it, just view the page source <img src='http://www.elorg.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/06/adding-a-simple-button-in-sharepoint-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP Pavillion tx2500 Tablet Review</title>
		<link>http://www.elorg.net/2009/06/hp-pavillion-tx2500-tablet-review/</link>
		<comments>http://www.elorg.net/2009/06/hp-pavillion-tx2500-tablet-review/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 17:20:51 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=325</guid>
		<description><![CDATA[I&#8217;ve been wanting to pick up a tablet PC for a long while now. Half-geek, half-artist &#8211; how could I not want one? I&#8217;ve had both a PC &#038; a tablet for well over a decade now, so why not merge them and simplify things? I&#8217;ve been dyin&#8217; for an Apple tablet PC &#8211; even [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wanting to pick up a tablet PC for a long while now. Half-geek, half-artist &#8211; how could I not want one?  I&#8217;ve had both a PC &#038; a tablet for well over a decade now, so why not merge them and simplify things?<span id="more-325"></span></p>
<p>I&#8217;ve been dyin&#8217; for an <a href="http://www.apple.com">Apple</a> tablet PC &#8211; even signed the online petition hoping that&#8217;d help, but they&#8217;re still not making one (I add hopefully, &#8220;at the time of this post&#8221;). Granted, there is always the <a href="http://www.axiotron.com/index.php?id=modbook">Axiotron Modbook</a>, but that&#8217;s just not the same. First, it&#8217;s a modified MacBook &#8211; so you have to pay not only full price for the laptop, but then for the modification.  That&#8217;s a <em>bit</em> out of my price range.  And besides, I would much rather have a modified MacBook <strong>Pro</strong>. Then there&#8217;s the fact that it is strictly a tablet PC &#8211; no keyboard.  And even though there&#8217;s an on-screen keyboard and handwriting recognition, that doesn&#8217;t help my efficiency in applications like Photoshop.</p>
<p>I did a lot of research on the various models out there, their specs, their prices. The Modbook, Lenovo, HP, Dell, Gateway.  The Modbook was too expensive, but ran my OS of choice. The Dell&#8217;s processor was far too slow (about 1/2 the others) and supported the least amount of RAM &#8211; while surprisingly it was barely less expensive than the Modbook! So the Dell was right out. The Gateway was too heavy and didn&#8217;t have much in the way of redeeming features or specs &#8211; at least nothing better than the others.  It all came down between the Lenovo &#038; the HP.</p>
<p>I really wanted to give the tablets a try before I made a decision.  I just couldn&#8217;t find any semi-local stores that had them in stock for me to look at. I called around &#8211; nothing. Apparently the tablets were either marketed as either business computers, or &#8220;multimedia&#8221; computers, and weren&#8217;t really popular enough to be kept in stock in stores?</p>
<p>Then one Friday after work on a whim I stopped by my local <a href="http://www.bestbuy.com">Best Buy</a> and found the HP out on display!  In addition to the display model, they had one left in stock &#8211; and it was on sale! I could hardly contain myself. It was a nice little machine, even a little style &#8211; and very affordable.  So I bought it.</p>
<p>This was just the base model &#8211; nothing upgraded. The HP Pavillion tx2500 with a 2.0GHz processor &#8211; a little slower than I wanted. 5400rpm hard drive (instead of the 7200rom drive in the Lenovo) &#8211; but it did come with 3GB of RAM (upgradeable to 4GB) and Windows Vista x64 SP1. It&#8217;s not a bad little machine.</p>
<p>The resolution&#8217;s very nice &#8211; perfect for the size. The screen rotates/swivels 180 degrees so you can use the keyboard &#8211; or not. You can also rotate the display to better orient the way that you&#8217;re holding it (vertical/landscape). Very cool. There are ports out the wazoo, a tetherable stylus with its own storage slot in the front for easy access, and a multimedia remote with its own storage as well (I like not having to worry about losing things).</p>
<p><strong>My complaints:</strong><br />
This is definitely marketed as more of a multimedia device than an artistic tool. The media drive is removable to lighten the weight if you don&#8217;t need it, but the laptop is a lot thicker/beefier than it needs to be because it has to accommodate it. It&#8217;s not really heavy, but borders on it for this size laptop.</p>
<p>It&#8217;s too bulky &#8211; it&#8217;s just really thick. It&#8217;s all about proportions. Why do I want to carry around something that&#8217;s the thickness of a larger laptop? It just feels wrong. I didn&#8217;t think I was going to say this, but I&#8217;d rather forgo the DVD drive for a thinner, lighter tablet PC. I just don&#8217;t use it to watch movies &#8211; I use it to sketch and work on my websites.</p>
<p>Another issue is that it seems to get warm quickly and the fans spin up a lot &#8211; and the fan is quite loud. This can get pretty annoying. The vents can kick out some serious hot air too. Sometimes I hibernate or shut it down just to make it stop if I&#8217;ve been working for a bit.</p>
<p>My biggest frustration however, is something that not everyone will run into. If you use this tablet PC in a coffee shop, at the office, etc., you&#8217;ll be fine. But if you use this say, in your living room to chill out while you work &#8211; then there&#8217;s a potential problem. It seems as though my Xbox360 remote can control my laptop to some extent. Initially I didn&#8217;t make the connection &#8211; I thought the laptop was just acting very strangely. One moment everything&#8217;s fine, and the next I hear the laptop&#8217;s fans spin up and I&#8217;m left confused, swearing that I had shutdown the laptop just an hour ago&#8230; I&#8217;d have to open the display and shut it back down again.</p>
<p>Apparently &#8211; if you suspend/hibernate/shutdown the laptop in the vicinity of your Xbox, then decide to play a movie&#8230; Simply pressing &#8220;play&#8221; will power up or resume the laptop! On top of that, Windows Vista won&#8217;t simply allow you to disable the IR port &#8211; and I&#8217;m not about to disable it in the BIOS. Or am I? Sticking a Post-It to the front of the laptop does look a little stupid and can lead to strange papercuts&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/06/hp-pavillion-tx2500-tablet-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fab 40 Helpdesk Modification Summary</title>
		<link>http://www.elorg.net/2009/03/fab-40-helpdesk-modification-summary/</link>
		<comments>http://www.elorg.net/2009/03/fab-40-helpdesk-modification-summary/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 16:17:33 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=245</guid>
		<description><![CDATA[A recent project required setting up an issue/request tracking solution within a SharePoint portal. By no means do I consider myself a &#8220;developer.&#8221; I&#8217;d rather work smarter &#8211; not harder, so I installed Microsoft&#8217;s &#8220;Fabulous 40&#8243; custom application templates as a good starting point. I ran into several bumps and roadblocks along the way that [...]]]></description>
			<content:encoded><![CDATA[<p>A recent project required setting up an  issue/request tracking solution within a SharePoint portal.  By no means do I consider myself a &#8220;developer.&#8221;  I&#8217;d rather work smarter &#8211; not harder, so I installed <a href="http://technet.microsoft.com/en-us/windowsserver/sharepoint/bb407286.aspx">Microsoft&#8217;s &#8220;Fabulous 40&#8243;</a> custom application templates as a good starting point.  I ran into several bumps and roadblocks along the way that required going to &#8230; countless websites to find the information I needed.  I thought I&#8217;d summarize it all in one place.<span id="more-245"></span></p>
<p><strong>Installation</strong><br />
The first hurdle can be installing the templates. Microsoft&#8217;s provided directions should be fine, but for some strange reason typing the commands individually didn&#8217;t work for me. I had to paste them all into a .bat file and run that for it to work. I&#8217;m still not sure why, but it worked. I suggest that if your PATH is correct and you&#8217;re receiving an error during the installation, give the batch file method a try.</p>
<p>Once the templates were installed, I created a site using the Helpdesk template. The Call Center template is pretty similar, but the Helpdesk template was a better fit.  For the details of the template, Brian Caauwe has a really good writeup <a href="http://blogs.inetium.com/blogs/bcaauwe/archive/2008/02/25/fabulous-40-application-templates-help-desk.aspx">on his site here</a>.</p>
<p><strong>Let&#8217;s get started!</strong><br />
The terminology, page names, list views, etc., didn&#8217;t really fit with our processes so I had to go through and do a bit of cleanup. Some were simple and straightforward.  Others weren&#8217;t quite so easy. I&#8217;ll skip the straightforward updates.</p>
<p><strong>Customizing Choices</strong><br />
First, we don&#8217;t like the default &#8220;Status&#8221; options of the &#8220;Service Request&#8221; list. We prefer something similar to the &#8220;Service Request Tasks&#8221; list. So &#8211; let&#8217;s go ahead and update the &#8220;Status&#8221; column. Easy! Right? You just go to the List Settings, click on the &#8220;Status&#8221; column to edit it&#8230; and&#8230;  Hey &#8211; wait a minute! Where are the choices listed?!? You <strong><em>know</em></strong> there are choices, but you can&#8217;t see them in the settings where you&#8217;d normally define or update them. You can&#8217;t edit or even delete this column. The &#8220;delete&#8221; button isn&#8217;t even there! But you can change the column name and see that it&#8217;s of the type &#8220;choice.&#8221;  So what&#8217;s going on?</p>
<p><a href="http://www.eggheadcafe.com/conversation.aspx?messageid=30094739&#038;threadid=30094717">The column has been Sealed</a>.</p>
<p>If you edit the schema.xml or use PowerShell you can change this flag to <code>Sealed = $false</code> and then it will be open for editing as needed. Don&#8217;t forget that there&#8217;s a workflow associated with the &#8220;Closed&#8221; status!  I just used some PowerShell.  I&#8217;m still learning, so it&#8217;s probably better that I <em>not</em> give best practice advice on that.  You can find some information about using PowerShell <a href="http://www.u2u.info/Blogs/karine/Lists/Posts/Post.aspx?List=d35935e0-8c0e-4176-a7e8-2ee90b3c8e5a&#038;ID=9&#038;Source=http%3A%2F%2Fwww.u2u.info%2FBlogs%2Fkarine%2FLists%2FPosts%2FAllPosts.aspx&#038;RootFolder=%2FBlogs%2Fkarine%2FLists%2FPosts">here</a> and <a href="http://www.u2u.info/Blogs/karine/Lists/Posts/Post.aspx?ID=11">here</a>.</p>
<p>So now that that&#8217;s done, let&#8217;s move on to the next task. Let&#8217;s start with the easier one first.</p>
<p><strong>Removing Items from the New Form</strong><br />
You&#8217;ve probably noticed that there&#8217;s a number of columns in the list, but only a small few are actually displayed in the &#8220;New&#8221; form. How&#8217;d they do that? And how can you update that?</p>
<p>We wanted to remove one of the fields from the &#8220;New&#8221; form so that portal members couldn&#8217;t go ahead and assign the tasks when they open their requests.  How can you do this?  More PowerShell! You can also use the <a href="http://patrikluca.blogspot.com/2008/08/hide-list-fields-upon-creation-of.html">SharePoint Tips Utility Pack</a> (Or, you can manually create new form pages, but we&#8217;ll get more into that later.)</p>
<p>As hinted at in the last task, these columns have fields with flags on them that determine the type of column, if they&#8217;re <code>Sealed</code>, and also which of the forms and views they&#8217;ll be displayed on (<code>New, Edit, List Settings, View</code>, etc.). Sealing the columns help make sure that no one edits an option in a column which may break a workflow. Setting flags on which columns display in each of the forms is a great way to use the default forms rather than having to create your own custom forms. This template has customized the values on these fields for a handful of the columns.  You can <a href="http://cglessner.blogspot.com/2008/10/hide-columns-in-sharepoint-forms-with.html">get the full details here</a> on setting those flags. I set the flag on the &#8220;Assigned To&#8221; column to <code>ShowInNewForm = $false</code>. Done!</p>
<p>Ok, now for the slightly more complicated part. This is where it starts becoming more of a &#8220;choose your own adventure.&#8221;</p>
<p><strong>Adding Items to the New Form</strong><br />
Ok, so now that we&#8217;ve used PowerShell to set the flags on the fields that you <em>don&#8217;t</em> want displayed on the form, why isn&#8217;t it working in the reverse? You create a new column, and the <code>ShowInNewForm = $true</code> or <code>$null</code>, but it&#8217;s not on the form when you try to create a new form!?! What a headache! Perhaps you should just create a custom new form. Or should you?</p>
<p>Personally, I&#8217;d rather not at this point. If I create new columns later on, then I&#8217;d have to add those to the custom form. But if the flags are set properly, and I don&#8217;t want to create a new form, then how do I fix the problem of adding them to the forms? Two words:</p>
<p><a href="http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/ef34681d-f718-425d-b1c1-318ac655fbee/">Content Types.</a></p>
<p>The Service Request items are a custom content type. The relatively simple fix:</p>
<ol>
<li>Remove those new columns from the Service Request list.</li>
<li>Go to Settings > List Settings > Advanced Settings</li>
<li>Turn on &#8220;Allow Management of Content Types.&#8221;<br />
<strong>Now</strong> you can see the Service Request content type.</li>
<li>In the List Settings, browse to the Content Types section.</li>
<li>Either &#8220;Create Column&#8221; or &#8220;Add from existing site columns&#8221; as appropriate.<br />
<em>I needed to add some of our own custom site columns along with a &#8220;Due Date&#8221; column &#8211; so they were all site columns in my case.</em></li>
<li>Check your &#8220;new item&#8221; form.<br />
<em>If you don&#8217;t see the &#8220;New&#8221; menu item anymore, go back and turn off &#8220;Allow Management of Content Types.&#8221;</em></li>
</ol>
<p><strong>Form Field Order</strong><br />
That should take care of adding your new columns to the &#8220;new&#8221; form. But now the fields aren&#8217;t in the order that you&#8217;d like when creating a new service request. Do I need to create a custom new form now? Nope.</p>
<ol>
<li>Go to Settings > List Settings</li>
<li>In the &#8220;Columns&#8221; section, click &#8220;Column Ordering&#8221;</li>
</ol>
<p>I don&#8217;t believe it&#8217;ll effect your custom views too much, but will reorder the columns in the New/Edit/View forms.</p>
<p>Just about done! One last thing to accomplish.</p>
<p><strong>Adding the Current User to a People Picker Field</strong><br />
This is a great one that the portal users will love, since they won&#8217;t have to keep typing their own names in the &#8220;Requester&#8221; field on the new request form.</p>
<p>Ok, so with this one I finally broke down and created my own custom version of the NewForm.aspx page because this required adding code which I didn&#8217;t want to change for <strong>ALL</strong> new items across the portal. But, I was careful in how I did it to prevent future maintenance tasks to a minimum.</p>
<p>First, you need to create a new form. Detailed instructions <a href="http://blah.winsmarts.com/2007-5-Customize_the_-and-quot;NewFormaspx-and-quot;_page_for_a_SharePoint_List.aspx">can be found here</a>. I followed the majority of those instructions with a few modifications.</p>
<p><strong><em>Cliff&#8217;s Notes summary:</em></strong> Open your site in SharePoint Designer, browse to the List, expand the List, find the NewForm.aspx page, right-click, select &#8220;New from Existing Page.&#8221;</p>
<p>You&#8217;ll need to remove the form web part that&#8217;s there and replace with a new one.  The instructions from above walk you through adding a &#8220;Custom List Form&#8221; which adds a &#8220;Data Form Web Part&#8221;.  This is not what I want.  This will pull in a static list of all of the fields that have the flag set to <code>ShowInNewForm</code> (which you could manually add others if you wished). I want to keep it dynamic so that my options are open in the future. Therefore, I added the List Form web part instead.</p>
<p>The main difference is that this one will show you a generic looking form in SharePoint Designer because the columns that it displays will be pulled dynamically depending on what&#8217;s available. This is fine. Now that I have a new page (don&#8217;t forget to associate it with the List&#8217;s &#8220;New&#8221; action), I can add the code to pre-populate one of the People Picker form fields.</p>
<p>The code and details can be <a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/5a0e3de2-f6f5-4235-a4fe-d25e34023e2f/">found in this thread</a>. Someone took the time to write the javascript to handle this. I haven&#8217;t been able to get his original code working that he posted <a href="http://blogs.vbcity.com/skullcrusher">on his blog</a>. The code he posted in the forum thread did work &#8211; though it&#8217;s more of a work-around than a solution.  Keep in mind that this code just populates the <strong><em>first People Picker form found on the page</em></strong>.</p>
<p><strong>In Summary</strong><br />
Now you have a request tracking SharePoint portal site with custom statuses, additional columns as required by the business, and a dynamic custom new request form that pre-populates the &#8220;Requester&#8221; with the current user!</p>
<p>I hope this helped someone out there. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/03/fab-40-helpdesk-modification-summary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
