<?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: Assigning data from fields to a caml 2ndary DOM</title><link>https://www.infopathdev.com:443/forums/thread/14868.aspx</link><pubDate>Sat, 04 Nov 2006 03:07:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14868</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14868.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14868</wfw:commentRss><description>Hi again,&lt;br /&gt;Great to hear. Sorry about the lapse in response. We try to respond but sometimes we miss them. I replied in e-mail with the contents.</description></item><item><title>Re: Assigning data from fields to a caml 2ndary DOM</title><link>https://www.infopathdev.com:443/forums/thread/14867.aspx</link><pubDate>Sat, 04 Nov 2006 02:46:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14867</guid><dc:creator>Lalewicz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14867.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14867</wfw:commentRss><description>Actually it was Matt's How to that got me going down this path.  I appreciated his help but when I left this same question on that thread it went unanswered so I was hoping someone that watched this coding thread would have an idea.  I am not sure which book you are talking about.</description></item><item><title>Re: Assigning data from fields to a caml 2ndary DOM</title><link>https://www.infopathdev.com:443/forums/thread/14866.aspx</link><pubDate>Sat, 04 Nov 2006 00:30:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14866</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14866.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14866</wfw:commentRss><description>Hi Lalewicz,&lt;br /&gt;Have you looked at Matt Faus's HowTo on how to update SharePoint lists using InfoPath? There is also an example in Chapter 9 of our book. I'm not sure either is what you want, but without understanding your requirements in more detail, my first response is to look at them. Send me or Matt e-mail, and we can help you with pointers.</description></item><item><title>Assigning data from fields to a caml 2ndary DOM</title><link>https://www.infopathdev.com:443/forums/thread/12972.aspx</link><pubDate>Fri, 03 Nov 2006 12:35:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12972</guid><dc:creator>Lalewicz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12972.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12972</wfw:commentRss><description>I want to write some code behind a submit button that takes data collected from form fields and puts it in a caml file attached to the form as a 2ndary data source and submits it so that it calls the updatelistitems web service in sharepoint (which is all set up and already works fine).&lt;br /&gt;&lt;br /&gt;If I have field1 field2 and field3 for example, how can I make the following structure acccept these values and submit?&lt;br /&gt;&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="New"&amp;gt;&lt;br /&gt;        &amp;lt;Field Name="field1"&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;        &amp;lt;Field Name="field2"&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;        &amp;lt;Field Name="field3"&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;    &amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;br /&gt;&lt;br /&gt;I know that it needs to end up looking something like &lt;br /&gt;&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="New"&amp;gt;&lt;br /&gt;        &amp;lt;Field Name="field1"&amp;gt;value1&amp;lt;/Field&amp;gt;&lt;br /&gt;        &amp;lt;Field Name="field2"&amp;gt;value2&amp;lt;/Field&amp;gt;&lt;br /&gt;        &amp;lt;Field Name="field3"&amp;gt;value3&amp;lt;/Field&amp;gt;&lt;br /&gt;    &amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;br /&gt;&lt;br /&gt;Thank you in advance for a push in the right direction.</description></item></channel></rss>