<?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>Dave Cavins &#187; attachments</title>
	<atom:link href="http://davecavins.com/tag/attachments/feed/" rel="self" type="application/rss+xml" />
	<link>http://davecavins.com</link>
	<description>web design, SharePoint customization &#38; random stuff</description>
	<lastBuildDate>Tue, 27 Dec 2011 14:22:18 +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>Limitations of displaying attachments in DVWP</title>
		<link>http://davecavins.com/2009/09/limitations-of-displaying-attachments-in-dvwp/</link>
		<comments>http://davecavins.com/2009/09/limitations-of-displaying-attachments-in-dvwp/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 14:51:06 +0000</pubDate>
		<dc:creator>davecavins</dc:creator>
				<category><![CDATA[General SharePoint]]></category>
		<category><![CDATA[attachments]]></category>
		<category><![CDATA[Data View Web Part]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[xsl]]></category>

		<guid isPermaLink="false">http://davecavins.com/?p=213</guid>
		<description><![CDATA[So on a recent project I needed to show a link to the attachment for each item in a list. A quick Google search found How to show Attachments with DataFormWebPart from Dario Martirani Paolillo&#8217;s Web Log. I was excited because it seemed to work well and was very easy to implement.  As I was about [...]


Related posts:<ol><li><a href='http://davecavins.com/2009/12/displaying-document-titles-as-links/' rel='bookmark' title='Displaying document titles as links.'>Displaying document titles as links.</a></li>
<li><a href='http://davecavins.com/2010/01/displaying-a-rotating-header-image-with-caption/' rel='bookmark' title='Displaying a rotating header image with caption'>Displaying a rotating header image with caption</a></li>
<li><a href='http://davecavins.com/2009/07/a-faster-jquery-preview-pane/' rel='bookmark' title='A Faster jQuery Preview Pane'>A Faster jQuery Preview Pane</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://davecavins.com/wp-content/uploads/2009/09/Paper-Clip-128x128.png"><img class="alignright size-full wp-image-214" title="attachments" src="http://davecavins.com/wp-content/uploads/2009/09/Paper-Clip-128x128.png" alt="attachments" width="128" height="128" /></a>So on a recent project I needed to show a link to the attachment for each item in a list. A quick Google search found <a href="http://blogs.msdn.com/dmp/archive/2009/01/21/how-to-show-attachments-with-dataformwebpart.aspx" target="_blank">How to show Attachments with DataFormWebPart</a> from Dario Martirani Paolillo&#8217;s Web Log. I was excited because it seemed to work well and was very easy to implement. </p>
<p>As I was about to finish up the project I was given some new requirements which meant that there would be two Data View Web Parts on the page and both would need to show the attachments link.  This is when the issues started.  When you have two web parts on the page using the display attachments code the second one will just show &#8220;[value of field: Attachments]&#8221; instead of the actual link.  If anyone knows a good solution for this issue please post a comment.</p>
<p>I want to avoid using something like this <a href="http://www.endusersharepoint.com/2009/02/12/jquery-for-everyone-linking-the-attachment-icon/" target="_blank">jQuery solution by Paul Grenier</a> simply because of the performance issues it will create.</p>


<p>Related posts:<ol><li><a href='http://davecavins.com/2009/12/displaying-document-titles-as-links/' rel='bookmark' title='Displaying document titles as links.'>Displaying document titles as links.</a></li>
<li><a href='http://davecavins.com/2010/01/displaying-a-rotating-header-image-with-caption/' rel='bookmark' title='Displaying a rotating header image with caption'>Displaying a rotating header image with caption</a></li>
<li><a href='http://davecavins.com/2009/07/a-faster-jquery-preview-pane/' rel='bookmark' title='A Faster jQuery Preview Pane'>A Faster jQuery Preview Pane</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://davecavins.com/2009/09/limitations-of-displaying-attachments-in-dvwp/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

