<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: File submit connection.execute() method fails in infopath client</title><link>https://www.infopathdev.com:443/forums/thread/53150.aspx</link><pubDate>Fri, 26 Mar 2010 15:41:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53150</guid><dc:creator>Kesava</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53150</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Patrick,&lt;/p&gt;&lt;p&gt;I have a problem with which I am suffering for a very long time. I hope you can help me and the problem is &amp;quot;&lt;b&gt;Re-Submitting of form to a sub folder of form
 library is failing&amp;quot;. &lt;/b&gt;&lt;/p&gt;&lt;p&gt;In our site, there are so many users. So we need to store form data(we are submitting forms to the doc lib) in the folder structure for better performance. So we are creating folders dynamically and changing the submit data connection folder url during run time. Till here it is working fine. But when User opens the form and makes some changes and tries to submit it throws an error &amp;quot; A value in the form may be used to specify the file name. If you know 
the value in the form that specifies the file name, revise it and try 
again. Otherwise, contact the author of the form template&amp;quot; &lt;/p&gt;&lt;p&gt;Which means that it is unable to overwrite the existing file. Please help me out. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h4 class="ForumPostTitle"&gt;&lt;br /&gt;&lt;/h4&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: File submit connection.execute() method fails in infopath client</title><link>https://www.infopathdev.com:443/forums/thread/53140.aspx</link><pubDate>Fri, 26 Mar 2010 13:09:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53140</guid><dc:creator>Kesava</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53140.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53140</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hey Patrick,&lt;/p&gt;&lt;p&gt;Thanks for your reply and I will try that.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Kesava &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: File submit connection.execute() method fails in infopath client</title><link>https://www.infopathdev.com:443/forums/thread/53123.aspx</link><pubDate>Fri, 26 Mar 2010 03:14:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53123</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53123.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53123</wfw:commentRss><description>&lt;p&gt;Hi Kesava,&lt;/p&gt;
&lt;p&gt;Can you take the code out of the On Load event handler and&amp;nbsp;put it somewhere else? &lt;/p&gt;
&lt;p&gt;I&amp;#39;m guessing you are trying to auto-populate values in your form on load. If that&amp;#39;s correct, please take a look at the free trial of &lt;a title="qRules" href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules 2.1&lt;/a&gt;. We added a new function for Swapping DOM on load to work around this limitation in InfoPath.&lt;/p&gt;
&lt;p&gt;Happy trails!&lt;/p&gt;</description></item><item><title>File submit connection.execute() method fails in infopath client</title><link>https://www.infopathdev.com:443/forums/thread/53102.aspx</link><pubDate>Thu, 25 Mar 2010 13:28:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53102</guid><dc:creator>Kesava</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53102</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I want to submit the form on the form load. So I am using file submit connection.execute() method. This works fine when I open the form in Browser, but unfortunately fails when I open the same form in Infopath Clent with an error &amp;quot;nvalid Context: Execute cannot be called in the Form Loading event.&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Can some one tell me whether I can use it or not. If not let me know the work around for that.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks in Advance&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Kesava &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>