<?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>Programmatically adding rows to repeating sections</title><link>https://www.infopathdev.com:443/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx</link><description>Users on the InfoPathDev forum frequently ask how they can add rows to repeating groups from code. There is a relatively simple way to do this, but it has a few limitations. I may write another blog post later that describes a more general approach that</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>re: Programmatically adding rows to repeating sections</title><link>https://www.infopathdev.com:443/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx#78983</link><pubDate>Mon, 28 May 2012 20:10:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78983</guid><dc:creator>SPowell</dc:creator><description>&lt;p&gt;I LOVE YOU.&lt;/p&gt;
&lt;p&gt;THANK. YOU.&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=78983" width="1" height="1"&gt;</description></item><item><title>re: Programmatically adding rows to repeating sections</title><link>https://www.infopathdev.com:443/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx#48347</link><pubDate>Thu, 29 Oct 2009 12:26:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48347</guid><dc:creator>NashParrot</dc:creator><description>&lt;p&gt;I'm using this strategy for repeating sections, very succesfully. &amp;nbsp;It is based on a multi-select list. &amp;nbsp;I need to assign a value contained in that section (row) but don't know how to select the newly created section in order to get to the field. &amp;nbsp;Any ideas?&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=48347" width="1" height="1"&gt;</description></item><item><title>re: Automatically adding rows to repeating sections</title><link>https://www.infopathdev.com:443/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx#41533</link><pubDate>Mon, 11 May 2009 13:22:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41533</guid><dc:creator>tfiema</dc:creator><description>&lt;p&gt;To explain the non-browser form issue: The ExecuteAction method is only available in the client side Microsoft.Office.Infopath.dll (the 59KB one).&lt;/p&gt;
&lt;p&gt;The server side one (47KB), the one referenced by forms services doesn't have this method. Meaning browser based forms cannot use this code. For browser based forms you'll need to clone a row, or do an appendChild. Either way thise seem to work only if there is already a blank row in the table (of course you need one to clone).&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=41533" width="1" height="1"&gt;</description></item><item><title>re: Automatically adding rows to repeating sections</title><link>https://www.infopathdev.com:443/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx#41446</link><pubDate>Fri, 08 May 2009 18:39:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41446</guid><dc:creator>tfiema</dc:creator><description>&lt;p&gt;OK &lt;/p&gt;
&lt;p&gt;But how would you insert a prepopulated row into a repeating table using this?&lt;/p&gt;
&lt;p&gt;in other words , how would you insert a row with values instead of blanks?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=41446" width="1" height="1"&gt;</description></item><item><title>re: Automatically adding rows to repeating sections</title><link>https://www.infopathdev.com:443/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx#41187</link><pubDate>Thu, 30 Apr 2009 19:55:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41187</guid><dc:creator>NateHarris</dc:creator><description>&lt;p&gt;OK, I am not *that* new to Infopath, but I am not a coder either. &amp;nbsp;I have a form that I want to query a list, and add a line for each entry in the list I query. &amp;nbsp;Basically it's a list of Names, and I want to add a new Repeating Item for each name in the list. &amp;nbsp;But I guess I am just too thick and cannot figure out how to use qRules to do this. &amp;nbsp;How do i call the Command and set the value to perform this ExecuteAction function? &amp;nbsp;I thought I would just use a Button to perform the task, with the following code added under Rules/Set a Fields Value, then choose Command from the 2ndary data source, with a value of &amp;quot;ExecuteAction /action=XCollectionInsert /xmltoedit=group4_1&amp;quot;. &amp;nbsp;This doesn't work, so any pointers would be VERY much appreciated.&lt;/p&gt;
&lt;p&gt;nate@nateharris.com&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=41187" width="1" height="1"&gt;</description></item><item><title>re: Automatically adding rows to repeating sections</title><link>https://www.infopathdev.com:443/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx#40079</link><pubDate>Fri, 27 Mar 2009 11:10:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40079</guid><dc:creator>duncan.hope</dc:creator><description>&lt;p&gt;Very handy, thanks.&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=40079" width="1" height="1"&gt;</description></item></channel></rss>