<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx</link><description>One of the new features available in SharePoint 2007 are content types. Content types allow you to classify content to be a particular type. By marking content as a particular content type the metadata, workflow and policies associated with that content</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title> &amp;raquo; Creating a &amp;#8216;Link to a Document&amp;#8217; Item in a SharePoint Document&amp;#8230; A C One: What The World Is Saying About A C One</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#8644812</link><pubDate>Tue, 24 Jun 2008 04:44:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8644812</guid><dc:creator> &amp;raquo; Creating a &amp;#8216;Link to a Document&amp;#8217; Item in a SharePoint Document&amp;#8230; A C One: What The World Is Saying About A C One</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://acone.morelyrics.co.uk/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document/"&gt;http://acone.morelyrics.co.uk/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Customizing Sharepoint 2007: Quick Post</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#8745764</link><pubDate>Fri, 18 Jul 2008 04:55:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8745764</guid><dc:creator>James Shaw's Blog</dc:creator><description>&lt;p&gt;Customizing Sharepoint 2007: Quick Post&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#8772511</link><pubDate>Fri, 25 Jul 2008 20:05:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8772511</guid><dc:creator>jim hudson</dc:creator><description>&lt;p&gt;you sir, are a Q@#$%# genius. thanks so much. &lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#8997995</link><pubDate>Mon, 13 Oct 2008 17:01:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8997995</guid><dc:creator>Nilesh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;following is giving me System.ArgumentException : &amp;quot;Value does not fall within the expected range&amp;quot;&lt;/p&gt;
&lt;p&gt;item[&amp;quot;URL&amp;quot;] = itemUrl;&lt;/p&gt;
&lt;p&gt;can anybody help please?&lt;/p&gt;
&lt;p&gt;Following is the stack trace : &lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPFieldCollection.GetField(String strName)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPListItem.SetValue(String strName, Object value, SPField field, Boolean protectFields)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPListItem.SetValue(String strName, Object value, Boolean protectFields)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPListItem.set_Item(String fieldName, Object value)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Landam.Residential.Vortal.Web.UserEventListsItemReceiver.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;ItemAdded&amp;gt;b__0()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPSecurity.&amp;lt;&amp;gt;c__DisplayClass4.&amp;lt;RunWithElevatedPrivileges&amp;gt;b__2()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nilesh Thakkar&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9018854</link><pubDate>Mon, 27 Oct 2008 22:26:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9018854</guid><dc:creator>Bhanu</dc:creator><description>&lt;p&gt;You are excellent! Thank you so much for posting this.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9072375</link><pubDate>Fri, 14 Nov 2008 17:59:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9072375</guid><dc:creator>kagoodm</dc:creator><description>&lt;p&gt;Is there a way to create a link to a file or a link to a fileshare within a document library WITHOUT having to do programming code? &amp;nbsp;We haven't been able to figure it out. &amp;nbsp;Any help would be great.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9170075</link><pubDate>Wed, 03 Dec 2008 17:08:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9170075</guid><dc:creator>Ashish</dc:creator><description>&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;it is really easiest way to create link to a document using code.&lt;/p&gt;
&lt;p&gt;for new bee in SharePoint I will recommend to go thru:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.d2design.be/sharepoint/link-to-a-document-in-another-document-library/#comment-209"&gt;http://www.d2design.be/sharepoint/link-to-a-document-in-another-document-library/#comment-209&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;hope it helps in understanding it better.&lt;/p&gt;
</description></item><item><title>Customizing Sharepoint 2007: Quick Post</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9337555</link><pubDate>Sun, 18 Jan 2009 12:23:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9337555</guid><dc:creator>James Shaw's Blog</dc:creator><description>&lt;p&gt;Customizing Sharepoint 2007: Quick Post&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9485418</link><pubDate>Wed, 18 Mar 2009 04:18:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9485418</guid><dc:creator>David Tweito</dc:creator><description>&lt;p&gt;For Nilesh:&lt;/p&gt;
&lt;p&gt;If you're getting &amp;quot;Value does not fall within expected range&amp;quot; for this line:&lt;/p&gt;
&lt;p&gt;item[&amp;quot;URL&amp;quot;] = itemUrl;&lt;/p&gt;
&lt;p&gt;it's most likely because your document library does not have the &amp;quot;Link to a Document&amp;quot; content type assigned. &amp;nbsp; &lt;/p&gt;
&lt;p&gt;In your library, go to settings//document library settings/advanced settings and make sure that &amp;quot;manage content types&amp;quot; is set to yes. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Next, return to the settings page, locate the &amp;quot;content types&amp;quot; seciton, and add from existing content types. &amp;nbsp; Make sure you add &amp;quot;Link to a Document&amp;quot;&lt;/p&gt;</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9489399</link><pubDate>Thu, 19 Mar 2009 11:09:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9489399</guid><dc:creator>binbui</dc:creator><description>&lt;p&gt;How if i want to run in Japanese lacation ?&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9489402</link><pubDate>Thu, 19 Mar 2009 11:13:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9489402</guid><dc:creator>binbui</dc:creator><description>&lt;p&gt;When running on another location, ex Japanese or French, then the statement: &lt;/p&gt;
&lt;p&gt;item[&amp;quot;Content Type&amp;quot;] = &amp;quot;Link to a Document&amp;quot;;&lt;/p&gt;
&lt;p&gt;not correct.&lt;/p&gt;
&lt;p&gt;Is there any solution to solve this?&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9489403</link><pubDate>Thu, 19 Mar 2009 11:13:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9489403</guid><dc:creator>binbui</dc:creator><description>&lt;p&gt;When running on another location, ex Japanese or French, then the statement: &lt;/p&gt;
&lt;p&gt;item[&amp;quot;Content Type&amp;quot;] = &amp;quot;Link to a Document&amp;quot;;&lt;/p&gt;
&lt;p&gt;not correct.&lt;/p&gt;
&lt;p&gt;Is there any solution to solve this?&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9489840</link><pubDate>Thu, 19 Mar 2009 15:48:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9489840</guid><dc:creator>green.cliff</dc:creator><description>&lt;p&gt;I &amp;nbsp;don't have another language pack installed to test this, but I imagine that the content type field will be called something else in the other language. &amp;nbsp;Link to Document will probably be called something else also. &amp;nbsp;I would use the object model to inspect a &amp;quot;Link to Document&amp;quot; item in the document library and output the Xml property so that you can see the internal field names for the item shown by the attributes on the SPListItem. &amp;nbsp;This should provide you with the correct property name and value that you will need to use in that language. &amp;nbsp;You can perhaps leverage the resource files to make your code dynamic so that it can change the field name based on the language being used.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9514654</link><pubDate>Fri, 27 Mar 2009 20:39:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9514654</guid><dc:creator>Veera</dc:creator><description>&lt;p&gt;If I send the link of a LINK content type in an email message, the user cannot open the file by clicking on the link in the message. &amp;nbsp;Copying and pasting this link in the browser works fine. &amp;nbsp;Do you see a way around this?&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9553896</link><pubDate>Fri, 17 Apr 2009 09:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9553896</guid><dc:creator>est</dc:creator><description>&lt;p&gt;is there a way to make it link to the file in doc lib dynamically. such that it will always display the latest dated file in the folder or doc lib? instead of having to type the url manually&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9554782</link><pubDate>Sat, 18 Apr 2009 04:38:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9554782</guid><dc:creator>green.cliff</dc:creator><description>&lt;p&gt;veera,&lt;/p&gt;
&lt;p&gt;sounds like something potentially wrong with the e-mail client.&lt;/p&gt;
&lt;p&gt;est,&lt;/p&gt;
&lt;p&gt;you would have to use a timer job or event receiver in order to montior the folder or doc lib and then update the content type directly. &amp;nbsp;it will always link to the latest version of a file because the urls in sharepoint are static as long as the document doesn't move.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9556244</link><pubDate>Mon, 20 Apr 2009 08:31:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9556244</guid><dc:creator>est</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;yep great. Is it okay if you provide more info on that? thanks alot&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9556545</link><pubDate>Mon, 20 Apr 2009 14:34:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9556545</guid><dc:creator>green.cliff</dc:creator><description>&lt;p&gt;est,&lt;/p&gt;
&lt;p&gt;a search of the internet will provide tons of information related to timer jobs and event receivers. &amp;nbsp;they are well documented, so you sholdn't have trouble finding a solution that fits your needs.&lt;/p&gt;
&lt;p&gt;if you just want to display the latest file that was added to a folder in a document library you can create a view and sort by last created date or modified date and limit the results to 1 or you can use the spquery class to query the list like you would a database and display that information. &amp;nbsp;in those cases you wouldn't need the link to document content type, just a way to show the latest file.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9556739</link><pubDate>Mon, 20 Apr 2009 17:35:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9556739</guid><dc:creator>est</dc:creator><description>&lt;p&gt;wish it was so straightforward too. However, if i sort it based on the modified datetime. it will not get the most updated file by clicking the link.&lt;/p&gt;
&lt;p&gt;for eg. today's date 20090420, so user upload the file.&lt;/p&gt;
&lt;p&gt;however user realised theres changes made to 20090412's file. so in that case, 20090412 would be retrieve instead of 20090420's.&lt;/p&gt;
&lt;p&gt;yep aware that there are alot info out there, however i dont rly understand why i need to make use of timer job and event receievers. do u think theres a need to?&lt;/p&gt;
&lt;p&gt;thanks anyway&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9556748</link><pubDate>Mon, 20 Apr 2009 17:46:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9556748</guid><dc:creator>green.cliff</dc:creator><description>&lt;p&gt;It is not clear to me exactly what you are trying to do. &amp;nbsp;I offered pointers based on some best guesses, but your description is difficult to understand the use case you are attempting to support.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9558813</link><pubDate>Tue, 21 Apr 2009 13:00:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9558813</guid><dc:creator>est</dc:creator><description>&lt;p&gt;I apologise for that. However, can I post my question here (with details) but that would be long. Is there alternative I can post it instead? Hope to hear from you soon. thanks&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9570036</link><pubDate>Mon, 27 Apr 2009 04:10:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9570036</guid><dc:creator>est</dc:creator><description>&lt;p&gt;Hi, I've tried out the view mthod you mentioned earlier. Indeed it will always display the latest file uploaded. &lt;/p&gt;
&lt;p&gt;For eg. I wanna to display the latest file uploaded in folder A, but lets say I upload file in folder B at a later time than folder A. It will display folder B's file even though the URL path to view the document was folderA's path. I guess this method doesnt work for different subfolder. isnt it?&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9570825</link><pubDate>Mon, 27 Apr 2009 14:50:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9570825</guid><dc:creator>green.cliff</dc:creator><description>&lt;p&gt;it sounds like you need to create a web part that queries the list for this information. &amp;nbsp;YOu can use the SPQuery class or SPSiteDataQuery class to query the list and return the latest file to display to the user.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9648919</link><pubDate>Thu, 28 May 2009 23:36:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9648919</guid><dc:creator>piece of sharepoint</dc:creator><description>&lt;p&gt;the api is huge and disgusting. there's no &amp;nbsp;.createlinktoadocument method, or some variation that's much harder to figure out and only works sometimes? &lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9812741</link><pubDate>Thu, 02 Jul 2009 06:22:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9812741</guid><dc:creator>Bhaskar</dc:creator><description>&lt;p&gt;You are one of the best programmer. &amp;nbsp;Fantastic work and this is the only article on INTERNET which i could find. &lt;/p&gt;
&lt;p&gt;although I wish there should have been something like&lt;/p&gt;
&lt;p&gt;SPFile spFile &amp;nbsp;= spFolder.File.Add(nameof the file, link to the document);&lt;/p&gt;
&lt;p&gt;this would have been much easier.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Bhaskar&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9872922</link><pubDate>Tue, 18 Aug 2009 00:10:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9872922</guid><dc:creator>Savin</dc:creator><description>&lt;p&gt;Has anyone come up with a way to add a button to an item display screen to link to another list using information on the current item as a filter?&lt;/p&gt;
&lt;p&gt;For instance, lets say I have a list of project codes and I also have a list of tasks. &amp;nbsp;Could I create a link on the Display Project Info p[age to link to the Task List using the &amp;quot;project code&amp;quot; as a filter?&lt;/p&gt;
&lt;p&gt;Or, lets say I have lots of documents in a folder and one of the columns is &amp;quot;project code&amp;quot; could I link to the list of documents using the current project code as a filter?&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9873235</link><pubDate>Tue, 18 Aug 2009 03:28:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9873235</guid><dc:creator>Cliff</dc:creator><description>&lt;p&gt;@savin,&lt;/p&gt;
&lt;p&gt;I think you could use a QueryString Filter web part to link to the lists and filter that list based on the query string filter which would come from link you pass to the page. &amp;nbsp;You would probably need a custom action or formula in order to build the query string appropriately to link to the other page. &amp;nbsp;SPD could also be used to do this.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9878688</link><pubDate>Fri, 21 Aug 2009 17:09:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9878688</guid><dc:creator>Dheepa</dc:creator><description>&lt;p&gt;This is very useful. Thanks. One suggestion is to check in the item after updating it.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9890407</link><pubDate>Wed, 02 Sep 2009 17:26:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9890407</guid><dc:creator>Seamus</dc:creator><description>&lt;p&gt;Many thanks - really helped me out. Just one question re. the newly created aspx files - do they actually exist? I am probably missing the whole point, but when I hover over my newly created link it points to what appears to be a tangible aspx file which does not actually exist on the server - is this because the C:\linktodocumenttemplate.txt is just handling the redirect?&lt;/p&gt;
&lt;p&gt;Great post, thanks again.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9891085</link><pubDate>Thu, 03 Sep 2009 23:41:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9891085</guid><dc:creator>green.cliff</dc:creator><description>&lt;p&gt;The aspx files you have created are stored in the document library. &amp;nbsp;When you click the link it opens this file which casues the redirect to occur.&lt;/p&gt;
</description></item><item><title>re: Creating a 'Link to a Document' Item in a SharePoint Document Library programmatically</title><link>http://blogs.msdn.com/cliffgreen/archive/2008/06/23/creating-a-link-to-a-document-item-in-a-sharepoint-document-library-programmatically.aspx#9903825</link><pubDate>Tue, 06 Oct 2009 20:02:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9903825</guid><dc:creator>benjamin.beck</dc:creator><description>&lt;p&gt;thnx man. great post.&lt;/p&gt;
&lt;p&gt;was lookin for a solution for nearly a week now.&lt;/p&gt;
&lt;p&gt;thank u very much&lt;/p&gt;
</description></item></channel></rss>