<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Help with submitting InfoPath form to SharePoint custom list</title><link>https://www.infopathdev.com:443/forums/thread/47035.aspx</link><pubDate>Wed, 16 Sep 2009 05:52:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47035</guid><dc:creator>Daniels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47035.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47035</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Lepid:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I have fixed the form so that it doesn&amp;#39;t error when submitted (error was due to spelling) however now it just submits to nowhere, that is the SP list does not update.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;If you are trying to update data in SharePoint, it can be done either by configuring the Main Submit data source to submit the form to a specified document or form library (with InfoPath form fields mapped to columns in the SharePoint list).&amp;nbsp; The form will be submitted to the specified SharePoint library, with metadata fields being updated with data from the form.&lt;/p&gt;
&lt;p&gt;See &lt;a href="http://blog-sharepoint.blogspot.com/2009/06/infopath-form-integration-with.html"&gt;Submit InfoPath form to SharePoint List or Library using Content Type&lt;/a&gt;&amp;nbsp; for instructions on how to submit data to a SharePoint list or library without using code.&amp;nbsp; A Submit Data Connection can be executed when the form is submitted, or using rules when a condition is met or an event (button click, field change) is fired.&lt;/p&gt;
&lt;p&gt;To update data in a separate list or library to the one that the Infopath form is being submitted to, or to update data in SharePoint from InfoPath without submitting the form to a document or form library, you can set up a data connection to the SharePoint Site Lists Web Service, which accepts a CAML XML document with the required data to add a new or update an existing item in the list.&lt;/p&gt;
&lt;p&gt;See &lt;a href="http://blog-sharepoint.blogspot.com/2009/07/summary-how-to-programmatically-update.html"&gt;InfoPath - Update Existing SharePoint List Item Programmatically Using CAML&lt;/a&gt;&amp;nbsp; for details and instructions on how to update data in a SharePoint list programmatically using CAML and the Lists Web Service.&amp;nbsp; Using this method, it is possible to update data in SharePoint without submitting the form to a document or form library.&lt;/p&gt;</description></item><item><title>Re: Help with submitting InfoPath form to SharePoint custom list</title><link>https://www.infopathdev.com:443/forums/thread/35248.aspx</link><pubDate>Thu, 04 Dec 2008 02:19:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35248</guid><dc:creator>Lepid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35248.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35248</wfw:commentRss><description>&lt;p&gt;I have fixed the form so that it doesn&amp;#39;t error when submitted (error was due to spelling) however now it just submits to nowhere, that is the SP list does not update.&lt;/p&gt;</description></item><item><title>Help with submitting InfoPath form to SharePoint custom list</title><link>https://www.infopathdev.com:443/forums/thread/35246.aspx</link><pubDate>Thu, 04 Dec 2008 01:48:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35246</guid><dc:creator>Lepid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35246.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=35246</wfw:commentRss><description>&lt;p&gt;&lt;font face="Calibri" size="3"&gt;Hello&amp;nbsp; &lt;br /&gt;Wondering if someone can help me (I&amp;#39;m relatively new to SharePoint and InfoPath)?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Calibri" size="3"&gt;I&amp;#39;m trying to design an InfoPath form that links to a custom SharePoint list. I&amp;#39;ve been following the tutorial located at: &lt;a href="http://msdn.microsoft.com/en-us/library/cc162745.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc162745.aspx&lt;/a&gt; I can successfully re-create what is mentioned in that tutorial. I then created another new form, this time named fields to my specific requirements (plus added a few extra fields) and also updated/added all references in the Form Code. However when I submit the form, I receive the following error: &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;System.NullReferenceException&lt;br /&gt;Object reference not set to an instance of an object.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Template1.FormCode.btnSendChanges_Clicked(Object sender, ClickedEventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)&lt;/font&gt;&lt;/span&gt;&lt;span&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;</description></item></channel></rss>