<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="0.92">
<channel>
	<title>Pat's .Net and Sharepoint Blog</title>
	<link>http://blog.12thwave.com</link>
	<description>In the Microsoft Sharepoint and .Net Trenches</description>
	<lastBuildDate>Wed, 18 Feb 2009 00:50:17 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>XSLT Code to output a hyperlink column in Sharepoint Designer</title>
		<description> 
&#60;td class="ms-vb"&#62;
    &#60;a class="ms-toolbar"&#62;
              &#60;xsl:attribute name="href"&#62;
              &#60;xsl:text&#62;/_layouts/FormServer.aspx?&#60;/xsl:text&#62;
              &#60;xsl:text&#62;XmlLocation=&#60;/xsl:text&#62;
              &#60;xsl:value-of select="@FileRef"&#62;&#60;/xsl:value-of&#62;
              &#60;xsl:text&#62;&#38;&#60;/xsl:text&#62;
              &#60;xsl:text&#62;OpenIn=Client&#60;/xsl:text&#62;�
              &#60;/xsl:attribute&#62;
              &#60;xsl:value-of select="@FileLeafRef"&#62;&#60;/xsl:value-of&#62;
         &#60;/a&#62;
   &#60;/td&#62;

 </description>
		<link>http://blog.12thwave.com/?p=27</link>
			</item>
	<item>
		<title>Using a Replace Web Service in a Sharepoint Web Based InfoPath form</title>
		<description>


Due to the lack of an easy way to do a find and replace in InfoPath, I developed a simple web service with a web method called replace that uses managed code to call the replace method of the string data type. Here's how I call the web method in ...</description>
		<link>http://blog.12thwave.com/?p=26</link>
			</item>
	<item>
		<title>Replace XSLT Template for Sharepoint Designer</title>
		<description>If you need to do a find and replace when outputting a column in a data view you can use the following:
�
&#60;xsl:template name="stringreplace"&#62;
  &#60;xsl:param name="stringvalue" /&#62;
  &#60;xsl:param name="from" /&#62;
  &#60;xsl:param name="to" /&#62;
  &#60;xsl:choose&#62;
   &#60;xsl:when test="contains($stringvalue, $from)"&#62;&#60;xsl:value-of select="substring-before($stringvalue, $from)" /&#62;
    &#60;xsl:if test="contains(substring($stringvalue, 1, string-length($stringvalue) - 1), $from)"&#62;&#60;xsl:value-of select="$to" /&#62;
     &#60;xsl:call-template name="stringreplace"&#62;
      ...</description>
		<link>http://blog.12thwave.com/?p=24</link>
			</item>
	<item>
		<title>Line feeds / Line breaks Sharepoint Dataviews</title>
		<description>After having published an Infopath form with a rich textbox field to a document library, I created a dataview of the list.

The column that came from the rich textbox control (Comments) lost it's linebreaks. In order to fix the problem I used the following code:

 &#60;xsl:value-of select=&#34;ddwrt:AutoNewLine(string(@Comments))&#34; disable-output-escaping=&#34;yes&#34; /&#62;

  </description>
		<link>http://blog.12thwave.com/?p=22</link>
			</item>
	<item>
		<title>Infopath Forms Services Form opens in browser but as XML</title>
		<description>When opening an infopath form the XML code appears in the browser.
Open Infopath go into Tools / Options
Check – Check whether Microsoft Office is the default program for opening and editing .xml files

� </description>
		<link>http://blog.12thwave.com/?p=14</link>
			</item>
	<item>
		<title>Updating Sharepoint 2003 Infopath Forms to 2007</title>
		<description>When you migrate a form library from Sharepoint 2003 to Sharepoint 2007 references to the Form template will still point to the 2003 form library.
If you need to update the reference Sharepoint has a relink documents feature to individually re-link the xml forms to the appropriate template.
Unfortunately this process can ...</description>
		<link>http://blog.12thwave.com/?p=15</link>
			</item>
	<item>
		<title>Toronto Stock Exchange (TSE) Stock Quote Sharepoint Web Part</title>
		<description>The Stock Quote Web Part is a custom web part that displays stock information from Yahoo Finance. It allows users to lookup stocks on either the TSE or NYSE



Click here to dowload the Web Part 

� </description>
		<link>http://blog.12thwave.com/?p=16</link>
			</item>
	<item>
		<title>Minimal Sharepoint Application Page Code</title>
		<description>Below is some code to get you started on creating your own Sharepoint Application Page so that it looks just like the built in ones!
&#60;%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%&#62;
&#60;%@ Assembly Name="CheckInAll, Version=1.0.0.0, Culture=neutral, PublicKeyToken=70b886b56e89f448"  %&#62;
&#60;%@ Page Language="VB" MasterPageFile="~/_layouts/application.master" Inherits="VSeWSS.CheckInAll.CheckIn" %&#62;
&#60;asp:Content ID="PageTitle" contentplaceholderid="PlaceHolderPageTitle" runat="server"&#62;
 Check-In: All Documents
&#60;/asp:Content&#62;
&#60;asp:Content ID="PageTitleInTitleArea" runat="server"
             contentplaceholderid="PlaceHolderPageTitleInTitleArea" &#62;
 Check-In: ...</description>
		<link>http://blog.12thwave.com/?p=17</link>
			</item>
	<item>
		<title>Using the Sharepoint SPSiteMapProvider to Populate a TreeView Control</title>
		<description>Here's a very simple way to populate a TreeView Control using the SPSiteMapProvider.

Just copy the code below, create an aspx page, name it what you want and then copy it to

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS

 

 

 

Code for the application page:

&#60;%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%&#62;
&#60;%@ Page language="C#" MasterPageFile="~/_layouts/application.master" %&#62;
&#60;%@ Import ...</description>
		<link>http://blog.12thwave.com/?p=10</link>
			</item>
	<item>
		<title>Ohh baby I found some goodies today!</title>
		<description>Check out all these cool features you can install on your dev VPC's....

http://www.codeplex.com/features

I've installed the Debugger feature and it's already saving me some time!

I must admit going into the Debug menu selecting the three or four worker processes and then clicking on the Attach button was getting pretty tedious. </description>
		<link>http://blog.12thwave.com/?p=9</link>
			</item>
</channel>
</rss>
