<?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; Sharepoint</title>
	<atom:link href="http://www.uccorner.com/tag/sharepoint/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 2010 December Cumulative Updates</title>
		<link>http://www.uccorner.com/216/sharepoint/sharepoint-2010-december-cumulative-updates/</link>
		<comments>http://www.uccorner.com/216/sharepoint/sharepoint-2010-december-cumulative-updates/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 15:13:55 +0000</pubDate>
		<dc:creator>Audun M. Solheim</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[cumulative update]]></category>

		<guid isPermaLink="false">http://www.uccorner.com/?p=216</guid>
		<description><![CDATA[<p>The December 2010 Cumulative Updates for Sharepoint Foundation and Sharepoint Server 2010 has been released. They seem to contain quite a few fixes, especially for the User Profile Service which from what I read will synchronize faster (It might actually look like this is the case, I think User Profile Synchronization was somewhat faster now). [...]]]></description>
			<content:encoded><![CDATA[<p>The December 2010 Cumulative Updates for Sharepoint Foundation and Sharepoint Server 2010 has been released. They seem to contain quite a few fixes, especially for the User Profile Service which from what I read will synchronize faster (It might actually look like this is the case, I <em>think </em>User Profile Synchronization was somewhat faster now). For some reason they are not published on the official Sharepoint Update page, which is why I am writing this post.</p>
<p>I have installed the updates in a 2-server farm, everything seems to work fine afterwards.</p>
<p>Unlike after the October Updates, I didn&#8217;t have to re-provision the User Profile Synchronization Service afterwards, as this service was listed as started when I had finished upgrading. (If re-starting/re-provisioning this service, remember to add the Farm Account to Local Administrators and reboot before starting the service).</p>
<p>I have linked to the downloads on my <a href="http://www.uccorner.com/downloads/">download </a>page.</p>
<p>Version number after updating should be 14.0.0.5130.</p>
<p><em>Update: The December 2010 Updates are as of 07.01.2011 now available via the Sharepoint 2010 Update Resource Center.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uccorner.com/216/sharepoint/sharepoint-2010-december-cumulative-updates/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>Rename Sharepoint server &#8211; new hostname</title>
		<link>http://www.uccorner.com/67/sharepoint/rename-sharepoint-server-new-hostname/</link>
		<comments>http://www.uccorner.com/67/sharepoint/rename-sharepoint-server-new-hostname/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 17:18:28 +0000</pubDate>
		<dc:creator>Audun M. Solheim</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[rename]]></category>

		<guid isPermaLink="false">http://www.uccorner.com/?p=67</guid>
		<description><![CDATA[<p>Recently there was a request to rename a server running Sharepoint 2010 Beta (Could just as well have been MOSS 2007 / WSS 3.0 though).  This server was running SQL on the same box, but the solution here can do the trick for many renaming issues.</p> <p>So what happens when you rename your server and [...]]]></description>
			<content:encoded><![CDATA[<p>Recently there was a request to rename a server running Sharepoint 2010 Beta (Could just as well have been MOSS 2007 / WSS 3.0 though).  This server was running SQL on the same box, but the solution here can do the trick for many renaming issues.</p>
<p>So what happens when you rename your server and gives it a new hostname? Well, Sharepoint doesn&#8217;t like it. This is the message I got:</p>
<pre>Cannot connect to the configuration database.<a href="http://www.uccorner.com/wp-content/uploads/2010/01/cannotconnect.png"></a></pre>
<p>Oops. That&#8217;s a message you do NOT want to see.</p>
<p>So you try to enter Central Admininistration and get &#8220;Internet Explorer cannot display the webpage&#8221;. Well, as soon as you take a look in the address field in the browser, you see why: the shortcut pointing to Central Administration points to the wrong URL (e.g. oldservername:10000, not newservername:10000, assuming Central Admin runs on port 10000). So you type newserver:10000 and cross your fingers. Sorry, you get the same &#8220;Cannot connect to configuration database&#8221;.</p>
<p>But fear not, you can fix this! First of all, rename your server back to the old server name and restart, and everything will work again (you can take a deep breath now). But you still want to rename the server, right?</p>
<h2>Solution</h2>
<p>You have to reconfigure Sharepoint and tell it where it can find the databases. If you already have renamed the server, you can probably do the same thing as described below, but the best is to do this in advance. Besides, nothing works anyway right, so reverting the name temporary with the required restart won&#8217;t do any harm and give you time to the aforementioned deep breath. (If you try to fix this with adding an entry with the old server name in your host file, you&#8217;ll just get &#8220;An unexpected error has occured&#8221; or the same &#8220;Cannot connect to the configuration database&#8221;).</p>
<p><strong>This is what you do</strong>:</p>
<ul>
<li>Run this stsadm command: stsadm -o renameserver -oldservername oldservername -newservername newservername.</li>
<li>Rename and reboot server.</li>
<li>Enter Central Admin and look over all your Alternate Access Mappings (you&#8217;ll have to change to the new server name everywhere the old server name still shows).</li>
<li>I didn&#8217;t have this problem with 2010, but you might have to check and possibly reset your site collection admins. I wouldn&#8217;t be surprised if you&#8217;ll have to go over your host names in IIS in case you are using host headers also.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.uccorner.com/67/sharepoint/rename-sharepoint-server-new-hostname/feed/</wfw:commentRss>
		<slash:comments>6</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>

