<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119698.aspx</link><pubDate>Tue, 28 Aug 2018 18:32:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119698</guid><dc:creator>SG123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119698.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119698</wfw:commentRss><description>&lt;p&gt;Thanks a lot Hilary. You are awesome!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m able to understand overall rule now. Thanks.&lt;/p&gt;</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119697.aspx</link><pubDate>Tue, 28 Aug 2018 18:22:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119697</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119697.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119697</wfw:commentRss><description>In your data connection w/ your CAML template, in the XML, you have added some attributes. You need to have rules on those to set the appropriate fields. See attached.</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119696.aspx</link><pubDate>Tue, 28 Aug 2018 18:11:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119696</guid><dc:creator>SG123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119696.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119696</wfw:commentRss><description>Thanks Hilary. But I really don&amp;#39;t know how to update the same and where to add this rule to set the CAML field to the attribute.</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119691.aspx</link><pubDate>Tue, 28 Aug 2018 15:05:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119691</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119691.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119691</wfw:commentRss><description>You have rules set to set attributes in your CAML template - copyID and copyProficiency - but you don&amp;#39;t have any rules on those attributes to set the CAML fields. :)</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119688.aspx</link><pubDate>Tue, 28 Aug 2018 08:43:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119688</guid><dc:creator>SG123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119688.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119688</wfw:commentRss><description>&lt;p&gt;Thanks Hilary. I understood the Rule for looping.&lt;/p&gt;&lt;p&gt;However, when I tried to use the same logic to update&amp;nbsp;&amp;quot;Proficiency&amp;quot; field in my Skills Table using CAML&amp;nbsp;query. Its not updating the&amp;nbsp;SharePoint list items.&lt;/p&gt;&lt;p&gt;I&amp;#39;m attaching my test form for your reference. I&amp;#39;ve used SharePoint list as my secondary&amp;nbsp;data source and XML for CAML update.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Kindly let me know, where I&amp;#39;m missing the logic.&lt;/p&gt;&lt;p&gt;Thanks as always!&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note:&amp;nbsp;Once you save and open the&amp;nbsp;attached form, pop will come to connect to data source. Just click &amp;quot;No&amp;quot; and continue. I&amp;#39;ve already included SP list items in the InfoPath form.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119681.aspx</link><pubDate>Mon, 27 Aug 2018 18:45:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119681</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119681.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119681</wfw:commentRss><description>Also - here is a basic template that should help show you how executing a rule on a field inside a repeating group will execute the rule for each row. It&amp;#39;s a filler sample, so it is just using a pop-up action to demo the concept. Save the file locally, right click and select preview to try it out.</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119680.aspx</link><pubDate>Mon, 27 Aug 2018 17:37:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119680</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119680.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119680</wfw:commentRss><description>Can you attach a copy of your template? Under the options tab in a reply.</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119679.aspx</link><pubDate>Mon, 27 Aug 2018 17:35:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119679</guid><dc:creator>SG123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119679.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119679</wfw:commentRss><description>Thanks for the solution.
I may be asking you for too much. Would it be possible for you to give me an example xsn file on the same logic.

Basically my bad, I&amp;#39;m not able to get how the CAML will trigger row by row.
If my secondary data source has 5 row of data, and I need to update my proficiency for each skill mentioned in the row. How my &amp;quot;version&amp;quot; field will help to update or trigger my CAML update query row by row.

