<?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>devtrends.com &#187; SharePoint</title>
	<atom:link href="http://www.devtrends.com/index.php/category/software-development/web-development/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devtrends.com</link>
	<description>developing trends in information technology</description>
	<lastBuildDate>Fri, 03 Sep 2010 21:32:43 +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>Limiting the output of a SharePoint field in a dataview to [x] words.</title>
		<link>http://www.devtrends.com/index.php/limiting-the-output-of-a-sharepoint-field-in-a-dataview-to-x-words/</link>
		<comments>http://www.devtrends.com/index.php/limiting-the-output-of-a-sharepoint-field-in-a-dataview-to-x-words/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 16:57:17 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[XSL]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=578</guid>
		<description><![CDATA[This solution was created by a guy named Marc, the XSL templates he created are just, well, freaking fantastic! View his blog entry here: Displaying the First N Words of a Long Rich Text Column with XSL I have been looking for a solution to...]]></description>
			<content:encoded><![CDATA[<p>This solution was created by a guy named Marc, the XSL templates he created are just, well, freaking fantastic! View his blog entry here: <a href="http://mdasblog.wordpress.com/2009/01/20/displaying-the-first-n-words-of-a-long-text-column-with-xsl/" target="_new">Displaying the First N Words of a Long Rich Text Column with XSL</a></p>
<p>I have been looking for a solution to cleanly limit the output of a SharePoint list field. Most of the time I find solutions that I piece together to make my desired outcome. However, with FirstNWords and the StripHTML templates that Marc shared, there was nothing left to be desired.</p>
<p>For my implementation of his solution: at the beginning of my row template I added the xsl:variable tag, effectively stripping the HTML from the @SRDetails field and placing into $BodyText. Then where I wanted to display the output, I added the xsl:call-template tag for FirstNWords with the appropriate xsl:with-param values. The actual template code was placed directly below the row template, with the only changes being:</p>
<p>1. StripHTML: replace the &lt; sign in the xsl:when to &amp;lt; .<br />
2. StripHTML: replace the other two signs (&lt; and &gt;) as Marc stated.<br />
3. FirstNWords: replace the &gt; signs in the first and second xsl:when to &amp;gt; .</p>
<p>Awesome solution&#8230;thanks Marc.</p>
<p>-Aaron Gilbert</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/limiting-the-output-of-a-sharepoint-field-in-a-dataview-to-x-words/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Master Page error and the Erroneous &lt;SCRIPT /&gt; tag</title>
		<link>http://www.devtrends.com/index.php/master-page-error-and-the-erroneous-tag/</link>
		<comments>http://www.devtrends.com/index.php/master-page-error-and-the-erroneous-tag/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 17:43:59 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Master Page error]]></category>
		<category><![CDATA[SharePoint Designer 2007]]></category>
		<category><![CDATA[SPD]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=418</guid>
		<description><![CDATA[FrontPage auto-code strikes once again. This time under the different name of SharePoint Designer. Frustrating&#8230; Recently I have been doing a significant amount of development in Windows SharePoint Services and I have once again hit a frustrating issue that has incurred long hours trying to...]]></description>
			<content:encoded><![CDATA[<p>FrontPage auto-code strikes once again. This time under the different name of SharePoint Designer. Frustrating&#8230;</p>
<p>Recently I have been doing a significant amount of development in Windows SharePoint Services and I have once again hit a frustrating issue that has incurred long hours trying to resolve. If you remember my article about the {generate()} function and SharePoint Designer, it will come as no surprise that the issue with “Master Page error” relates to SharePoint Designer inserting code that is not necessary or accurate.</p>
<p><a href="http://www.developingtrends.net/wp-content/uploads/2009/10/master_page_error.jpg"><img class="alignnone size-medium wp-image-419" title="master_page_error" src="http://www.devtrends.com/wp-content/uploads/2009/10/master_page_error-300x53.jpg" alt="master_page_error" width="300" height="53" /></a></p>
<p><strong>&lt;SCRIPT /&gt;</strong></p>
<p>To fix the error in your page, search for the tag &lt;SCRIPT /&gt; and remove any tags that do not appear to belong. Click on the design view and the page should work again…</p>
<p>For more information on this issue, check out this MSDN forum post:</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en/sharepointcustomization/thread/184a40da-01f0-44a0-a90b-0e719132eae0">http://social.msdn.microsoft.com/Forums/en/sharepointcustomization/thread/184a40da-01f0-44a0-a90b-0e719132eae0</a></p>
<p> </p>
<p>-Aaron Gilbert</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/master-page-error-and-the-erroneous-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Designer is FREE!</title>
		<link>http://www.devtrends.com/index.php/sharepoint-designer-is-free/</link>
		<comments>http://www.devtrends.com/index.php/sharepoint-designer-is-free/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 16:47:51 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[FREE]]></category>
		<category><![CDATA[SharePoint Designer 2007]]></category>
		<category><![CDATA[SPD]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=415</guid>
		<description><![CDATA[For me, SharePoint is a love and HATE relationship. The love comes from the feature rich environment that is SharePoint and the hate comes from the fact that development in SharePoint is thoroughly frustrating. I am both excited and disappointed to find out today that...]]></description>
			<content:encoded><![CDATA[<p>For me, SharePoint is a love and HATE relationship. The love comes from the feature rich environment that is SharePoint and the hate comes from the fact that development in SharePoint is thoroughly frustrating. I am both excited and disappointed to find out today that SharePoint Designer 2007 is now a free product. I find this interesting, because, for those that suffered through the &#8220;beta&#8221; stages of SharePoint Services, we had to pay good money for SharePoint Designer 2007 ($300 if I remember right??) to work with a buggy application &#8211; custom List Forms with working attachments anyone?</p>
<p>Never-the-less, for those that are interested in utilizing SharePoint, go download Windows SharePoint Services (WSS) and the now FREE SharePoint Designer 2007 product &#8211; and you have a business worthy Intranet CMS application &#8211; all for free.</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=baa3ad86-bfc1-4bd4-9812-d9e710d44f42" target="_blank">Download SharePoint Designer 2007</a></p>
<p>-Aaron Gilbert</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/sharepoint-designer-is-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>{$SharePointDesignerQuirk}</title>
		<link>http://www.devtrends.com/index.php/sharepointdesignerquirk/</link>
		<comments>http://www.devtrends.com/index.php/sharepointdesignerquirk/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 22:43:22 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[data bindings]]></category>
		<category><![CDATA[DropDownList]]></category>
		<category><![CDATA[generate_id()]]></category>
		<category><![CDATA[SPD]]></category>
		<category><![CDATA[xsl param]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=404</guid>
		<description><![CDATA[Personally, I have never been a fan of using GUI development tools for web design, especially Microsoft web development tools. FrontPage has never even been on my list for necessary web development tools and I have never recommended it to anyone that wanted to design...]]></description>
			<content:encoded><![CDATA[<p>Personally, I have never been a fan of using GUI development tools for web design, especially Microsoft web development tools. FrontPage has never even been on my list for necessary web development tools and I have never recommended it to anyone that wanted to design a web site. Unfortunately, SharePoint Designer is essentially FrontPage with new features added to compliment the Windows SharePoint Services (WSS) or Microsoft Office SharePoint Server (MOSS) functionality.</p>
<p>If you conform to the options given in SharePoint Designer, you will run into only a few minor issues. However, if you fight the rigor mortis that is SharePoint Designer, you will run into more frustrating issues. One that I had ran into a while back was the {generate_id()} function that is automatically added, at random times mind you, to an XHTML tag id property. Although the idea was to help (force?) less-experienced programmers use unique names in the id property, this “feature” is aggravating to experienced programmers. Even with confusingly complex applications, Microsoft develops for the supposed lowest common denominator, which in some cases seems to be a lab monkey.</p>
<p>Enough… enough… what is the solution?</p>
<p><strong>Solution &#8211; XSL Param</strong></p>
<p>As part of the &lt;xsl:template&gt; definition tags, create a new &lt;xsl:param&gt; tag that you will use as an empty parameter on the id properties that you wish SharePoint Designer to leave alone. As an example, you would add this tag immediately following a dvt row:</p>
<pre style="padding-left: 30px;">&lt;xsl:template name="dvt_1.rowedit"&gt;
&lt;xsl:param name="Pos" /&gt;
&lt;xsl:param name=" SharePointDesignerQuirk " /&gt;</pre>
<p>Now you may deploy this empty parameter throughout the xsl template as desired. An example shows a custom div tag with an id property:</p>
<pre style="padding-left: 30px;">&lt;div id="commentsDiv{$SharePointDesignerQuirk}"&gt;</pre>
<p><strong>Data Source Controls Solution &#8211; XSL Param</strong></p>
<p>The above trick works for Data Source Controls also, and you may need to use it if you the Data Source Control you inserted into your SharePoint Designer page is using the {generate_id()} function. Without forcing SharePoint Designer to stop “helping” those that are more intelligent than a lab monkey, you will notice that SharePoint fields, such as a DropDownList, will not show fields that you thought were associated with the SharePoint list.</p>
<p><a href="http://www.developingtrends.net/wp-content/uploads/2009/10/changedatabindings.jpg"><img class="alignnone size-medium wp-image-405" title="changedatabindings" src="http://www.devtrends.com/wp-content/uploads/2009/10/changedatabindings-300x183.jpg" alt="changedatabindings" width="300" height="183" /></a></p>
<p>Aaron Gilbert</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/sharepointdesignerquirk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Querystrings in a SharePoint DataFormWebPart</title>
		<link>http://www.devtrends.com/index.php/using-querystrings-in-a-sharepoint-dataformwebpart/</link>
		<comments>http://www.devtrends.com/index.php/using-querystrings-in-a-sharepoint-dataformwebpart/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 23:00:04 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Parameters]]></category>
		<category><![CDATA[XSL]]></category>
		<category><![CDATA[{$Param1}]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=345</guid>
		<description><![CDATA[Throughout my adventure of SharePoint development, there have been a few times when I needed to use a querystring variable in a DataForm WebPart that was not a part of the data being queried. An example is to use a DataForm Web Part as a...]]></description>
			<content:encoded><![CDATA[<p>Throughout my adventure of SharePoint development, there have been a few times when I needed to use a querystring variable in a DataForm WebPart that was not a part of the data being queried. An example is to use a DataForm Web Part as a means to create a link to another page – with the link containing querystring variables from the datasource used by the DataForm Web Part. If you are unfamiliar with using data fields in the XSL stylesheet in SharePoint page, you can output field values of the current record through {@fieldname}, such as {@ID} will be replaced with the ID value for that record.</p>
<p>In one situation I had two querystring variables that were used on one page, with neither querystring variable being contained within the dataset of the other querystring. Example, account_ID and ad_ID, two indirectly related querystrings that were only linkable through a traditional multi-level table join, such as Accounts &gt; Events &gt; Ads. So how would I output the unassociated querystring in the DataForm of the associated querystring – in other words, how do I use {@field} to output ad_ID when I am working in the Accounts table with querystring account_ID. Well, at first, I had a hard time figuring this out. Depending on the day, I am either thinking too big or too small; either way, the solution seems to always be in the middle.</p>
<p><strong>{$parameter}</strong></p>
<p>As one would add a parameter to filter the datasource results, add a parameter sorely for the purpose of outputting the value in the XSL stylesheet. Simple! Now you can output the querystring value in your XSL by using {$parameter_name}.</p>
<p>If you are unfamiliar with creating parameters, click on the little arrow to the right on the DataForm WebPart and choose “Parameters…”. The name you provide for the parameter will be the same name you use in the {$p..} variable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/using-querystrings-in-a-sharepoint-dataformwebpart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>URL Encoding Table</title>
		<link>http://www.devtrends.com/index.php/url-encoding-table/</link>
		<comments>http://www.devtrends.com/index.php/url-encoding-table/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 23:54:26 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[URL Encoding]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=257</guid>
		<description><![CDATA[Update: because I am frequently encoding or decoding strings, I have created a URL encode and decode script for use on my site. Anyone that has programmed in web technologies has used URL encoded characters at some point. For those are wondering, one of the...]]></description>
			<content:encoded><![CDATA[<p>Update: because I am frequently encoding or decoding strings, I have created a <a href="http://www.devtrends.com/index.php/portfolio/useful-tools/url-encode-and-decode/">URL encode and decode</a> script for use on my site.</p>
<p>Anyone that has programmed in web technologies has used URL encoded characters at some point. For those are wondering, one of the purposes of URL encoding is to allow certain characters in a URL string that would otherwise be prohibited as anything other than their original purpose. An example would be =, which is typically used as part of the querystring structure &#8211; if you were to add this character to your querystring, not intending it as an equal sign defining another querystring variable, it would break your querystring statement intention. There are many other uses for URL encoding, and as you develop web technologies you will find yourself using them more often than not.</p>
<p>The digits following the % sign is a hexadecimal equivalent of the ASCII decimal number for that character. For an example, visit the <a href="http://www.cppreference.com/wiki/ascii" target="_blank">ACSII Chart located at cppreference.com</a>.</p>
<p>As a real example, I am using URL encoding in the Source= statement with SharePoint Services. For more information on source= with SharePoint, see my other <a href="http://www.devtrends.com/index.php/redirect-share…different-page/" target="_self">article</a>.</p>
<table style="border:1px dashed #999999;" border="0">
<tbody>
<tr>
<td>character</td>
<td>URL code</td>
<td>ASCII</td>
</tr>
<tr>
<td>space</td>
<td>%20</td>
<td>32</td>
</tr>
<tr>
<td>!</td>
<td>%21</td>
<td>33</td>
</tr>
<tr>
<td>&#8220;</td>
<td>%22</td>
<td>34</td>
</tr>
<tr>
<td>#</td>
<td>%23</td>
<td>35</td>
</tr>
<tr>
<td>$</td>
<td>%24</td>
<td>36</td>
</tr>
<tr>
<td>%</td>
<td>%25</td>
<td>37</td>
</tr>
<tr>
<td>&amp;</td>
<td>%26</td>
<td>38</td>
</tr>
<tr>
<td>&#8216;</td>
<td>%27</td>
<td>39</td>
</tr>
<tr>
<td>(</td>
<td>%28</td>
<td>40</td>
</tr>
<tr>
<td>)</td>
<td>%29</td>
<td>41</td>
</tr>
<tr>
<td>*</td>
<td>%2A</td>
<td>42</td>
</tr>
<tr>
<td>+</td>
<td>%2B</td>
<td>43</td>
</tr>
<tr>
<td>,</td>
<td>%2C</td>
<td>44</td>
</tr>
<tr>
<td>-</td>
<td>%2D</td>
<td>45</td>
</tr>
<tr>
<td>.</td>
<td>%2E</td>
<td>46</td>
</tr>
<tr>
<td>/</td>
<td>%2F</td>
<td>47</td>
</tr>
<tr>
<td>0</td>
<td>%30</td>
<td>48</td>
</tr>
<tr>
<td>1</td>
<td>%31</td>
<td>49</td>
</tr>
<tr>
<td>2</td>
<td>%32</td>
<td>50</td>
</tr>
<tr>
<td>3</td>
<td>%33</td>
<td>51</td>
</tr>
<tr>
<td>4</td>
<td>%34</td>
<td>52</td>
</tr>
<tr>
<td>5</td>
<td>%35</td>
<td>53</td>
</tr>
<tr>
<td>6</td>
<td>%36</td>
<td>54</td>
</tr>
<tr>
<td>7</td>
<td>%37</td>
<td>55</td>
</tr>
<tr>
<td>8</td>
<td>%38</td>
<td>56</td>
</tr>
<tr>
<td>9</td>
<td>%39</td>
<td>57</td>
</tr>
<tr>
<td>:</td>
<td>%3A</td>
<td>58</td>
</tr>
<tr>
<td>;</td>
<td>%3B</td>
<td>59</td>
</tr>
<tr>
<td>&lt;</td>
<td>%3C</td>
<td>60</td>
</tr>
<tr>
<td>=</td>
<td>%3D</td>
<td>61</td>
</tr>
<tr>
<td>&gt;</td>
<td>%3E</td>
<td>62</td>
</tr>
<tr>
<td>?</td>
<td>%3F</td>
<td>63</td>
</tr>
<tr>
<td>@</td>
<td>%40</td>
<td>64</td>
</tr>
<tr>
<td>A</td>
<td>%41</td>
<td>65</td>
</tr>
<tr>
<td>B</td>
<td>%42</td>
<td>66</td>
</tr>
<tr>
<td>C</td>
<td>%43</td>
<td>67</td>
</tr>
<tr>
<td>D</td>
<td>%44</td>
<td>68</td>
</tr>
<tr>
<td>E</td>
<td>%45</td>
<td>69</td>
</tr>
<tr>
<td>F</td>
<td>%46</td>
<td>70</td>
</tr>
<tr>
<td>G</td>
<td>%47</td>
<td>71</td>
</tr>
<tr>
<td>H</td>
<td>%48</td>
<td>72</td>
</tr>
<tr>
<td>I</td>
<td>%49</td>
<td>73</td>
</tr>
<tr>
<td>J</td>
<td>%4A</td>
<td>74</td>
</tr>
<tr>
<td>K</td>
<td>%4B</td>
<td>75</td>
</tr>
<tr>
<td>L</td>
<td>%4C</td>
<td>76</td>
</tr>
<tr>
<td>M</td>
<td>%4D</td>
<td>77</td>
</tr>
<tr>
<td>N</td>
<td>%4E</td>
<td>78</td>
</tr>
<tr>
<td>O</td>
<td>%4F</td>
<td>79</td>
</tr>
<tr>
<td>P</td>
<td>%50</td>
<td>80</td>
</tr>
<tr>
<td>Q</td>
<td>%51</td>
<td>81</td>
</tr>
<tr>
<td>R</td>
<td>%52</td>
<td>82</td>
</tr>
<tr>
<td>S</td>
<td>%53</td>
<td>83</td>
</tr>
<tr>
<td>T</td>
<td>%54</td>
<td>84</td>
</tr>
<tr>
<td>U</td>
<td>%55</td>
<td>85</td>
</tr>
<tr>
<td>V</td>
<td>%56</td>
<td>86</td>
</tr>
<tr>
<td>W</td>
<td>%57</td>
<td>87</td>
</tr>
<tr>
<td>X</td>
<td>%58</td>
<td>88</td>
</tr>
<tr>
<td>Y</td>
<td>%59</td>
<td>89</td>
</tr>
<tr>
<td>Z</td>
<td>%5A</td>
<td>90</td>
</tr>
<tr>
<td>[</td>
<td>%5B</td>
<td>91</td>
</tr>
<tr>
<td>\</td>
<td>%5C</td>
<td>92</td>
</tr>
<tr>
<td>]</td>
<td>%5D</td>
<td>93</td>
</tr>
<tr>
<td>^</td>
<td>%5E</td>
<td>94</td>
</tr>
<tr>
<td>_</td>
<td>%5F</td>
<td>95</td>
</tr>
<tr>
<td>`</td>
<td>%60</td>
<td>96</td>
</tr>
<tr>
<td>a</td>
<td>%61</td>
<td>97</td>
</tr>
<tr>
<td>b</td>
<td>%62</td>
<td>98</td>
</tr>
<tr>
<td>c</td>
<td>%63</td>
<td>99</td>
</tr>
<tr>
<td>d</td>
<td>%64</td>
<td>100</td>
</tr>
<tr>
<td>e</td>
<td>%65</td>
<td>101</td>
</tr>
<tr>
<td>f</td>
<td>%66</td>
<td>102</td>
</tr>
<tr>
<td>g</td>
<td>%67</td>
<td>103</td>
</tr>
<tr>
<td>h</td>
<td>%68</td>
<td>104</td>
</tr>
<tr>
<td>i</td>
<td>%69</td>
<td>105</td>
</tr>
<tr>
<td>j</td>
<td>%6A</td>
<td>106</td>
</tr>
<tr>
<td>k</td>
<td>%6B</td>
<td>107</td>
</tr>
<tr>
<td>l</td>
<td>%6C</td>
<td>108</td>
</tr>
<tr>
<td>m</td>
<td>%6D</td>
<td>109</td>
</tr>
<tr>
<td>n</td>
<td>%6E</td>
<td>110</td>
</tr>
<tr>
<td>o</td>
<td>%6F</td>
<td>111</td>
</tr>
<tr>
<td>p</td>
<td>%70</td>
<td>112</td>
</tr>
<tr>
<td>q</td>
<td>%71</td>
<td>113</td>
</tr>
<tr>
<td>r</td>
<td>%72</td>
<td>114</td>
</tr>
<tr>
<td>s</td>
<td>%73</td>
<td>115</td>
</tr>
<tr>
<td>t</td>
<td>%74</td>
<td>116</td>
</tr>
<tr>
<td>u</td>
<td>%75</td>
<td>117</td>
</tr>
<tr>
<td>v</td>
<td>%76</td>
<td>118</td>
</tr>
<tr>
<td>w</td>
<td>%77</td>
<td>119</td>
</tr>
<tr>
<td>x</td>
<td>%78</td>
<td>120</td>
</tr>
<tr>
<td>y</td>
<td>%79</td>
<td>121</td>
</tr>
<tr>
<td>z</td>
<td>%7A</td>
<td>122</td>
</tr>
<tr>
<td>{</td>
<td>%7B</td>
<td>123</td>
</tr>
<tr>
<td>|</td>
<td>%7C</td>
<td>124</td>
</tr>
<tr>
<td>}</td>
<td>%7D</td>
<td>125</td>
</tr>
<tr>
<td>~</td>
<td>%7E</td>
<td>126</td>
</tr>
</tbody>
</table>
<p>-Aaron Gilbert</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/url-encoding-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint XSLT Two or More Querystrings</title>
		<link>http://www.devtrends.com/index.php/sharepoint-xslt-two-or-more-querystrings/</link>
		<comments>http://www.devtrends.com/index.php/sharepoint-xslt-two-or-more-querystrings/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 17:34:36 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[querystring]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=236</guid>
		<description><![CDATA[As simple as this tip seems, it took me like 30 minutes to figure out how to fix my problem&#8230;if you use the &#38; sign in a custom SharePoint page you will get an XSL transform error. Querystrings A quick overview&#8230; skip to the next section...]]></description>
			<content:encoded><![CDATA[<p>As simple as this tip seems, it took me like 30 minutes to figure out how to fix my problem&#8230;if you use the &amp; sign in a custom SharePoint page you will get an XSL transform error.</p>
<p><strong>Querystrings</strong></p>
<p>A quick overview&#8230; skip to the next section if you under querystrings.</p>
<p>Querystrings are a great/easy method for transferring information from one web page to another. You can transfer more than one &#8220;variable&#8221; of information by breaking up the querystring statement using the &amp; sign. Here is an example:</p>
<pre style="padding-left: 30px;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;">http://mysharepoint/mypage.aspx?ID=1</pre>
<p>Two querystring variables would be separated by an &amp; sign:</p>
<pre style="padding-left: 30px;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;">http://mysharepoint/mypage.aspx?ID=1&amp;source=http://mysharepoint/myotherpage.aspx</pre>
<p><strong>&amp;amp;</strong></p>
<p>Who would&#8217;ve thought &#8211; maybe just me &#8211; instead of using the &amp; sign in the href statement, you must use &#8220;&amp;amp;&#8221;. So, a two variable querystring would look like:</p>
<pre style="padding-left: 30px;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;">http://mysharepoint/mypage.aspx?ID=1&amp;amp;Source=http://mysharepoint/myotherpage.aspx</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/sharepoint-xslt-two-or-more-querystrings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect SharePoint Form to a Different Page</title>
		<link>http://www.devtrends.com/index.php/redirect-sharepoint-form-to-a-different-page/</link>
		<comments>http://www.devtrends.com/index.php/redirect-sharepoint-form-to-a-different-page/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 17:17:42 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Redirect]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=234</guid>
		<description><![CDATA[As part of a custom SharePoint application, you will probably want your New/Edit forms to redirect to a different page other than the default List view. The default SharePoint redirect displays the view for the List you are modifying&#8230;following this quick tip to redirect to...]]></description>
			<content:encoded><![CDATA[<p>As part of a custom SharePoint application, you will probably want your New/Edit forms to redirect to a different page other than the default List view. The default SharePoint redirect displays the view for the List you are modifying&#8230;following this quick tip to redirect to any page after successful List item creation or modification:</p>
<p><strong>Source=</strong></p>
<p>The trick is to define a querystring variable when calling the New/Edit form and set the URL of the page you wish to be redirected after the Item is created/modified. The querystring is &#8220;source&#8221;.</p>
<p>In your hyperlink, set the page similar to the example below and when you click Ok on the form, you will be redirected to that page instead:</p>
<pre style="padding-left: 30px;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;">&lt;a href="http://mysharepoint/AppPages/custom_edit.aspx?Source=http://mysharepoint/AppPages/custom_list.aspx"&gt;Edit&lt;/a&gt;</pre>
<p> </p>
<p>I&#8217;m out&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/redirect-sharepoint-form-to-a-different-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Custom Page Title to Custom SharePoint Page</title>
		<link>http://www.devtrends.com/index.php/add-custom-page-title-to-custom-sharepoint-page/</link>
		<comments>http://www.devtrends.com/index.php/add-custom-page-title-to-custom-sharepoint-page/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 16:50:15 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Page Title]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=231</guid>
		<description><![CDATA[I have been creating custom pages for Windows SharePoint Services for some time now &#8211; which enable me to create powerful SharePoint applications. However, with every custom page I create, the page title is always blank, which results in the title being the URL to...]]></description>
			<content:encoded><![CDATA[<p>I have been creating custom pages for Windows SharePoint Services for some time now &#8211; which enable me to create powerful SharePoint applications. However, with every custom page I create, the page title is always blank, which results in the title being the URL to that specific web page. Ugly. Here is the solution:</p>
<p><strong>ContentPlaceHolderId</strong></p>
<p>The trick is to add another &lt;asp:Content&gt; tag with the ContentPlaceHolderId set to PlaceHolderPageTitle. This allows you to set a page title for any custom SharePoint page.</p>
<pre style="padding-left: 30px;">&lt;asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server"&gt;
My Custom Page Title!
&lt;/asp:Content&gt;</pre>
<p>Thats it!</p>
<p> </p>
<p>I&#8217;m out&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/add-custom-page-title-to-custom-sharepoint-page/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Custom Workflow Actions (Part 3 of 3)</title>
		<link>http://www.devtrends.com/index.php/custom-workflow-actions-part-3-of-3/</link>
		<comments>http://www.devtrends.com/index.php/custom-workflow-actions-part-3-of-3/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 03:25:02 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Workflow Actions]]></category>

		<guid isPermaLink="false">http://www.devtrends.com/?p=59</guid>
		<description><![CDATA[…this is a continuation of Custom Workflow Actions (Part 2 of 3)… As a recap, we are creating a custom workflow action that allows you to send an email with the attachments from a specified list in your site. The custom workflow action will allow...]]></description>
			<content:encoded><![CDATA[<p>…this is a continuation of <a title="Custom Workflow Actions (Part 2 of 3)" href="http://www.devtrends.com/index.php/custom-workflow-actions-part-2-of-3/" target="_self">Custom Workflow Actions (Part 2 of 3)</a>…</p>
<p>As a recap, we are creating a custom workflow action that allows you to send an email with the attachments from a specified list in your site. The custom workflow action will allow you to configure four user input fields: (a) the Email Content; (b) the Send From Email; (c) the SMTP Host; and (d) the Associated List.</p>
<p>Although this project can be broken down into three sequential steps, these three steps are so closely intertwined that content from all three are required by the other three. With that stated, read all three sections, play around, then begin your actual development. The three steps are:</p>
<p>Step One: Create and Compile your .NET Workflow Activity<br />
Step Two: Modify or Create .ACTIONS file and Add to Authorized Assemblies<br />
<strong>Step Three: Deploy to WSS server and GAC</strong></p>
<h2>Step Three: Deploy to WSS server and GAC</h2>
<p>This step assumes you successfully completed Part 1 of 3 and Part 2 of 3. This Part is considerably shorter than 1 and 2 because you will likely run through the steps in the Part many times as your debug your SharePoint Workflow action DLL.</p>
<h3>Copy the Compiled Assembly DLL to WSS</h3>
<p>Although some people recommend deploying your DLL to a specific folder under the Windows folder, I recommend for this project and other projects to deploy the DLL into the SharePoint folder structure. Therefore, we will deploy your DLL to the SharePoint folder: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI</p>
<p>Let’s copy the latest compile from your Visual Studio project as was in Part 1 of 3 to the SharePoint folder listed above.</p>
<p><a href="http://www.developingtrends.net/wp-content/uploads/2008/08/part-2-image10.jpg"><img class="alignnone size-full wp-image-60" title="part-2-image10" src="http://www.developingtrends.net/wp-content/uploads/2008/08/part-2-image10.jpg" alt="" width="500" height="357" /></a></p>
<p>Next, we will need to use the gacutil.exe tool to add the DLL to the GAC cache. Run the following commands from a command prompt at the location of the DLL:</p>
<p>C:\&#8230;\web server extensions\12\ISAPI&gt;gacutil /I devtrends.EmailAttachments.dll</p>
<p>You should receive a message similar to: “Assembly successfully added to the cache”</p>
<p>If you received a bad command or filename error, then the gacutil.exe application may not be readily available to the command prompt. The gacutil.exe is a tool that is included with the .NET framework, specifically all .NET frameworks. Depending on the level of .NET framework you wrote the program in, you need that level or higher of the gacutil.exe application. For the purpose of this article, the gacutil.exe version is 3.5, and the gacutil.exe was copied to the C:\&#8230;\web server extensions\12\ISAPI folder. You may need to search your computer for the gacutil.exe and copy it to the SharePoint folder that you copied your compiled DLL.</p>
<p>Finally, you will need to restart your Information Information Server, so issue the command iisreset:</p>
<p>C:\&#8230;\web server extensions\12\ISAPI&gt;iisreset</p>
<p>Open SharePoint Designer, you should now have the custom action in your list of Workflow actions.</p>
<p>I hope this article was helpful. If you have questions please submit them as a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtrends.com/index.php/custom-workflow-actions-part-3-of-3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
