<?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: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/71115.aspx</link><pubDate>Fri, 14 Oct 2011 08:33:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71115</guid><dc:creator>Mingle</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=71115</wfw:commentRss><description>I want to delete a piece of SharePoint list item and use the CAML template,but I got the error&amp;#39;&lt;br /&gt;the rule can&amp;#39;t be run,the parameter is invalid&amp;nbsp;&amp;#39;</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16339.aspx</link><pubDate>Mon, 07 Aug 2006 13:55:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16339</guid><dc:creator>mikesm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16339.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16339</wfw:commentRss><description>Hi Clay..thanks but I am not sure exactly what you mean here.  My CAML file is :&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; &lt;br /&gt;&amp;lt;Batch OnError="Continue"&amp;gt;&lt;br /&gt;&amp;lt;Method ID="1" Cmd="Update"&amp;gt;&lt;br /&gt;&amp;lt;Field Name="Number" /&amp;gt; &lt;br /&gt;&amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;br /&gt;&lt;br /&gt;So when you say I need to add Name="ID" do you mean I have to add a field for each of the column in my table?  The custom table I set up only has 1 column called 'tcktNum'.  There is an ID and Type column is see in the main view but those were default columns in the custom list.  &lt;br /&gt;</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16338.aspx</link><pubDate>Thu, 27 Jul 2006 21:51:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16338</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16338.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16338</wfw:commentRss><description>Yah I spoke with Greg about this and got the solution.&lt;br /&gt;&lt;br /&gt;Unfortunately Infopath does not have a filter for the field entry when setting a Fields Value via a rule.  So with a repeating field like the CAML it sets all of them instead of letting you specify each field.  So what you have to do it set the field like you would but then extract the form and manually edit the .xsl file for each action to add the filter. Add [Name="ID"] etc to specify each field with the value you need.  Then once all of your values are seeded you can submit.  So unfortunately it takes some manual work to set it up and hopefully you don't have to change the CAML or your form part very often.</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16337.aspx</link><pubDate>Thu, 27 Jul 2006 13:34:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16337</guid><dc:creator>mikesm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16337.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16337</wfw:commentRss><description>Clay..appreciate you sticking with me on this...cant beleive how frustrated i am getting here.&lt;br /&gt;&lt;br /&gt;Anyway, I followed the example by simply creating a new form and a list on my sharepoint site.  Once I set up the example the update worked flaulessly.&lt;br /&gt;So now I went back to my form and thing I know where the problem is ..&lt;br /&gt;The problem is that in the example it sets up the button with an action of Submit.  And then the submit options are filled in.  In my form the button has to have the action set to Rules and Custom Code due to a number of rules I need to run before I submit the form to the Sp library.   So apparently I cant submit the ticket number field to the lists web service AND submit the form to the library in the same button and that is what I would need to do.   &lt;br /&gt;So now I am digging for Cuctom code I cant try to add to my form.&lt;br /&gt;</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16336.aspx</link><pubDate>Wed, 26 Jul 2006 14:49:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16336</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16336.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16336</wfw:commentRss><description>The first thing I would do is follow the example and put the actual fields from your caml template on your form. Update a value and submit / refresh and verify you are able to update the SharePoint list.  I think you should no longer have any problem.&lt;br /&gt;&lt;br /&gt;As far as programatically setting the value that is a bit more challenging.  I have not figured out yet how to set specific fields of the list.  To have the user type in a new record or change an existing manually works but i would like to be able to set field values and submit.  however since the SP list fields names are attributes and it is a repeating field i have not gotten this to work.  I am not sure how you can specify a specific repeating field to update since their is no filter option on the update field only on the value field. My guess is it will probably require code but if someone has an answer that would be great.</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16335.aspx</link><pubDate>Tue, 25 Jul 2006 14:17:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16335</guid><dc:creator>mikesm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16335.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16335</wfw:commentRss><description>Ok, I have sifted through the setup doc again to be sure I have all my data connections set correctlty and discovered the issue.&lt;br /&gt;&lt;br /&gt;I am actually setting up a rule in a button as follows..&lt;br /&gt;&lt;br /&gt;If the TicketNumber field is blank,&lt;br /&gt;use the dataconnect to the TicketNum list to pull the ticket number in and add 1 to it.  I then call the submit to the update web service.  &lt;br /&gt;&lt;br /&gt;problem is I am not specifying what to submit.  So the service is finding the list ok but I am not sure how to tell it to submit my ticket number field to the list.&lt;br /&gt;&lt;br /&gt;???</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16334.aspx</link><pubDate>Tue, 25 Jul 2006 13:53:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16334</guid><dc:creator>mikesm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16334.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16334</wfw:commentRss><description>Ok Clay...getting closer, I think.&lt;br /&gt;I was using the lists service from the main site...not the subsite.   I changed that in the data connect and now when I try to submit the ticket number to the sharepoint list I no longer get any error messages....however,  when I go into the sharepoint to view the list it has not been updated!!  Very weird.  Not sure what to try next.</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16333.aspx</link><pubDate>Mon, 24 Jul 2006 20:59:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16333</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16333.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16333</wfw:commentRss><description>You might want to try another list even a sample.  &lt;br /&gt;The issue is that the GUID is not being resolved properly.  So if you are sure the GUID is right then it probably is that you are refering to the wrong site.&lt;br /&gt;One thing I thought of is the data connection you are submiting with..  You need to navigate to the lists.asmx for the specific subsite where your list is located. The top level site will not work.  I am using a team site list so I have to go to the&lt;a target="_blank" href=http://server/teamsites/XX/_vti_bin/lists.asmx?WSDL&gt;http://server/teamsites/XX/_vti_bin/lists.asmx?WSDL&lt;/a&gt;&lt;br /&gt;I am wondering if you are not drilling down to the right web service.&lt;br /&gt;&lt;br /&gt;Just a thought otherwise it is probably one of those start over and create a working sample and go from there.</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16332.aspx</link><pubDate>Mon, 24 Jul 2006 14:14:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16332</guid><dc:creator>mikesm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16332.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16332</wfw:commentRss><description>Hey Clay,  thanks for the additional info.   I did try adding the brackets first as your first post this morning suggested and got the same error.  I went back into the site list and verified I have the correct guid.  Not sure what else could be causing this error but it is very frustrating at this point.</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16331.aspx</link><pubDate>Mon, 24 Jul 2006 14:07:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16331</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16331.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16331</wfw:commentRss><description>Actually scratch that. I accidentally deleted a number too. So, as I thought I had seen before, the brackets are optional.  However if the GUID is not correct you get the error you are seeing. Need to double check that the GUID you see when you modify settings is the one you have listed in your field.</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16330.aspx</link><pubDate>Mon, 24 Jul 2006 14:02:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16330</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16330.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16330</wfw:commentRss><description>I noticed you do not have your GUID in {}.  I just tried removing brackets in my form and I got the exact same error you have listed here.  This is in 2003 but looking at my 2007 example I have brackets on it as well.  I put my GUID in as the Default Value. I am not sure how you are doing it but that could maybe cause an issue when setting a value or transfering it.&lt;br /&gt;&lt;br /&gt;Let me know if that is it.</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16329.aspx</link><pubDate>Fri, 21 Jul 2006 20:14:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16329</guid><dc:creator>mikesm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16329.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16329</wfw:commentRss><description>I sure can:&lt;br /&gt;&lt;br /&gt;The list is called TicketNum and has one column called Number with only one entry in it.&lt;br /&gt;&lt;br /&gt;The CAML file is:&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; &lt;br /&gt;&amp;lt;Batch OnError="Continue"&amp;gt;&lt;br /&gt;   &amp;lt;Method ID="1" Cmd="Update"&amp;gt;&lt;br /&gt;      &amp;lt;Field Name="Number" /&amp;gt;       &lt;br /&gt;   &amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;br /&gt;&lt;br /&gt;The list guid is:  D3F99604-6241-4781-ADD3-7AE00ADA85BD&lt;br /&gt;&lt;br /&gt;I have the form set up so when you click a button it will submit the ticket number field to the list web service calling UpdateListItems.&lt;br /&gt;&lt;br /&gt;The error I get when I click the button is:&lt;br /&gt;InfoPath cannot submit the form.&lt;br /&gt;An error occurred while the form was being submitted.&lt;br /&gt;The SOAP response indicates that an error occurred on the server:&lt;br /&gt;&lt;br /&gt;Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.&lt;br /&gt;&amp;lt;detail&amp;gt;&amp;lt;errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/"&amp;gt;&lt;br /&gt;    List does not exist&lt;br /&gt;&lt;br /&gt;    The page you selected contains a list that does not exist.  It may have been deleted by another user.  Click "Home" at the top of the page to return to your Web site.&lt;br /&gt;    &amp;lt;/errorstring&amp;gt;&amp;lt;errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/"&amp;gt;0x82000006&amp;lt;/errorcode&amp;gt;&amp;lt;/detail&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thank you for any assistance you can provide.&lt;br /&gt;&lt;br /&gt;mike&lt;br /&gt;</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16328.aspx</link><pubDate>Fri, 21 Jul 2006 20:04:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16328</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16328.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16328</wfw:commentRss><description>You could post the eror message.  Also maybe a copy of your CAML and the syntax of your GUID.</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16327.aspx</link><pubDate>Fri, 21 Jul 2006 19:03:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16327</guid><dc:creator>mikesm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16327.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16327</wfw:commentRss><description>Thanks for the clarification. I did get the guid and set thinks up as the links above suggested.  However, for some reason I still get the List does not exist message.  Not sure where the issue is at this point.</description></item><item><title>Re: Updating a SharePoint list item from form</title><link>https://www.infopathdev.com:443/forums/thread/16326.aspx</link><pubDate>Fri, 21 Jul 2006 18:28:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16326</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16326.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16326</wfw:commentRss><description>They are not required admin rights.  You just need to go into Modify Settings and Columns, which is at the bottom of the quick launch bar on the left or in 2007 use the Settings drop down and then go to list settings.  Then get the List ID from the URL. this is what the Admin rights are for.  Nothing else is different from a Form/User permissions perspective.</description></item></channel></rss>