<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/59893.aspx</link><pubDate>Tue, 05 Oct 2010 18:52:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59893</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59893.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=59893</wfw:commentRss><description>&lt;p&gt;Hi Airflight89,&lt;/p&gt;
&lt;p&gt;This is an old post. We have a much easier way for you to add InfoPath fields to SharePoint Lists - it&amp;#39;s called qRules. Check it out - it&amp;#39;s a free download (link in ad at bottom). Send us a testimonial if you like it and we&amp;#39;ll give you a coupon for a discount off of the already inexpensive list price. No code required and you get tons of functionality.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/59660.aspx</link><pubDate>Tue, 05 Oct 2010 15:09:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59660</guid><dc:creator>airflight89</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59660.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=59660</wfw:commentRss><description>&lt;p&gt;&amp;nbsp; I filled out my form and submit it. It creates a record in SharePoint List with blank data.&amp;nbsp; Any suggestion for me to troubleshoot it?&amp;nbsp; Thank you&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Michael &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/51475.aspx</link><pubDate>Sun, 07 Feb 2010 02:19:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51475</guid><dc:creator>Daniels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51475.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=51475</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;louis:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Whoaa Cowboy, Column Guids are text? This ain&amp;#39;t my first rodeo, and i think you might be mistaken.&amp;nbsp;Column do have guid&amp;#39;s just like lists, they are just harder to find than pulling them from query strings.&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;p&gt;Can you use the GUID to match field elements to SharePoint list columns when using the UpdateListItems method of the Lists Web Service?&amp;nbsp; My previous post related specifically to using the UpdateListItems method to modify data in SharePoint from an InfoPath form.&lt;/p&gt;&lt;p&gt;The UpdateListitems method takes the List GUID as the first paramater, and the CAML (XML) containing the update command.&amp;nbsp; When mapping elements in the CAML template to columns in SharePoint lists, the internal field name is used, not the column GUID.&amp;nbsp; The statement &amp;quot;This is the GUID if the list only, not any individual columns&amp;quot; is referring specifically to the ListName parameter of the UpdateListItems method, which requires the List GUID, not column GUIDs.&amp;nbsp; In this case, the column GUIDs can be ignored as the internal names are used to identify columns in SharePoint:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;wlarimore:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;example:&lt;br /&gt;&amp;quot;&lt;b&gt;&lt;font color="black"&gt;Field Three&lt;/font&gt;&lt;/b&gt;&amp;quot; translates to &amp;quot;&lt;b&gt;&lt;font color="red"&gt;Field_x0020_Three&lt;/font&gt;&lt;/b&gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;So, in your xml template you must have &lt;b&gt;&lt;font color="red"&gt;Field_x0020_Three&lt;/font&gt;&lt;/b&gt; defined&lt;br /&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/51474.aspx</link><pubDate>Sun, 07 Feb 2010 01:23:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51474</guid><dc:creator>louis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51474.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=51474</wfw:commentRss><description>&lt;p&gt;Whoaa Cowboy, Column Guids are text? This ain&amp;#39;t my first rodeo, and i think you might be mistaken.&amp;nbsp;Column do have guid&amp;#39;s just like lists, they are just harder to find than pulling them from query strings.&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/48186.aspx</link><pubDate>Sat, 24 Oct 2009 00:13:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48186</guid><dc:creator>Daniels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48186.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=48186</wfw:commentRss><description>&lt;p&gt;Hi Jay,&lt;/p&gt;&lt;p&gt;If you are using the UpdateListItems Method of the Lists Web Service as suggested in Matt&amp;#39;s Post, the GUID of the list being updated is stored in the ListName field as a default value (remove the curly braces {...}, so that there is just the number and hyphens &amp;quot;38472564-2......73634A5&amp;quot; ).&amp;nbsp; This is the GUID if the list only, not any individual columns.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The CAML Template will need to have an XML Field element to map to each field in the SharePoint list which you are updating.&amp;nbsp; Once you have populated the CAML Template with the required data to be submitted to the SharePoint list, the Secondary Submit data connection will Submit the CAML template using the Lists Web Service and the UpdateListItems method.&lt;/p&gt;&lt;p&gt;You will need to make sure you are using the &amp;quot;internal&amp;quot; columnn names when mapping to fields using the CAML template. The &lt;a href="http://www.u2u.be/res/Tools/CamlQueryBuilder.aspx"&gt;U2U CAML Query Builder&lt;/a&gt; can assist with finding the column names to use in the CAML template. &lt;/p&gt;&lt;p&gt;When configuring the submit data connection, selecting &amp;quot;XML Subtree, Including Selected Element&amp;quot;is an important step, but this should only be done for the &amp;quot;updates&amp;quot; paramater.&amp;nbsp; Leave the default option for the ListName paramater, so that the value inside the field is used, not the field as an XML element.&lt;/p&gt;&lt;p&gt;Another article which may assist explains how to update existing items in a SharePoint list using a similar technique, with some important notes for data types when updating data in SharePoint using web services.&amp;nbsp; &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; for details.&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Daniel &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/45750.aspx</link><pubDate>Tue, 11 Aug 2009 16:05:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45750</guid><dc:creator>jayvo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45750.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=45750</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hi Matt, &lt;/p&gt;
&lt;p&gt;I think this is where i am going wrong.&amp;nbsp; In your blog you only mention copying one GUID into the text box for ListName which i did and i end up getting this No List error.&amp;nbsp; Can you confirm whether i need to add a GUID for each column and if so where do i need to do this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Many Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Jay&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/34630.aspx</link><pubDate>Thu, 20 Nov 2008 21:05:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34630</guid><dc:creator>BuildPro Guru</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34630.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=34630</wfw:commentRss><description>&lt;p&gt;Hello Matt.&amp;nbsp; Sorry to resurrect such an old post, but I am having no luck.&amp;nbsp; I can do this at the root of the site with no problems, but even one layer in does not work.&amp;nbsp; I can get the list displayed in the form no problem, but the insert never works (except in the root list).&amp;nbsp; I have checked (about 40 times) the GUID for the list and for each of the columns and nothing.&amp;nbsp; Here is my CAML:&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;Batch OnError=&amp;quot;Continue&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Method ID=&amp;quot;1&amp;quot; Cmd=&amp;quot;New&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;quot;Title&amp;quot;&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;quot;Last%5Fx0020%5FName&amp;quot;&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;quot;First%5Fx0020%5FName&amp;quot;&amp;gt;&amp;lt;/Field&amp;gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I tried it with just text (Last Name) with the same results - &amp;#39;you have sucessfully submitted the form&amp;#39; but no data in the list.&amp;nbsp; What am I missing?&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/25910.aspx</link><pubDate>Thu, 24 Jan 2008 19:58:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25910</guid><dc:creator>LGrote</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25910.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=25910</wfw:commentRss><description>&lt;p&gt;yonah,&lt;/p&gt;&lt;p&gt;I have been trying to follow your wonderful example here, but am running into a problem everytime I try and submit the Form.&lt;/p&gt;&lt;p&gt;It keeps giving me the following:&lt;/p&gt;&lt;p&gt;&lt;i&gt;The following error occurred:&lt;br /&gt;&lt;br /&gt;&amp;#39;attributes.0&amp;#39; is null or not an object&lt;br /&gt;File:script.js&lt;br /&gt;Line:48&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;with my Line 48 being:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;fields.text=XDocument.DOM.selectSingleNode(&amp;quot;//my:&amp;quot;+fields.attributes[0].text).text; &lt;/i&gt;&lt;/p&gt;&lt;p&gt;Any ideas?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/24912.aspx</link><pubDate>Wed, 05 Dec 2007 06:39:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24912</guid><dc:creator>mayankagarwal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24912.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=24912</wfw:commentRss><description>&lt;p&gt;Hey Guys&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any one out there was able know how we can trap the error when infopath talks to sharepoint.&lt;/p&gt;
&lt;p&gt;when i submit the infopath form to add entry to sharepoint list, i dont get any error desings&amp;quot;form successfully submitted&amp;quot; but no entry to the list. Can you suggest anyway if the entry failed in sharepoint how can i trap the error at infopath end.&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/24911.aspx</link><pubDate>Wed, 05 Dec 2007 04:01:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24911</guid><dc:creator>mayankagarwal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24911.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=24911</wfw:commentRss><description>&lt;p&gt;Dear Matt&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have tried this solution of your and ufortunatly it works on some list and not the other. its quite frustrating and i have repeated the step a few times and no results. it work perfect on a list and then when i create another list&amp;nbsp; in exactly the same manner the infopath for doesnt work, i have recreated the form, checked the guids etc no avail. &lt;/p&gt;
&lt;p&gt;Also i notice that once the form does work, and if i change the list structure like add another column or so and replicate it on the infopath side like update the data sources, xml file etc it stops to work again.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I dont really get any error as that form says it was successfully submitted but there are no entries in the list...is there a way to trap errors that sharepoint list throws.&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;Batch OnError=&amp;quot;Continue&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Method ID=&amp;quot;1&amp;quot; Cmd=&amp;quot;New&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;#39;Title&amp;#39;&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;#39;FName&amp;#39;&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;#39;Lname&amp;#39;&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have also checked the guid of columns..&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/24856.aspx</link><pubDate>Mon, 03 Dec 2007 17:25:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24856</guid><dc:creator>KristyKay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24856.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=24856</wfw:commentRss><description>&lt;p&gt;My first question is are you sure you got the GUID correct?&amp;nbsp; Next question is what are the data types in your SharePoint list?&amp;nbsp; You have to careful with dates and lookup fields.&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/24852.aspx</link><pubDate>Mon, 03 Dec 2007 16:18:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24852</guid><dc:creator>infopathstartup</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24852.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=24852</wfw:commentRss><description>&lt;p&gt;I followed every step in your tutorial :)....I get the msg box data was submitted but nothing appears on the list. Please advice :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you.&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/24667.aspx</link><pubDate>Sun, 25 Nov 2007 22:14:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24667</guid><dc:creator>KristyKay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24667.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=24667</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m having difficulties deleting items from a SharePoint list so I thought I&amp;#39;d post here in case there&amp;#39;s something obvious I&amp;#39;m missing.&amp;nbsp; I&amp;#39;ve been able to succesfully add new items and update existing items using the UpdateListItems web service.&amp;nbsp; And I&amp;#39;m not getting any sort of error message that says the delete failed but the item remains in the list so it&amp;#39;s definitely not working.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s my CAML:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;Batch OnError=&amp;quot;Continue&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Method ID=&amp;quot;1&amp;quot; Cmd=&amp;quot;Delete&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;quot;ID&amp;quot;&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And here&amp;#39;s the JScript code:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;batch = XDocument.DataObjects[&amp;quot;TimeActivityDeleteCAML&amp;quot;].DOM;&lt;br /&gt;batch.selectSingleNode(&amp;quot;/Batch/Method/Field[@Name=&amp;#39;ID&amp;#39;]&amp;quot;).text = id;&lt;/p&gt;
&lt;p&gt;//Update the list&lt;br /&gt;var update = XDocument.DataAdapters[&amp;quot;Update&amp;quot;];&lt;br /&gt;&amp;nbsp;&lt;br /&gt;try {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var xml = update.Submit();&lt;br /&gt;}catch (err) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument.UI.Alert(&amp;quot;There was an error updating the information: &amp;quot; + err.message);&amp;nbsp;&lt;br /&gt;}&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;TimeActivityDeleteCAML is my secondary data connection to the CAML mentioned above.&amp;nbsp; Update is my secondary data connection to the UpdateListItems web service.&amp;nbsp; Like I said, it works fine for updates.&amp;nbsp; The only difference between the update and delete is the update CAML contains an entry for the field being updated and the code contains a line to set that value.&lt;/p&gt;
&lt;p&gt;Am I missing something obvious?&amp;nbsp; Any help would be appreciated since I&amp;#39;ve been staring at it blankly for a while now.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using InfoPath 2003 and SharePoint 2007.&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/24360.aspx</link><pubDate>Mon, 12 Nov 2007 18:35:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24360</guid><dc:creator>AndrePSantos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24360.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=24360</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been following the post and created the connection just fine, but it came to my attention that the webservice doesn&amp;#39;t respect the required fields.&lt;/p&gt;
&lt;p&gt;Is it possible, without using any programming, to force a field in the caml to be required, and make that show up in the form?&lt;/p&gt;
&lt;p&gt;I can do it using programming, I create fields for the parameters and force them to be riquired, the, using the on_change event i &amp;quot;copy&amp;quot; them to the xml data source field. But is there a way to this without programming?&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Re: Add Sharepoint List Items with InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/23674.aspx</link><pubDate>Thu, 11 Oct 2007 17:19:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23674</guid><dc:creator>shaun.nieves</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23674.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=23674</wfw:commentRss><description>&lt;p&gt;Check your pm. Let me know if you have any other questions...&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;</description></item></channel></rss>