<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How do I dynamically construct a batch statement and submit it to updatelistitem without using managed code?</title><link>https://www.infopathdev.com:443/forums/thread/99282.aspx</link><pubDate>Thu, 25 Sep 2014 10:52:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99282</guid><dc:creator>nibblas86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=99282</wfw:commentRss><description>&lt;p&gt;hi all,
no idea for above question?

&lt;/p&gt;&lt;p&gt;I have a similar problem. 

here is my batch.xml &lt;/p&gt;&lt;p&gt;&amp;nbsp;&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;Update&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;#39;ID&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;text&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;




how can i set the values in the batch.xml according to input values from the infopath form? (no repeating table)
&lt;/p&gt;&lt;p&gt;if i manually fill the batch xml in advance e.g

&lt;/p&gt;&lt;p&gt;&amp;nbsp;&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;Update&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;#39;ID&amp;#39;&amp;gt;1&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;text&amp;#39;&amp;gt;testtext&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;
the update works fine, but i have to set the text field in the batch.xml to a input value from the form....

any ideas?

best regards&lt;/p&gt;</description></item><item><title>How do I dynamically construct a batch statement and submit it to updatelistitem without using managed code?</title><link>https://www.infopathdev.com:443/forums/thread/68709.aspx</link><pubDate>Tue, 26 Jul 2011 01:22:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68709</guid><dc:creator>simpsonjohn2000</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68709.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=68709</wfw:commentRss><description>&lt;p&gt;I have a browser-enabled form written with Infopath 2007.&amp;nbsp; I am unable to use managed code.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I would like to create a new Sharepoint 2007 list item using the updatelistitems() webservice. I can do this if I create a CAML template and use the template to create a &amp;quot;receive&amp;quot; secondary data connection.&amp;nbsp; The newly created data connection is then used as the update parameter when accessing the updatelistitems() webservice in the &amp;quot;submit&amp;quot; data connection.&lt;br /&gt;&lt;br /&gt;However, I would like the user to be able to provide some of the new data using a drop-down list box.&amp;nbsp; Unfortunately, I can&amp;#39;t figure out how to include the selected item in the dropdown box in the update submission.&amp;nbsp; I tried dynamically constructing a batch statement, putting it in a text box, and using this as the update CAML XML, but I get a message indicating that there was an error in the update.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;How do I dynamically construct a batch statement and submit it to updatelistitem without using managed code?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>