<?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: Autopopulate a SharePoint Form from URL</title>
	<atom:link href="http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/feed/" rel="self" type="application/rss+xml" />
	<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/</link>
	<description>Experiences with SharePoint, web development, and programming</description>
	<lastBuildDate>Sun, 29 Jan 2012 06:11:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kit Menke&#039;s Blog &#187; Autopopulate a SharePoint Form from URL (with SPUtility.js)</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-356</link>
		<dc:creator>Kit Menke&#039;s Blog &#187; Autopopulate a SharePoint Form from URL (with SPUtility.js)</dc:creator>
		<pubDate>Thu, 11 Nov 2010 02:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-356</guid>
		<description>[...] This post is the sequel to my first post: Autopopulate a SharePoint Form from URL. [...]</description>
		<content:encoded><![CDATA[<p>[...] This post is the sequel to my first post: Autopopulate a SharePoint Form from URL. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-353</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Sat, 09 Oct 2010 14:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-353</guid>
		<description>&lt;p&gt;Assuming you mean a single select choice field.. yes! Check out &lt;a href=&quot;http://sputility.codeplex.com/&quot; rel=&quot;nofollow&quot;&gt;SPUtility.js&lt;/a&gt;.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Assuming you mean a single select choice field.. yes! Check out <a href="http://sputility.codeplex.com/" rel="nofollow">SPUtility.js</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-352</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Sat, 09 Oct 2010 13:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-352</guid>
		<description>Did you come up with a DropDown solution?

Tks</description>
		<content:encoded><![CDATA[<p>Did you come up with a DropDown solution?</p>
<p>Tks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-225</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Fri, 20 Aug 2010 13:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-225</guid>
		<description>Will,
After editing the page...
&lt;ol&gt;
		&lt;li&gt;Add a &quot;Content Editor Web Part&quot;&lt;/li&gt;
		&lt;li&gt;Click Edit -&gt; Modify Shared Web Part&lt;/li&gt;
		&lt;li&gt;Click Source Editor&lt;/li&gt;
		&lt;li&gt;Paste in your JavaScript&lt;/li&gt;
&lt;/ol&gt;

Thanks,
Kit</description>
		<content:encoded><![CDATA[<p>Will,<br />
After editing the page&#8230;</p>
<ol>
<li>Add a &#8220;Content Editor Web Part&#8221;</li>
<li>Click Edit -&gt; Modify Shared Web Part</li>
<li>Click Source Editor</li>
<li>Paste in your JavaScript</li>
</ol>
<p>Thanks,<br />
Kit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: will</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-224</link>
		<dc:creator>will</dc:creator>
		<pubDate>Fri, 20 Aug 2010 07:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-224</guid>
		<description>Hi,
How can i do this:
&quot;Stick the following code in a Content Editor on your NewForm.aspx or EditForm.aspx.&quot;
 
when i put the javascript code in the newform.aspx , an xslt error apears</description>
		<content:encoded><![CDATA[<p>Hi,<br />
How can i do this:<br />
&#8220;Stick the following code in a Content Editor on your NewForm.aspx or EditForm.aspx.&#8221;<br />
 <br />
when i put the javascript code in the newform.aspx , an xslt error apears</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-221</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Wed, 18 Aug 2010 20:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-221</guid>
		<description>Mike,
Your URL will have a &lt;a href=&quot;http://en.wikipedia.org/wiki/Query_string&quot; rel=&quot;nofollow&quot;&gt;querystring&lt;/a&gt; that looks something like this:
[cc lang=&quot;text&quot; escaped=&quot;true&quot;]/Lists/ProjectTasks/NewForm.aspx?projectID=523&amp;favoriteColor=Red[/cc]

Then your [cci]CustomExecuteFunction[/cci] will look something like this:
[cc lang=&quot;javascript&quot; escaped=&quot;true&quot;]
function CustomExecuteFunction() {
    AutopopulateInputFromURL(&#039;Project ID&#039;,&#039;projectID&#039;);
    AutopopulateInputFromURL(&#039;Favorite Color&#039;,&#039;favoriteColor&#039;);
}
[/cc]

Keep in mind the first parameter to [cci]AutopopulateInputFromURL[/cci] is the name of your field as it looks in SharePoints user interface and the second parameter is the name of your query string variable (the variable in the URL).</description>
		<content:encoded><![CDATA[<p>Mike,<br />
Your URL will have a <a href="http://en.wikipedia.org/wiki/Query_string" rel="nofollow">querystring</a> that looks something like this:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/Lists/ProjectTasks/NewForm.aspx?projectID=523&amp;favoriteColor=Red</div></div>
<p>Then your <code class="codecolorer text default"><span class="text">CustomExecuteFunction</span></code> will look something like this:</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">function</span> CustomExecuteFunction<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; AutopopulateInputFromURL<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Project ID'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'projectID'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; AutopopulateInputFromURL<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Favorite Color'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'favoriteColor'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>Keep in mind the first parameter to <code class="codecolorer text default"><span class="text">AutopopulateInputFromURL</span></code> is the name of your field as it looks in SharePoints user interface and the second parameter is the name of your query string variable (the variable in the URL).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MikeD</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-220</link>
		<dc:creator>MikeD</dc:creator>
		<pubDate>Wed, 18 Aug 2010 18:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-220</guid>
		<description>How will the querystring looklike if you have multiple fields to auto populate?</description>
		<content:encoded><![CDATA[<p>How will the querystring looklike if you have multiple fields to auto populate?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-216</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Wed, 18 Aug 2010 03:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-216</guid>
		<description>Nan,
I think this probably would work for a Date only field (not Date and Time). I&#039;m currently working on a library that will be able to populate many more types of fields so look for it soon.
Thanks,
Kit</description>
		<content:encoded><![CDATA[<p>Nan,<br />
I think this probably would work for a Date only field (not Date and Time). I&#8217;m currently working on a library that will be able to populate many more types of fields so look for it soon.<br />
Thanks,<br />
Kit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nan</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-213</link>
		<dc:creator>Nan</dc:creator>
		<pubDate>Wed, 11 Aug 2010 16:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-213</guid>
		<description>Can this work for any other datatype other than text?  For example date and time?</description>
		<content:encoded><![CDATA[<p>Can this work for any other datatype other than text?  For example date and time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit</title>
		<link>http://kitmenke.com/blog/2010/03/11/autopopulate-a-sharepoint-form-from-url/comment-page-1/#comment-212</link>
		<dc:creator>Kit</dc:creator>
		<pubDate>Mon, 09 Aug 2010 02:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://kitmenke.com/blog/?p=237#comment-212</guid>
		<description>&lt;p&gt;@Shawn: Currently it will only work for textboxes. I&#039;ll take a look and see if I can whip up something for dropdowns as well.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>@Shawn: Currently it will only work for textboxes. I&#8217;ll take a look and see if I can whip up something for dropdowns as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

