<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/48370.aspx</link><pubDate>Thu, 29 Oct 2009 16:59:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48370</guid><dc:creator>Jason_2009</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48370.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=48370</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So I don&amp;#39;t believe that I am having any trouble getting the parameters. &lt;/p&gt;&lt;p&gt;The problem I am having is assigning those values to the infopath controls.&amp;nbsp;&lt;/p&gt;&lt;p&gt;The control names are item &amp;amp; price.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47495.aspx</link><pubDate>Thu, 01 Oct 2009 19:54:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47495</guid><dc:creator>Jason_2009</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47495.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47495</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;@Patrick&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am passing the values through URL though, so I think there should be some onLoad event code to assign values to my controls...right? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47494.aspx</link><pubDate>Thu, 01 Oct 2009 19:47:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47494</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47494</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s one way. qRules 1.8 supports input parameters, so you don&amp;#39;t have to write code if you don&amp;#39;t want to. Opening one form with values from another form is easy as pie.&lt;/p&gt;
&lt;p&gt;For 2003, you have some options: use merge forms functionality - see Jim Cantwell&amp;#39;s blog on this &lt;a href="http://www.infopathdev.com/blogs/jim/archive/2005/09/14/Pass-Parameters-to-InfoPath.aspx"&gt;http://www.infopathdev.com/blogs/jim/archive/2005/09/14/Pass-Parameters-to-InfoPath.aspx&lt;/a&gt;&amp;nbsp;which requires code. You can also start a new form with an XML file but that requires data sources match.&lt;/p&gt;</description></item><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47491.aspx</link><pubDate>Thu, 01 Oct 2009 18:45:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47491</guid><dc:creator>Jason_2009</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47491</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So should I just recreate the form using 07?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47490.aspx</link><pubDate>Thu, 01 Oct 2009 18:43:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47490</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47490.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47490</wfw:commentRss><description>&lt;p&gt;Parameters are new for IP 2007 and don&amp;#39;t work with IP 2003 or the IP 2003 object model.&lt;/p&gt;</description></item><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47484.aspx</link><pubDate>Thu, 01 Oct 2009 17:13:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47484</guid><dc:creator>Jason_2009</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47484.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47484</wfw:commentRss><description>&lt;p&gt;I am getting an error&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;#39;XDocument.InputParameters.@Title.value&amp;#39; &lt;img alt="" /&gt;is null or not an object&lt;/p&gt;&lt;p&gt;File:script.js&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I just installed InfoPath 2007 as I was worried that the error was being caused because I was using 2003. &amp;nbsp;&lt;/p&gt;&lt;p&gt;Not sure why I am getting this.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is the onlaod event :&lt;/p&gt;&lt;p&gt;function XDocument::OnLoad(eventObj)&lt;/p&gt;&lt;p&gt;
{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;
	var Item = eventObj.XDocument.InputParameters[&amp;quot;@Title&amp;quot;].value;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; eventObj.XDocument.UI.Alert(Item);

	
&lt;/p&gt;&lt;p&gt;}&amp;nbsp;
&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47459.aspx</link><pubDate>Wed, 30 Sep 2009 18:36:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47459</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47459.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47459</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t know if the bug I mention in &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2008/10/07/url-input-parameters-gotcha.aspx"&gt;this blog post&lt;/a&gt; has been fixed, but do watch out for case sensitivity!&lt;/p&gt;</description></item><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47458.aspx</link><pubDate>Wed, 30 Sep 2009 18:23:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47458</guid><dc:creator>Jason_2009</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47458</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Awesome, &lt;/p&gt;&lt;p&gt;Thanks a lot for the link! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47456.aspx</link><pubDate>Wed, 30 Sep 2009 18:02:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47456</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47456.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47456</wfw:commentRss><description>&lt;p&gt;If you are passing in values as parameters to your IP form, the IP form will need some onload code to take the data from those params and put it in the appropriate fields. &lt;a href="http://blogs.msdn.com/infopath/archive/2007/02/26/passing-data-into-a-form-input-parameters.aspx"&gt;Here&lt;/a&gt; is an InfoPath Team blog post on using input parameters with InfoPath.&lt;/p&gt;</description></item><item><title>Re: Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47454.aspx</link><pubDate>Wed, 30 Sep 2009 17:22:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47454</guid><dc:creator>Jason_2009</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47454.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47454</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m guessing I would have to write some OnLoad event?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Auto-Populating fields on Infopath form from asp page</title><link>https://www.infopathdev.com:443/forums/thread/47443.aspx</link><pubDate>Wed, 30 Sep 2009 14:30:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47443</guid><dc:creator>Jason_2009</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47443.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=47443</wfw:commentRss><description>&lt;p&gt;I have a infopath form that gets opened from an .asp page when one clicks on a image. &amp;nbsp;&lt;/p&gt;&lt;p&gt;I need three fields to autopopulate when opening form.&amp;nbsp; (Item Name and two price fields)&lt;/p&gt;&lt;p&gt;The situation is the asp page is a display of our company store items.&amp;nbsp; When you click on the image I need my form to populate the name of the item they clicked on as well as an employee price and customer price.&amp;nbsp; Form is then submitted to form library.&amp;nbsp; &lt;/p&gt;&lt;p&gt;The asp page is a basically a data connection to a picture library in Sharepoint using SPDataSource.&amp;nbsp; &lt;/p&gt;&lt;p&gt;So I have a data connection on the form to the asp page, and I have assigned the default value of the Item field to a value of &amp;quot;@Title&amp;quot; so it is actually returning a value but it doesn&amp;#39;t give me the name of the item that was clicked on, just the first item in the list.&amp;nbsp; &lt;/p&gt;&lt;p&gt;How can I get it to give me the current item and price? &lt;/p&gt;&lt;p&gt;Also from the asp page I am sending from the link, the item name and price.&amp;nbsp; So when you hover over the image the link shows as &lt;/p&gt;&lt;p&gt;(http://servername/page/template.xsn?@title=CurrentItem&amp;amp;@Employee_Price=CurrentPrice)&amp;nbsp; Not sure if this is needed. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Not sure how to grab the selected info and add to form. &amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any help is greatly appreciated. &amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>