<?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>SharePoint DIY &#187; SharePoint Designer</title>
	<atom:link href="http://www.sharepointdiy.com/tag/sharepoint_designer/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointdiy.com</link>
	<description>Tutorials and how to&#039;s for Microsoft SharePoint</description>
	<lastBuildDate>Wed, 24 Jun 2009 23:28:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Making the &#8220;Encoded absolute URL&#8221; work with a list in SharePoint</title>
		<link>http://www.sharepointdiy.com/246/encoded-absolute-url-doesnt-work-with-a-list-in-sharepoint?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=encoded-absolute-url-doesnt-work-with-a-list-in-sharepoint</link>
		<comments>http://www.sharepointdiy.com/246/encoded-absolute-url-doesnt-work-with-a-list-in-sharepoint#comments</comments>
		<pubDate>Tue, 23 Jun 2009 20:28:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://www.sharepointdiy.com/?p=246</guid>
		<description><![CDATA[You&#8217;ve probably noticed that when trying to use the &#8220;Encoded Absolute URL&#8221; in for example an email that gets sent out from a workflow on a SharePoint list, returns a strange link that doesn&#8217;t work when clicking on it. The URL that gets created when using the &#8220;Encoded Absolute URL&#8221; looks something like: http://litwaredemo/Project/Lists/Projects/14 .000. The catch with &#8230;]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve probably noticed that when trying to use the &#8220;Encoded Absolute URL&#8221; in for example an email that gets sent out from a workflow on a SharePoint list, returns a strange link that doesn&#8217;t work when clicking on it.</p>
<p>The URL that gets created when using the &#8220;Encoded Absolute URL&#8221; looks something like: http://litwaredemo/Project/Lists/Projects/14 .000.</p>
<p>The catch with the &#8220;Encoded Absolute URL&#8221; parameter is that it only works with Document Libraries &#8211; not with any other lists in SharePoint.</p>
<p>There are a couple of easy way around this by changing the URL a bit.</p>
<ul>
<li>Option 1 is the best approach, however you will have to hardcode the server name and this could cause the workflow or other to break when you move servers / domains (not very likely to happen very often though).</li>
<li>Option 2 is a straight forward approach which doesnt&#8217; make it necessary to hardcode the server name however has the downside that it will NOT work when using folders inside the list where list items are located.</li>
</ul>
<h2>Option 1: Hard coded server name &#8211; best option</h2>
<p>When you created a workflow and as an action kick off an email, you can use the &#8220;Add Lookup to Body&#8221; functionality to compile the link.</p>
<p>In the body of the email type in:</p>
<p>http://YOURSITENAME/</p>
<ul>
<li>Click the &#8220;Add Lookup to Body&#8221; button</li>
<li>For the drop down list &#8220;Source&#8221; select &#8220;Current Item&#8221;</li>
<li>For the drop downlist &#8220;Field&#8221; select &#8220;Path&#8221;</li>
<li>Click &#8220;OK&#8221;</li>
</ul>
<div class="mceTemp">
<div id="attachment_253" class="wp-caption alignnone" style="width: 310px"><a href="http://www.sharepointdiy.com/wp-content/uploads/2009/06/urlencode11.png"><img class="size-medium wp-image-253" title="Current Item &gt; Path" src="http://www.sharepointdiy.com/wp-content/uploads/2009/06/urlencode11-300x271.png" alt="Current Item &gt; Path" width="300" height="271" /></a>
<p class="wp-caption-text">Current Item &gt; Path</p>
</div>
</div>
<p>Now the URL in the email body will look like:</p>
<p>http://YOURSITENAME/[%Tasks:Path%]</p>
<ul>
<li>Enter the text &#8221;/DispForm.aspx?ID=&#8221; behind the just inserted parameter</li>
<li>Click the &#8220;Add Lookup to Body&#8221; button again</li>
<li>For the drop down list &#8220;Source&#8221; select &#8220;Current Item&#8221;</li>
<li>For the drop downlist &#8220;Field&#8221; select &#8220;ID&#8221;</li>
<li>Click &#8220;OK&#8221;</li>
</ul>
<div class="mceTemp">
<div id="attachment_254" class="wp-caption alignnone" style="width: 310px"><a href="http://www.sharepointdiy.com/wp-content/uploads/2009/06/urlencode21.png"><img class="size-medium wp-image-254" title="Current Item &gt; ID" src="http://www.sharepointdiy.com/wp-content/uploads/2009/06/urlencode21-300x271.png" alt="Current Item &gt; ID" width="300" height="271" /></a>
<p class="wp-caption-text">Current Item &gt; ID</p>
</div>
</div>
<p>Now the URL in the email body will look like:</p>
<p>http://YOURSITENAME/[%Tasks:Path%]/DispForm.aspx?ID=[%Tasks:ID%]</p>
<div id="attachment_255" class="wp-caption alignnone" style="width: 310px"><a href="http://www.sharepointdiy.com/wp-content/uploads/2009/06/urlencode3.png"><img class="size-medium wp-image-255" title="Proper path to SharePoint list item" src="http://www.sharepointdiy.com/wp-content/uploads/2009/06/urlencode3-300x271.png" alt="Proper path to SharePoint list item" width="300" height="271" /></a>
<p class="wp-caption-text">Proper path to SharePoint list item</p>
</div>
<p> The email that will send out when the workflow is triggered will now look like:</p>
<div id="attachment_256" class="wp-caption alignnone" style="width: 310px"><a href="http://www.sharepointdiy.com/wp-content/uploads/2009/06/urlencode4.png"><img class="size-medium wp-image-256" title="Email with link to list item" src="http://www.sharepointdiy.com/wp-content/uploads/2009/06/urlencode4-300x269.png" alt="Email with link to list item" width="300" height="269" /></a>
<p class="wp-caption-text">Email with link to list item</p>
</div>
<h2>Option 2: Using [%Tasks:Encoded Absolute URL%]</h2>
<p>When you created a workflow and as an action kick off an email, you can use the &#8220;Add Lookup to Body&#8221; functionality to compile the link.</p>
<p>In the body of the email:</p>
<ul>
<li>Click the &#8220;Add Lookup to Body&#8221; button</li>
<li>For the drop down list &#8220;Source&#8221; select &#8220;Current Item&#8221;</li>
<li>For the drop downlist &#8220;Field&#8221; select &#8220;Encoded Absolute URL&#8221;</li>
<li>Click &#8220;OK&#8221;</li>
</ul>
<p>Now the following parameter in the email body will look like:<br />
[%Tasks:Encoded Absolute URL%]</p>
<li>In order to get a working link we will have to add &#8220;/../DispForm.aspx?ID=&#8221; behind the just inserted parameter</li>
<li>Click the &#8220;Add Lookup to Body&#8221; button again</li>
<li>For the drop down list &#8220;Source&#8221; select &#8220;Current Item&#8221;</li>
<li>For the drop downlist &#8220;Field&#8221; select &#8220;ID&#8221;</li>
<li>Click &#8220;OK&#8221;</li>
<p>Now the link in the email body is complete and will look like:<br />
[%Tasks:Encoded Absolute URL%]/../DispForm.aspx?ID=[%Tasks:ID%]</p>
<p>The trick is the /../ between the &#8220;[%Tasks:Encoded Absolute URL%]&#8221; and the &#8220;DispForm.aspx?ID=[%Tasks:ID%]&#8221; in the link. The &#8220;/../&#8221; tells the server to go up one level in the folder hierarchy. The problem with this approach is that when you have folders inside your list where you store list items the path to the needs to go up even more levels depending on how deep you nested the list items.</p>
<p>I recommend using option 1 &#8211; but if you are absolutely certain folders will never be used or you will always keep all tasks organized on one specific folder level &#8211; this option will be &#8216;ok&#8217;.</p>
<p>And we are done!</p>
<p>See our <a href="http://www.sharepointdiy.com/articles/creating-a-nicer-looking-hyperlink-instead-of-the-full-url">follow up post </a>about creating a nicer looking hyperlink instead of the url.</p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointdiy.com/246/encoded-absolute-url-doesnt-work-with-a-list-in-sharepoint/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The paste text dialog box</title>
		<link>http://www.sharepointdiy.com/28/the-paste-text-dialog-box?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-paste-text-dialog-box</link>
		<comments>http://www.sharepointdiy.com/28/the-paste-text-dialog-box#comments</comments>
		<pubDate>Tue, 16 Jun 2009 19:11:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[SharePoint Designer]]></category>

		<guid isPermaLink="false">http://www.sharepointdiy.com/?p=28</guid>
		<description><![CDATA[The Paste Text dialog box  in SharePoint Designer contains a few formatting options that allow you to paste text from other sources into your page.

In this article we'll explain what each option does.]]></description>
			<content:encoded><![CDATA[<p>The Paste Text dialog box  in SharePoint Designer contains a few formatting options that allow you to paste text from other sources into your page.</p>
<p>In this article we&#8217;ll explain what each option does.</p>
<ul>
<li><strong><em>Plain text</em></strong> ~ Pastes all text but replaces line breaks with spaces.</li>
<li><strong><em>One &lt;pre&gt; formatted paragraph</em></strong> ~ Pastes all text within a single preformatted text &lt;pre&gt; tag</li>
<li><strong><em>Many &lt;pre&gt; formatted paragraphs</em></strong> ~ Pastes each paragraph into seperate &lt;pre&gt; tags.</li>
<li><strong><em>Normal paragraphs with line breaks</em></strong> ~ Pastes all text within a single paragraph tag.</li>
<li><strong><em>Normal paragraphs without line breaks</em></strong> ~ Pastes each paragraph into a seperate paragraph tag.</li>
</ul>
<h2>Paste or Paste Text</h2>
<ul>
<li>The paste option copies text along with the markup and styles (<strong>BAD</strong>!).</li>
<li>The Paste Text option launches the Paste Text dialog box, which pastes it without any markup an styles (<strong>GOOD</strong>!).</li>
</ul>
<p>Always try to use the Paste Text to prevent getting garbage markup styles polute your webpages which can be a tedious job to clean up.</p>
<p>You can find the Paste Text option in SharePoint Design by clicking Edit ? Paste Text.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointdiy.com/28/the-paste-text-dialog-box/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add a new subsite using SharePoint Designer</title>
		<link>http://www.sharepointdiy.com/20/add-a-new-subsite-using-sharepoint-designer?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=add-a-new-subsite-using-sharepoint-designer</link>
		<comments>http://www.sharepointdiy.com/20/add-a-new-subsite-using-sharepoint-designer#comments</comments>
		<pubDate>Tue, 16 Jun 2009 17:50:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[SharePoint Designer]]></category>

		<guid isPermaLink="false">http://www.sharepointdiy.com/?p=20</guid>
		<description><![CDATA[You can add a new subsite to your site collection using SharePoint Designer Start SharePoint Designer Select File ? Open site (choose the site collection you want to open) Select File ? New On the Dialog box that opens click the tab Web Site Click on the link SharePoint Templates on the left and the list &#8230;]]></description>
			<content:encoded><![CDATA[<p>You can add a new subsite to your site collection using SharePoint Designer</p>
<ul>
<li>Start SharePoint Designer</li>
<li>Select File ? Open site (choose the site collection you want to open)</li>
<li>Select File ? New</li>
<li>On the Dialog box that opens click the tab Web Site</li>
<li>Click on the link SharePoint Templates on the left and the list of available subsites will populate on the right.</li>
</ul>
<p>In case the SharePoint Templates don&#8217;t show up right away, ensure you enter the correct url in the box &#8220;<em>Specify the location of the new Web site</em>&#8220;</p>
<p>When creating the subsite you will have to specify the location for the new Web site.</p>
<p>This could be something like: http://litwaredemo/MyNewBlog.</p>
<div id="attachment_25" class="wp-caption alignnone" style="width: 310px"><a href="http://www.sharepointdiy.com/wp-content/uploads/2009/06/NewSubSite1.png"><img class="size-medium wp-image-25" title="SharePoint Designer - New SubSite" src="http://www.sharepointdiy.com/wp-content/uploads/2009/06/NewSubSite1-300x211.png" alt="Add a site with SharePoint Designer" width="300" height="211" /></a>
<p class="wp-caption-text">Add a site with SharePoint Designer</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointdiy.com/20/add-a-new-subsite-using-sharepoint-designer/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open a SharePoint Site with SharePoint Designer</title>
		<link>http://www.sharepointdiy.com/94/open-a-sharepoint-site-with-sharepoint-designer?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=open-a-sharepoint-site-with-sharepoint-designer</link>
		<comments>http://www.sharepointdiy.com/94/open-a-sharepoint-site-with-sharepoint-designer#comments</comments>
		<pubDate>Tue, 16 Jun 2009 15:42:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://www.sharepointdiy.com/?p=3</guid>
		<description><![CDATA[It&#8217;s easy to open a SharePoint site in SharePoint Designer. Start SharePoint Designer Select File ? Open site In the Site name text box enter the URL of the site you want to open. For our example we will open  the main SharePoint site: http://litwaredemo/]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s easy to open a SharePoint site in SharePoint Designer.</p>
<ul>
<li>Start SharePoint Designer</li>
<li>Select File ? Open site</li>
</ul>
<p>In the Site name text box enter the URL of the site you want to open.</p>
<p>For our example we will open  the main SharePoint site: <a href="http://litwaredemo/">http://litwaredemo/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointdiy.com/94/open-a-sharepoint-site-with-sharepoint-designer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