My apologies if I&amp;#39;m not understanding you correctly.</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119678.aspx</link><pubDate>Mon, 27 Aug 2018 17:11:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119678</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119678.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119678</wfw:commentRss><description>So, yeah, your helper field needs to also be in the data connection to the list. You may need to walk through the data connection again and include the version field so you can repurpose it. Then, put the rules to set the CAML data source and execute the CAML submit on the version field. The version field will be inside the same repeating group that your form table is bound to - so when the rules fire, they will set the CAML to the correct value for that row. Does that make sense?</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119675.aspx</link><pubDate>Mon, 27 Aug 2018 17:02:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119675</guid><dc:creator>SG123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119675.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119675</wfw:commentRss><description>It&amp;#39;s bound to sharepoint list.</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119673.aspx</link><pubDate>Mon, 27 Aug 2018 16:28:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119673</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119673.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119673</wfw:commentRss><description>Is your repeating table bound to the SharePoint List? Or to the main data source?</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119670.aspx</link><pubDate>Mon, 27 Aug 2018 16:23:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119670</guid><dc:creator>SG123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119670.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119670</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Hilary for your time.&lt;/p&gt;&lt;p&gt;Yes, I&amp;#39;m using a secondary data source as a repeating table. &lt;/p&gt;&lt;p&gt;Would be good, if you can elaborate more on the Logic part &amp;nbsp;to run the rule for each instance of the table row.&lt;/p&gt;&lt;p&gt;To give you a view:&lt;/p&gt;&lt;p&gt;My&amp;nbsp;repeating table have&amp;nbsp;3 columns: ID, Skill,&amp;nbsp;Proficiency&lt;/p&gt;&lt;p&gt;I want users to update only there Proficiency for each Skill in the repeating table itself.&lt;/p&gt;&lt;p&gt;Currently&amp;nbsp;I have a CAML query to update it one by one.&lt;/p&gt;&lt;p&gt;CAML Structure:&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;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;lt;Field Name=&amp;quot;Proficiency&amp;quot; copyProficiency =&amp;quot;&amp;quot; &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;quot;ID&amp;quot; copyID =&amp;quot;&amp;quot; &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;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As per your logic, I have created a &amp;nbsp;&amp;quot;QItem&amp;quot; field in my main datasource. And set it as &amp;quot;0&amp;quot;.&lt;/p&gt;&lt;p&gt;Kindly let me know the exact rule which I should write on my &amp;quot;Update&amp;quot; button.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119665.aspx</link><pubDate>Mon, 27 Aug 2018 15:53:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119665</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119665.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119665</wfw:commentRss><description>Is your repeating table bound to your secondary data source? I&amp;#39;m guessing it is... if so, you can repurpose a field you aren&amp;#39;t going to need for your CAML mapping, like the version field or something - and put your submit rule on that repeating field. Then for your logic, set the field to something it would never be. In the case of version, it could be text like &amp;quot;go&amp;quot; or the number 0. As long as your button is NOT inside a control bound to the repeating data source, you can add a rule to set your helper field (version, in this case) to your desired value and all instances of it will be set. Then the rule will run for each instance of the repeating element. Hope that makes sense - let me know if you need more info.</description></item><item><title>CAML Technique - To Update SharePoint List - Looping Issue</title><link>https://www.infopathdev.com:443/forums/thread/119661.aspx</link><pubDate>Thu, 23 Aug 2018 18:21:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119661</guid><dc:creator>SG123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119661.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=119661</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello, I&amp;#39;m using a Document Library InfoPath. Here, I&amp;#39;m querying one of the receive data connection SharePoint list. I&amp;#39;m using a repeating table to show my SP list in InfoPath.&lt;/p&gt;&lt;p&gt;I need to update the fields in the repeating table. I&amp;#39;ve created a CAML Update query to perform the task. CAML template has a copy attribute field and mapped to repeating&amp;nbsp;field of the SP list.&lt;/p&gt;&lt;p&gt;I have created a Button, and on button click event, I&amp;#39;m mapping (Set fields value) each CAML copy attribute to list fields. Then submit the data connection using UpdateListItems web service.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Issue is&amp;nbsp;when I click the button.&amp;nbsp;Web service update only the first value of the SharePoint list.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m not able to&amp;nbsp;create a Loop, so that&amp;nbsp;&amp;nbsp;Web service update&amp;nbsp; is repeated for all items in the SP list repeating table.&lt;/p&gt;&lt;p&gt;Any help on this will be helpful. Thanks&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>