<?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>The UC Corner &#187; WSS 3.0</title>
	<atom:link href="http://www.uccorner.com/category/sharepoint/wss/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uccorner.com</link>
	<description>Unified Communications: Sharepoint, OCS, mobile communications and collaboration.</description>
	<lastBuildDate>Fri, 15 Jul 2011 09:31:30 +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>Sharepoint naming best practise</title>
		<link>http://www.uccorner.com/97/sharepoint/sharepoint-naming-best-practise/</link>
		<comments>http://www.uccorner.com/97/sharepoint/sharepoint-naming-best-practise/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 17:40:04 +0000</pubDate>
		<dc:creator>Audun M. Solheim</dc:creator>
				<category><![CDATA[Foundation 2010]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Sharepoint 2007]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[WSS 3.0]]></category>
		<category><![CDATA[best practise]]></category>
		<category><![CDATA[file name]]></category>
		<category><![CDATA[naming]]></category>

		<guid isPermaLink="false">http://www.uccorner.com/?p=97</guid>
		<description><![CDATA[<p>When naming your files, folders (but you usually don&#8217;t want folders anyway) and sites, avoid these characters:</p> <p>&#38; ~ # %  * ? / + &#124; &#8221; . _ { } \ : &#60; &#62;</p> <p>Underscore is to be avoided as the first character in the name, and multiple consecutive periods should be avoided. In [...]]]></description>
			<content:encoded><![CDATA[<p>When naming your files, folders (but you usually don&#8217;t want folders anyway) and sites, avoid these characters:</p>
<p>&amp; ~ # %  * ? / + | &#8221; . _ { } \ : &lt; &gt;</p>
<p>Underscore is to be avoided as the first character in the name, and multiple consecutive periods should be avoided. In columns and document library names I also prefer to avoid Norwegian letters like æ,ø and å, and spaces. I rather rename the column or document library afterwards, getting a nice looking name combined with a coder-friendly URL (I get no sleep when I see URL&#8217;s like bad%20url.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uccorner.com/97/sharepoint/sharepoint-naming-best-practise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cascading Drop Down &#8211; multiple select</title>
		<link>http://www.uccorner.com/75/sharepoint/cascading-drop-down-multiple-select/</link>
		<comments>http://www.uccorner.com/75/sharepoint/cascading-drop-down-multiple-select/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 16:00:26 +0000</pubDate>
		<dc:creator>Audun M. Solheim</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Sharepoint 2007]]></category>
		<category><![CDATA[WSS 3.0]]></category>
		<category><![CDATA[cascading]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[drop down]]></category>
		<category><![CDATA[filter]]></category>

		<guid isPermaLink="false">http://www.uccorner.com/?p=75</guid>
		<description><![CDATA[<p>Update: Marc D. Anderson has now updated the Jquery files, so if you use the latest version this won&#8217;t be an issue anymore and you can disregard this post.</p> <p>I have previously written a walk-through about how to implement a relationship between two columns:</p> <p>http://www.uccorner.com/54/sharepoint/cascading-drop-down/</p> <p>My friend and excellent SharePoint-er Jasmine Garry found ut that under [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update: Marc D. Anderson has now updated the Jquery files, so if you use the latest version this won&#8217;t be an issue anymore and you can disregard this post.</em></p>
<p>I have previously written a walk-through about how to implement a relationship between two columns:</p>
<p><a href="http://www.uccorner.com/54/sharepoint/cascading-drop-down/">http://www.uccorner.com/54/sharepoint/cascading-drop-down/</a></p>
<p>My friend and excellent SharePoint-er Jasmine Garry found ut that under certain circumstances, this approach did not work. To be more precise, if your site is in another language than English, and your column in the list where the relationship is (i.e. &#8220;Vacation Plans&#8221;) allows for multiple select, you get this error:</p>
<pre>Message: Column not found on page</pre>
<p>The reason for this is that the Jquery file uses hard-coded English terms to create a string that works with multiple select.</p>
<h3>Solution:</h3>
<p>First, in the code for your custom NewForm (the page where you are getting the actual error), look for a select tag and find the one where title=&#8221;City possible values&#8221;. Possible values will be in your own language. Now open the jquery.SPServices-0.4.8.min.js-file (or the version you are using), replace all occurrences (there are several) of possible values with the equivalent from your own language that you just found in the source code for the page.</p>
<p>Now, do the same procedure for &#8220;selected values&#8221; and you are good to go.</p>
<p>This is a workaround, and is expected to be fixed in a later release of the Jquery file by Marc D. Anderson.</p>
<p>Thanks to Jasmine Garry and Marc D. Anderson for figuring this out: <a href="http://spservices.codeplex.com/Thread/View.aspx?ThreadId=85478">http://spservices.codeplex.com/Thread/View.aspx?ThreadId=85478</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uccorner.com/75/sharepoint/cascading-drop-down-multiple-select/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cascading Drop Down</title>
		<link>http://www.uccorner.com/54/sharepoint/cascading-drop-down/</link>
		<comments>http://www.uccorner.com/54/sharepoint/cascading-drop-down/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 16:02:18 +0000</pubDate>
		<dc:creator>Audun M. Solheim</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Sharepoint 2007]]></category>
		<category><![CDATA[WSS 3.0]]></category>
		<category><![CDATA[cascading]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[drop down]]></category>
		<category><![CDATA[filter]]></category>

		<guid isPermaLink="false">http://www.uccorner.com/?p=54</guid>
		<description><![CDATA[<p>The request for Cascading Drop Down, filtered drop down, dependent drop down or what you call them is one of the most common requirements from customers. This rather basic functionality is surprisingly not implemented in either WSS 3.0 or MOSS 2007.</p> <p>Update: This also works in Sharepoint Foundation (2010). I have created a new post for 2010 here.</p> [...]]]></description>
			<content:encoded><![CDATA[<p>The request for Cascading Drop Down, filtered drop down, dependent drop down or what you call them is one of the most common requirements from customers. This rather basic functionality is surprisingly not implemented in either WSS 3.0 or MOSS 2007.</p>
<p><em>Update: This also works in Sharepoint Foundation (2010). I have created a new post for 2010 <a href="http://www.uccorner.com/253/sharepoint/cascading-drop-down-sharepoint-foundation-2010/">here</a>.</em></p>
<p><strong>What is Cascading Drop Down?<br />
</strong>You have two columns in your Sharepoint list, Country and City. Both are lookup/drop down columns. When you choose a country in the Country Drop Down, you only want to see the cities in this country available in the City Drop Down column. This of course makes life easier for the end user, and improves data quality.</p>
<p><strong>Solutions en masse</strong><br />
There are however lots of solutions for this. <a title="Datacogs" href="http://datacogs.com/datablogs/archive/2007/08/26/641.aspx" target="_blank">Datacogs&#8217; Cascading Drop Down </a>is well-known, and various improved versions like <a href="http://cascddlistwithfilter.codeplex.com/" target="_blank">SharePoint Cascading Drop Down List (With Filter) Field Type</a> and <a title="Custom Field control" href="http://customfieldcontrols.codeplex.com/" target="_blank">Query Based Lookup Field Control (Custom field controls), </a>both on Codeplex. These are all free, you can also find solutions out there you have to pay for. I have tried several of these, however good work these guys are doing making this for free, there are some issues that keeps me from using them, like annoying page refresh, creating lots of versions of the list element and the general problems you can get with restore/moving/upgrading data that is not standard Sharepoint.</p>
<p><strong>The solution<br />
</strong>Instead, I have used this solution with success. The list is still standard Sharepoint, which gives great flexibility and stability. This way, the filtering is done in the forms for creating and editing elements. Because of this, you don&#8217;t even have access to the server to implement this. I have used this solution both in document libraries and in regular Sharepoint lists.<span id="more-54"></span></p>
<p><em>1. Add the Jacascript</em><br />
Download the Jquery file <a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.min.js" target="_blank">jquery-1.3.2.min.js</a> by Jquery.com. Download <a title="jquery" href="http://spservices.codeplex.com/" target="_blank">jquery.SPServices-0.4.8.zip</a> from the Jquery Library for Sharepoint Codeplex site (newer version is probably also OK). Upload jquery-1.3.2.min.js and jquery.SPServices-0.4.8.min.js (from the zip file) to a document library that everyone accessing your site has access to (a library on the top level site can be wise).</p>
<p><em>2. Create your relationship lists</em><br />
Make two lists, one for the parent (Country) and one for the child (City):</p>
<p>Countries list:<br />
<a href="http://www.uccorner.com/wp-content/uploads/2010/01/countries.png"><img class="alignnone size-full wp-image-55" title="countries" src="http://www.uccorner.com/wp-content/uploads/2010/01/countries.png" alt="" width="183" height="92" /></a></p>
<p>Cities list:<br />
<a href="http://www.uccorner.com/wp-content/uploads/2010/01/cities.png"><img class="alignnone size-medium wp-image-56" title="cities" src="http://www.uccorner.com/wp-content/uploads/2010/01/cities-300x150.png" alt="" width="300" height="150" /></a><br />
The Country column can be a look up from the Countries list, but you can just as well use a standard single line of  text column. This can theoretically give better performance, but you must of course be precise when filling out the County column so that the values here matches the ones in the Countries list.</p>
<p><em>3. Create the list using the Drop Down</em></p>
<p>Vacation Plans list:<br />
<a href="http://www.uccorner.com/wp-content/uploads/2010/01/vacation.png"><img class="alignnone size-medium wp-image-57" title="vacation" src="http://www.uccorner.com/wp-content/uploads/2010/01/vacation-300x56.png" alt="" width="300" height="56" /></a></p>
<p>This is the list where I want my Cascading Drop Downs. Country and City are lookup columns against Countries and Cities lists. The lookups goes against the title field in the respective columns.</p>
<p><em>4. Make the magic happen<br />
</em>In Sharepoint Designer, create your own NewForm.aspx (or EditForm.aspx, you&#8217;ll need both if you want it to work when editing items). If you don&#8217;t know how to do this, I&#8217;ll probably post a tutorial later. Tip: don&#8217;t edit the existing forms, but copy them and assign them as default forms.</p>
<pre>Just below
&lt;asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"&gt;</pre>
<p>insert this code:</p>
<pre>&lt;script language="javascript" type="text/javascript" src="/address to document library/jquery-1.3.2.min.js"&gt;&lt;/script&gt;
&lt;script language="javascript" type="text/javascript" src="/address to document library/jquery.SPServices-0.4.8.min.js"&gt;&lt;/script&gt;
&lt;script language="javascript" type="text/javascript"&gt;
 $(document).ready(function() {
  $().SPServices.SPCascadeDropdowns({
   relationshipList: "Cities",
   relationshipListParentColumn: "Country",
   relationshipListChildColumn: "Title",
   parentColumn: "Country",
   childColumn: "City",
   debug: true
  });

 });
&lt;/script&gt;

Save and create a new item using your new form:</pre>
<p><a href="http://www.uccorner.com/wp-content/uploads/2010/01/holiday.png"><img class="alignnone size-full wp-image-59" title="holiday" src="http://www.uccorner.com/wp-content/uploads/2010/01/holiday.png" alt="" width="623" height="251" /></a><br />
Voila!</p>
<p><em> 5.Explained</em>:<br />
relationshipList: &#8220;Cities&#8221; : this is the name of the relationsship list = the list containing parent and child<br />
relationshipListParentColumn: &#8220;Country&#8221; : Column name from the Cities list<br />
relationshipListChildColumn: &#8220;Title&#8221; : Column name from the Cities list<br />
parentColumn: &#8220;Country&#8221;: Column name from the list where the drop down is = Vacation Plans<br />
childColumn: &#8220;City&#8221;: Column name from the list where the drop down is = Vacation Plans</p>
<p>You have lost of other options explained at the <a href="http://spservices.codeplex.com/wikipage?title=%24%28%29.SPServices.SPCascadeDropdowns&amp;referringTitle=Documentation" target="_blank">project site on Codeplex</a> like sorting, multiple levels and so on.</p>
<p>Thanks to <a href="http://mdasblog.wordpress.com">Marc D. Anderson</a> for making this available.</p>
<p><em>Updated: The Jquery files is now updated by Marc D. Anderson to support also multiple select in non-english languages without having to tweak anything. Thanks  to Jasmine Garry and Marc D. Anderson for this update.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uccorner.com/54/sharepoint/cascading-drop-down/feed/</wfw:commentRss>
		<slash:comments>83</slash:comments>
		</item>
		<item>
		<title>Sharepoint: Open links in new window</title>
		<link>http://www.uccorner.com/32/sharepoint/sharepoint-open-links-in-new-window/</link>
		<comments>http://www.uccorner.com/32/sharepoint/sharepoint-open-links-in-new-window/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 20:38:26 +0000</pubDate>
		<dc:creator>Audun M. Solheim</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Sharepoint 2007]]></category>
		<category><![CDATA[WSS 3.0]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://www.uccorner.com/?p=32</guid>
		<description><![CDATA[<p>Ok, this is a simple question really.You have a links list, and want the links to open in a new window. Not really best practise, but a common request for external links. (Best practise is of course to let the user decide &#8211; just hold down Shift while clicking the link and it opens in [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, this is a simple question really.You have a links list, and want the links to open in a new window. Not really best practise, but a common request for external links. (Best practise is of course to let the user decide &#8211; just hold down Shift while clicking the link and it opens in a new window). </p>
<p>The answer can be simple or a little more advanced, depending on how you solve it:</p>
<p><strong>1.#openinnewwindow</strong></p>
<p> To add #openinnewwindow to the end of the URL is a common suggestion, but it doesn&#8217;t work unless you make some JavaScript modifications.</p>
<p><strong>2. Summary Links Web Part</strong></p>
<p>Using MOSS, you say? Well, let the Summary Links Web Part come to the rescue. This web part is included in MOSS. Add this web part to a page and you can easily customze the links.</p>
<p><a href="http://www.uccorner.com/wp-content/uploads/2010/01/summarylinkwp.png"><img class="alignnone size-full wp-image-33" title="Summary Link Web Part" src="http://www.uccorner.com/wp-content/uploads/2010/01/summarylinkwp.png" alt="Summary Link Web Part" width="641" height="214" /></a></p>
<p>The drawback is that you add and edit the links in the web parts itself, it&#8217;s not connected to a list &#8211; not the Sharepoint way to do it if you ask me. You&#8217;ll have to have Design or Contribute permissions to add links that everyone can see.</p>
<p><strong>3. Convert to XSLT Data View</strong></p>
<p>OK, you only have WSS but you have Sharepoint Designer? Well, just open the page where you have a web part showing links from you links list in Sharepoint Designer.</p>
<p>Right-click &#8211; Convert to XSLT Data View.</p>
<p><a href="http://www.uccorner.com/wp-content/uploads/2010/01/converttodataview.png"><img class="alignnone size-full wp-image-40" title="Sharepoint Designer Convert to Data View" src="http://www.uccorner.com/wp-content/uploads/2010/01/converttodataview.png" alt="Convert to data view" width="304" height="363" /></a></p>
<p>Now you can right-click a link and set the target to a new window.</p>
<p><span id="more-32"></span></p>
<p>Right-click and choose Hyperlink Properties:</p>
<p><a href="http://www.uccorner.com/wp-content/uploads/2010/01/link_prop.png"><img class="alignnone size-full wp-image-41" title="Hyperlink properties" src="http://www.uccorner.com/wp-content/uploads/2010/01/link_prop.png" alt="Hyperlink properties" width="298" height="662" /></a></p>
<p>Click Target Frame:</p>
<p><a href="http://www.uccorner.com/wp-content/uploads/2010/01/edit_hyperlink.png"><img class="alignnone size-full wp-image-43" title="Edit hyperlink" src="http://www.uccorner.com/wp-content/uploads/2010/01/edit_hyperlink.png" alt="Edit hyperlink" width="655" height="337" /></a></p>
<p>Choose New Window:</p>
<p><a href="http://www.uccorner.com/wp-content/uploads/2010/01/target_frame.png"><img class="alignnone size-full wp-image-42" title="Target Frame" src="http://www.uccorner.com/wp-content/uploads/2010/01/target_frame.png" alt="Target Frame" width="367" height="337" /></a></p>
<p>That&#8217;s it! You can also set this as page default if you like.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uccorner.com/32/sharepoint/sharepoint-open-links-in-new-window/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

