<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Trigger submit code programmatically</title><link>https://www.infopathdev.com:443/forums/thread/55103.aspx</link><pubDate>Thu, 20 May 2010 06:13:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55103</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=55103</wfw:commentRss><description>&lt;p&gt;Hi Csiemantel,&lt;/p&gt;
&lt;p&gt;Yes, you can call the InfoPath object model. If you&amp;#39;re using InfoPath 2007, you probably already have the Visual Studio plugin. Anyway, the data adaptors can be created and submitted to via code. The other option would be to rewrite your Web service so it takes an XML string instead (see Qdabra&amp;#39;s DBXL for an example of this) and then you just call the Web Service from your ASPX. That&amp;#39;s a better solution since it&amp;#39;s more flexible. &lt;/p&gt;</description></item><item><title>Trigger submit code programmatically</title><link>https://www.infopathdev.com:443/forums/thread/54947.aspx</link><pubDate>Mon, 17 May 2010 15:47:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54947</guid><dc:creator>csiemantel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54947.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54947</wfw:commentRss><description>&lt;p&gt;I have an InfoPath browser form that uses rules on a button to submit the form to sharepoint and also submit the form via webservice to a SQL database.&amp;nbsp; My users wanted to be able to do some form comparison without having to open any forms to do it so I wrote an aspx page that gets the form xml from sharepoint to do this.&amp;nbsp; I gave them the ability from this page to edit the form values and I am able to (via the SaveBinary() method) write the changed form back to sharepoint.&amp;nbsp; My problem is that saving the changed form back to sharepoint doesn&amp;#39;t trigger the submit via webservice to SQL.&amp;nbsp; Is there a way programmatically trigger that submit?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>