<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Defining a Secondary InfoPath Data Source with CAML (XML)</title><link>https://www.infopathdev.com:443/forums/thread/107089.aspx</link><pubDate>Mon, 20 Jun 2016 10:19:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107089</guid><dc:creator>Tunde Afolabi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107089.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=107089</wfw:commentRss><description>&lt;p&gt;
Hello Hilary,
 I need assistance in resolving this lingering issue. I created a form in infopath 2010 where staff can fill in their interest in applying for the company&amp;#39;s assets like cars which include:&amp;nbsp; Toyota Corolla, Toyota Coaster, Toyota Hiace, Toyota Hliux and it is submitted to a library called Corolla. The list of cars with columns like Vehicle Type, Vehicle Number, Amt to be Paid, Age, CurrentKM is in a list called Vehicles.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I created a repeating table in Infopath to populate the Vehicle Type, Vehicle Number. The third field is Result.&lt;/p&gt;&lt;p&gt;Inside the result random number of winners will be populated which is related to the Vehicle Number.&lt;/p&gt;&lt;p&gt;The way it should be done is that all related staff nos submitted will be grouped to a related Vehicle Number by the Car type and random selection will be done.&lt;/p&gt;&lt;p&gt;I need assistance on how to do this.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks and expecting your reply asap.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Tunde &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Defining a Secondary InfoPath Data Source with CAML (XML)</title><link>https://www.infopathdev.com:443/forums/thread/105976.aspx</link><pubDate>Sun, 27 Mar 2016 11:51:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105976</guid><dc:creator>nmsilver</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105976.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=105976</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello Hilary,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Related to this post, I would like to populate one&amp;nbsp;of my secondary (CAML) data connection fields &amp;quot;RequestID&amp;quot; with a value of a textbox&amp;nbsp;from the primary (Main)&amp;nbsp;data connection &amp;quot;ID&amp;quot;. I tried several action rules with no success. Can you kindly please help me with this task. Thank you.&lt;/p&gt;

&lt;p&gt;Never mind I&amp;#39;ve figured it out. But thank you for your valued contributions.&lt;/p&gt;</description></item><item><title>Re: Defining a Secondary InfoPath Data Source with CAML (XML)</title><link>https://www.infopathdev.com:443/forums/thread/100728.aspx</link><pubDate>Fri, 09 Jan 2015 18:20:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100728</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100728.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=100728</wfw:commentRss><description>&lt;p&gt;To display the fields in specific places on your form, you can just put controls bound to the field data source and set the repeating section to display only if Name = Organization (for example) so that right field displays where you would like it.&lt;/p&gt;
&lt;p&gt;You can add to this schema without it preventing the CAML from working, which can make setting values easier - you could add another attribute called &amp;quot;SetValue&amp;quot; for example:&lt;/p&gt;
&lt;p&gt;&amp;lt;Field Name=&amp;quot;Title&amp;quot; SetValue=&amp;quot;&amp;quot;&amp;nbsp;&amp;gt;&amp;lt;/Field&amp;gt;&lt;/p&gt;
&lt;p&gt;Then, you could SetValue to 1 or something, and on that field use a condition to set the right instance. Like - the condition could be if Name = ID, and SetValue = 1, set the Field = ID&lt;/p&gt;</description></item><item><title>Re: Defining a Secondary InfoPath Data Source with CAML (XML)</title><link>https://www.infopathdev.com:443/forums/thread/100727.aspx</link><pubDate>Fri, 09 Jan 2015 17:38:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100727</guid><dc:creator>K Denham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100727.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=100727</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I can see that, but I&amp;#39;m not able to access the actual fields
in the InfoPath form for editing (position, size, default values, etc.) I&amp;#39;m
developing a solution using your post &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;a href="http://www.infopathdev.com/forums/t/26246.aspx"&gt;&lt;font color="#0000ff" size="3" face="Calibri"&gt;Codeless submitting
InfoPath repeating table to a SharePoint list&lt;/font&gt;&lt;/a&gt;&lt;font size="3" face="Calibri"&gt; &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;and &lt;/font&gt;&lt;a href="http://blogs.msdn.com/b/infopath/default.aspx?Redirected=true&amp;amp;PostSortBy=MostComments&amp;amp;PageIndex=1"&gt;&lt;font color="#0000ff" size="3" face="Calibri"&gt;Submitting
Data to A SharePoint List&lt;/font&gt;&lt;/a&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;. In my case, I need to arrange the fields in
repeating table on my form and set the value for the &amp;quot;FormID&amp;quot; field.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;</description></item><item><title>Re: Defining a Secondary InfoPath Data Source with CAML (XML)</title><link>https://www.infopathdev.com:443/forums/thread/100726.aspx</link><pubDate>Fri, 09 Jan 2015 17:03:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100726</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100726.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=100726</wfw:commentRss><description>&lt;p&gt;Because field tree shows the schema, not the values. If you&amp;nbsp;drag the Name attribute onto your form and preview the form, you&amp;#39;ll see the values you entered.&lt;/p&gt;</description></item><item><title>Defining a Secondary InfoPath Data Source with CAML (XML)</title><link>https://www.infopathdev.com:443/forums/thread/100725.aspx</link><pubDate>Fri, 09 Jan 2015 16:57:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100725</guid><dc:creator>K Denham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=100725</wfw:commentRss><description>&lt;p&gt;I am creating an InfoPath form with repeating tables and teh best solution I&amp;#39;ve come across for submitting these data to SharePoint lists involves creatnig a secondary data source using a CAML file. The CAML code is:&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;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;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;lt;Field Name=&amp;quot;Organization&amp;quot; &amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;quot;LService&amp;quot; &amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;quot;LRole&amp;quot; &amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;quot;FormID&amp;quot; &amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;/p&gt;&lt;p&gt;However, when I go back to the Fields Pane and select the newly created Secondary Data Source (based on the CAML XML file), the field names are not shown. Instead, the field tree looks like:&lt;/p&gt;&lt;p&gt;- (folder) Batch&lt;br /&gt;&amp;nbsp;&amp;nbsp; (Item) OnError&lt;/p&gt;&lt;p&gt;&amp;nbsp; - (folder) Method&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Item) ID&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Item) Cmd&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Repeating Item) Field&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - (Item) Name&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Why am I not seeing a Field list showing the Field names defined in the XML file?&lt;/p&gt;</description></item></channel></rss>