<?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: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84273.aspx</link><pubDate>Thu, 08 Nov 2012 15:29:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84273</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84273.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84273</wfw:commentRss><description>Wonderful! So glad you got your form working the way you need it to!</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84264.aspx</link><pubDate>Thu, 08 Nov 2012 13:20:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84264</guid><dc:creator>sharepointlover</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84264.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84264</wfw:commentRss><description>Hello Hilary.

Thank you so much for your help - You&amp;#39;ve been so helpful.

I created a rule on the button so that the fields value is actually changed prior to submission and now it all works, changing the values.

Many thanks for all your help.

Will certainly be investing in Qdabra rules - once my trial expires. 

Thanks a lot, you&amp;#39;re a great credit to Qdabra.

Yemi</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84232.aspx</link><pubDate>Wed, 07 Nov 2012 15:37:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84232</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84232.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84232</wfw:commentRss><description>&lt;p&gt;Okay. Here is what I believe the heart of your problem is - you are trying to update an existing item with providing qRules that item&amp;#39;s ID. In a SharePoint list, each item has a unique ID. qRules offers a way to populate the XML with a newly created item&amp;#39;s ID number. This allows qRules to update the item.&lt;/p&gt;&lt;p&gt;In your form, I think you are probably not saving the XML that is created by the form - you are just re-opening the template each time.&lt;/p&gt;&lt;p&gt;In your description of what you are doing, you are setting some fields when the laptop name is selected from the SharePoint list. Your SharePoint list data connection contains the ID field (by default - this is always selected as one of the fields when a data connection to a list is created). So when you select a laptop name and populate the laptop number and the status, you should also populate the ShPId field in your main data source with the ID from your SharePoint list data connection for the laptop. This will allow qRules to update the item.&lt;/p&gt;</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84225.aspx</link><pubDate>Wed, 07 Nov 2012 10:00:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84225</guid><dc:creator>sharepointlover</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84225.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84225</wfw:commentRss><description>Hello Hilary. Thank you so much. In response:

&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Here&amp;#39;s what I&amp;#39;m not seeing - can you put the ShPId field on the form so you can verify it is being populated when you first submit?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

I&amp;#39;ve done this. Please click on the link below. Showing the action and steps. It will show that an additional record has been created with the ShpID included, although the record has changed this time.
https://docs.google.com/open?id=0BwU4lZpNNSL4anc4akl4U1hYYUk

&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Between your first submit and your second submit are you leaving the form open?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

No, I haven&amp;#39;t been leaving the form open

&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;If not, when you set your other field values after the laptop has been selected, are you setting the ShPId field with the ID from the laptop list? The ID field from the list is the key to updating instead of creating new - we have an ID field indicated in the mapping, and then the field in the XML indicated by that XPath need to have the ID of the item you are trying to update.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

Sorry for asking to be spoon-fed here :), but can you give me the steps to achieve this as I don&amp;#39;t want to get it wrong again and it would really help a lot if one could overcome what is missing here.

Thank you so much</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84210.aspx</link><pubDate>Tue, 06 Nov 2012 19:28:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84210</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84210.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84210</wfw:commentRss><description>I appreciate you putting all your steps together like that - and starting with a new form. Here&amp;#39;s what I&amp;#39;m not seeing - can you put the ShPId field on the form so you can verify it is being populated when you first submit? Between your first submit and your second submit are you leaving the form open? If not, when you set your other field values after the laptop has been selected, are you setting the ShPId field with the ID from the laptop list? The ID field from the list is the key to updating instead of creating new - we have an ID field indicated in the mapping, and then the field in the XML indicated by that XPath need to have the ID of the item you are trying to update.</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84207.aspx</link><pubDate>Tue, 06 Nov 2012 18:06:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84207</guid><dc:creator>sharepointlover</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84207</wfw:commentRss><description>&lt;p&gt;Hello again Hilary.&lt;/p&gt;&lt;p&gt;Many thanks for replying to all of my emails. I&amp;#39;m still not having much luck and I need to present Qdara to some colleagues of mine who do have an interest of purchasing. I thought I&amp;#39;d actually show you in detail what I have been trying to do with the exact steps after following all of the details on your blog here &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2012/05/30/qrules-submittosharepointlist-walkthrough-for-v4-2.aspx"&gt;http://www.infopathdev.com/blogs/hilary/archive/2012/05/30/qrules-submittosharepointlist-walkthrough-for-v4-2.aspx&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve followed the steps that you took, but I&amp;#39;d really appreciate it if you could help me go through my document as it would let one know exactly where the problem is. I can&amp;#39;t attach word documents on the system&amp;nbsp;here so I have placed it my Google Docs account here&lt;/p&gt;&lt;p&gt;&lt;a href="https://docs.google.com/file/d/0BwU4lZpNNSL4OGNXUEhRZzNERXM/edit"&gt;https://docs.google.com/file/d/0BwU4lZpNNSL4OGNXUEhRZzNERXM/edit&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Please help &lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Yemi&lt;/p&gt;</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84148.aspx</link><pubDate>Mon, 05 Nov 2012 13:36:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84148</guid><dc:creator>sharepointlover</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84148.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84148</wfw:commentRss><description>Hello. 

