<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Pre-filling fields on EditForm.aspx</title>
	<atom:link href="http://www.novolocus.com/2009/08/25/pre-filling-fields-on-editform-aspx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.novolocus.com/2009/08/25/pre-filling-fields-on-editform-aspx/</link>
	<description>Whatever I'm working on, really...</description>
	<lastBuildDate>Fri,  5 Mar 2010 23:09:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andy</title>
		<link>http://www.novolocus.com/2009/08/25/pre-filling-fields-on-editform-aspx/comment-page-1/#comment-6342</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Tue, 02 Feb 2010 15:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.novolocus.com/?p=1619#comment-6342</guid>
		<description>There was (not sure if there still is) a problem with AfterUrl being empty in ItemAdding. 

Mentioned here: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventproperties.afterurl.aspx 

There was  hotfix for it, apparently.

I think I might have checked this and found that that was the case in our system; that the AfterUrl was always empty in ItemAdding.</description>
		<content:encoded><![CDATA[<p>There was (not sure if there still is) a problem with AfterUrl being empty in ItemAdding. </p>
<p>Mentioned here: <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventproperties.afterurl.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventproperties.afterurl.aspx</a> </p>
<p>There was  hotfix for it, apparently.</p>
<p>I think I might have checked this and found that that was the case in our system; that the AfterUrl was always empty in ItemAdding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.novolocus.com/2009/08/25/pre-filling-fields-on-editform-aspx/comment-page-1/#comment-6341</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Mon, 01 Feb 2010 18:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.novolocus.com/?p=1619#comment-6341</guid>
		<description>Out of curiosity, is there a reason you used BeforeUrl instead of AfterUrl?  

For example, if someone uses Web Folders to move a file from one document library into this one, the BeforeUrl will be the previous location, while the AfterUrl will allow you to use the same code.</description>
		<content:encoded><![CDATA[<p>Out of curiosity, is there a reason you used BeforeUrl instead of AfterUrl?  </p>
<p>For example, if someone uses Web Folders to move a file from one document library into this one, the BeforeUrl will be the previous location, while the AfterUrl will allow you to use the same code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.novolocus.com/2009/08/25/pre-filling-fields-on-editform-aspx/comment-page-1/#comment-6087</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 05 Nov 2009 13:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.novolocus.com/?p=1619#comment-6087</guid>
		<description>Ah, well, the IsInheritable function is one I inherited from my colleague. For us, all it does is check if the column in a particular column group; you may well have your own logic as to what site columns should be used in this value inheritance. Heck, maybe you want ALL columns to inherit if they match! If so, just have that function always return &#039;true&#039;.

It should work with a people picker field. We&#039;re reading the internal value as it is stored from the parent folder, and saving it to the child. I can&#039;t see any problems with people fields over any others.</description>
		<content:encoded><![CDATA[<p>Ah, well, the IsInheritable function is one I inherited from my colleague. For us, all it does is check if the column in a particular column group; you may well have your own logic as to what site columns should be used in this value inheritance. Heck, maybe you want ALL columns to inherit if they match! If so, just have that function always return &#8216;true&#8217;.</p>
<p>It should work with a people picker field. We&#8217;re reading the internal value as it is stored from the parent folder, and saving it to the child. I can&#8217;t see any problems with people fields over any others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Young</title>
		<link>http://www.novolocus.com/2009/08/25/pre-filling-fields-on-editform-aspx/comment-page-1/#comment-6084</link>
		<dc:creator>Brad Young</dc:creator>
		<pubDate>Wed, 04 Nov 2009 16:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.novolocus.com/?p=1619#comment-6084</guid>
		<description>Wondering how this would work, or if it would for a people picker field.  Also, what does the IsInheritable function look like?  I seem to get an error on that function and not able to figure that out.  Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Wondering how this would work, or if it would for a people picker field.  Also, what does the IsInheritable function look like?  I seem to get an error on that function and not able to figure that out.  Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.novolocus.com/2009/08/25/pre-filling-fields-on-editform-aspx/comment-page-1/#comment-5888</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 10 Sep 2009 08:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.novolocus.com/?p=1619#comment-5888</guid>
		<description>Yes, this is in production and works. I think you may have missed something, though.

ItemAdding is fired after the user hits &#039;Upload&#039; be before the item actually appears in SharePoint. This is before editform.aspx is shown.

ItemAdded is fired after the user&#039;s item has been put into SharePoint, and in race with EditForm.aspx being displayed.

See http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.itemadding.aspx 

As they&#039;ve noted there, the item&#039;s details aren&#039;t available in ItemAdding as the item doesn&#039;t exist yet - and it must exist before the EditForm.aspx will be displayed.</description>
		<content:encoded><![CDATA[<p>Yes, this is in production and works. I think you may have missed something, though.</p>
<p>ItemAdding is fired after the user hits &#8216;Upload&#8217; be before the item actually appears in SharePoint. This is before editform.aspx is shown.</p>
<p>ItemAdded is fired after the user&#8217;s item has been put into SharePoint, and in race with EditForm.aspx being displayed.</p>
<p>See <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.itemadding.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.itemadding.aspx</a> </p>
<p>As they&#8217;ve noted there, the item&#8217;s details aren&#8217;t available in ItemAdding as the item doesn&#8217;t exist yet &#8211; and it must exist before the EditForm.aspx will be displayed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Sansom</title>
		<link>http://www.novolocus.com/2009/08/25/pre-filling-fields-on-editform-aspx/comment-page-1/#comment-5887</link>
		<dc:creator>Greg Sansom</dc:creator>
		<pubDate>Thu, 10 Sep 2009 03:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.novolocus.com/?p=1619#comment-5887</guid>
		<description>Hi,
Did you ever actually get this working?  ItemAdding is fired AFTER the user hits save, not before the page is loaded...  Could I have missed something?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Did you ever actually get this working?  ItemAdding is fired AFTER the user hits save, not before the page is loaded&#8230;  Could I have missed something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karine Bosch</title>
		<link>http://www.novolocus.com/2009/08/25/pre-filling-fields-on-editform-aspx/comment-page-1/#comment-5867</link>
		<dc:creator>Karine Bosch</dc:creator>
		<pubDate>Fri, 28 Aug 2009 05:39:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.novolocus.com/?p=1619#comment-5867</guid>
		<description>This is an interesting one. Thanks for sharing!
Karine</description>
		<content:encoded><![CDATA[<p>This is an interesting one. Thanks for sharing!<br />
Karine</p>
]]></content:encoded>
	</item>
</channel>
</rss>