Sorry for my delays in replying but I have a problem with InfoPath which is preventing me from accessing old forms that I&amp;#39;ve created. I was trying to enable VSTA. I&amp;#39;ll recreate the form and then send it to you again to have a look.

Thanks.</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84088.aspx</link><pubDate>Thu, 01 Nov 2012 15:14:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84088</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84088</wfw:commentRss><description>&lt;p&gt;I want to reply to this again - Some of your screenshots were caught in the moderation queue, so when I reveiwed your posts, some steps were not displayed.&lt;/p&gt;&lt;p&gt;I&amp;#39;m wondering if any part of the issue might be with the fact that the Title field is not being populated? Can you try adding that field to your form so that your created items have a title? The error you are getting - Cannot access a closed Stream - is not one I have seen before. Another thought - there is a field in the QdabraRules data source, in the Form node, called extendedErrorMessages - can you put that field on your form and set it to true and see if we can get more error info from the form?&lt;/p&gt;</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84053.aspx</link><pubDate>Wed, 31 Oct 2012 17:29:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84053</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84053</wfw:commentRss><description>&lt;p&gt;What I am trying to do is find out whether the issue has something to do with the data you are submitting via your form drop downs (since we don&amp;#39;t know what the actual values there are) or with the command, or with something else. I do understand the purpose of the form. Sometimes, to troubleshoot issues, we have to simplify. I am trying to help you simplify.&lt;/p&gt;&lt;p&gt;If it were my form, and I were trying to troubleshoot this, I would drag the main data source onto the form again so that I could enter data in any of the fields. I&amp;#39;d submit a new item. I&amp;#39;d make sure the SharePoint Id field in the form, as specified in the /id parameter is successfully populated. I&amp;#39;d change some information in the form by typing in the fields, not by using the drop down controls. I&amp;#39;d try to submit again and see if my item was updated.&lt;/p&gt;</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84051.aspx</link><pubDate>Wed, 31 Oct 2012 17:16:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84051</guid><dc:creator>sharepointlover</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84051.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84051</wfw:commentRss><description>Final result after submission</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84050.aspx</link><pubDate>Wed, 31 Oct 2012 17:15:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84050</guid><dc:creator>sharepointlover</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84050.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84050</wfw:commentRss><description>3rd Action</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84049.aspx</link><pubDate>Wed, 31 Oct 2012 17:14:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84049</guid><dc:creator>sharepointlover</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84049</wfw:commentRss><description>Next Action</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84048.aspx</link><pubDate>Wed, 31 Oct 2012 17:13:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84048</guid><dc:creator>sharepointlover</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84048</wfw:commentRss><description>initial Config</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84047.aspx</link><pubDate>Wed, 31 Oct 2012 17:12:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84047</guid><dc:creator>sharepointlover</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84047.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84047</wfw:commentRss><description>Hello Hillary. I&amp;#39;ve included screenshots of exactly what I&amp;#39;ve done including the resulting errors.

&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Checking the SharePoint list shows a blank record with  entitled &amp;quot;NEW&amp;quot;, but no other records inserted accordingly.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

This occurs if I just clicked on &amp;quot;Submit&amp;quot;, with no added data. However, yes, If I create a record with data, the form does get submitted. But, the purpose of the 
form is to edit existing data in a SharePoint list i.e. change the conditions of existing data.

Please have a look at my screenshots, in the following threads, it will explain them all</description></item><item><title>Re: Unable to Submit Info Path data to Form data to SharePoint List</title><link>https://www.infopathdev.com:443/forums/thread/84044.aspx</link><pubDate>Wed, 31 Oct 2012 15:13:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84044</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84044.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=84044</wfw:commentRss><description>&lt;p&gt;So, I don&amp;#39;t understand this:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Checking the SharePoint list shows a blank record with  entitled &amp;quot;NEW&amp;quot;, but no other records inserted accordingly. &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;What does that mean? Are none of your form values getting submitted to the list? &lt;/p&gt;&lt;p&gt;As to this:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Running the form a second time and then selecting the newly created ID so as to update it with new or even blank records generates the error message&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I must not have explained well what I would like you to do - I don&amp;#39;t want you to run the form a second time. I want you to open the form one time. Submit your list item. Leave the form open. Make sure in the form, in the ShPId field (or whatever you&amp;#39;ve used for your /id param) gets returned by the command - that is, make sure you have an ID number. Don&amp;#39;t close the form. Change something in your form. Submit again and see if you have an error or an update.&lt;/p&gt;&lt;p&gt;However, it sounds as if you have another issue if you are just getting a blank record created - like your mapping may not be correct?&lt;/p&gt;</description></item></channel></rss>