<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90655.aspx</link><pubDate>Wed, 12 Jun 2013 23:58:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90655</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90655.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90655</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Perfect, glad you are up -n- running. :)&lt;/p&gt;</description></item><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90654.aspx</link><pubDate>Wed, 12 Jun 2013 23:56:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90654</guid><dc:creator>MrWilde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90654.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90654</wfw:commentRss><description>&lt;p&gt; Just wanted to confirm that works great, thanks again&lt;/p&gt;</description></item><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90652.aspx</link><pubDate>Wed, 12 Jun 2013 23:45:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90652</guid><dc:creator>MrWilde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90652.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90652</wfw:commentRss><description>&lt;p&gt;WOW great minds and all that jazz&lt;/p&gt;

&lt;p&gt;thanks Hillary&lt;/p&gt;</description></item><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90651.aspx</link><pubDate>Wed, 12 Jun 2013 23:44:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90651</guid><dc:creator>MrWilde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90651.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90651</wfw:commentRss><description>&lt;p&gt;
Completed some testing and found the issue. there is a subtotal in the group that preventing from running.
&lt;/p&gt;

&lt;p&gt;
So now need to figure out how to have a subtotal for each of the nested groups as well as the Total for all the expense
&lt;/p&gt;

&lt;i&gt;&lt;/p&gt;</description></item><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90650.aspx</link><pubDate>Wed, 12 Jun 2013 23:38:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90650</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90650.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90650</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Oh, sorry, your repeating group needs to be the bottom most in your parent group - see attached screenshot. I circled the nodes I moved - then both commands work as anticipated.&lt;/p&gt;</description></item><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90648.aspx</link><pubDate>Wed, 12 Jun 2013 23:18:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90648</guid><dc:creator>MrWilde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90648.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90648</wfw:commentRss><description>&lt;p&gt;I tried the parameter details you gave but still getting error&lt;/p&gt;

&lt;p&gt;
Failed to insert the child node.
 Extended Details: Qdabra.Tools.RulesLibrary.RulesLibraryException: Failed to insert the child node.
   at Qdabra.Tools.RulesLibrary.Commands.PerformInsert(String child, String posn, XPathNavigator parentNode, XPathNavigator childNode, XPathNavigator beforeNode, Int32 position, Int32 insertCount)
   at Qdabra.Tools.RulesLibrary.Commands.PerformInsertOuter(String child, String before, String posn, String count, XPathNavigator parentNode, XPathNavigator childNode)
   at Qdabra.Tools.RulesLibrary.Commands.Insert()
   at Qdabra.Tools.RulesLibrary.Commands.RunCommand(String commandName)
   at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()
&lt;/p&gt;

not sure if I am in the right place with the button?

here is a link to the xsn if you have time to have a quick look that would be so helpful.

&lt;a href="https://www.dropbox.com/s/blyvleds4ipimje/MonthlyCC.xsn" title="MonthlyXSN"&gt;MonthlyXSN&lt;/a&gt;</description></item><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90640.aspx</link><pubDate>Wed, 12 Jun 2013 22:01:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90640</guid><dc:creator>MrWilde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90640</wfw:commentRss><description>excellent thanks Hillary.  I wasn&amp;#39;t sure of the correct syntax I haven&amp;#39;t been able to find any good resources on advanced InfoPath dev, except of course this site.</description></item><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90620.aspx</link><pubDate>Wed, 12 Jun 2013 14:40:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90620</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90620</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I usually use a count of preceding sibling + 1 for this - it really depends on things like where your rule is, what your desired outcome is, etc, but my general approach is like this:&lt;/p&gt;&lt;p&gt;concat(&amp;quot;Insert /parent=/my:myFields/my:CCProjectFields/my:CCHeaders[&amp;quot;, count(preceding-sibling::my:CCHeaders) + 1, &amp;quot;]/my:CCDetails /xpathsrc=/my:myFields/my:CCProjectFields/my:CCHeaders/my:CCDetails/my:CCDetail&amp;quot;)&lt;/p&gt;</description></item><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90619.aspx</link><pubDate>Wed, 12 Jun 2013 13:33:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90619</guid><dc:creator>MrWilde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90619.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90619</wfw:commentRss><description>Ok so how do you establish witch parent gets the row?

There will be multiple parents and multiple children for each parent.  Only First Parent should receive the command so don&amp;#39;t need that. Just not sure of the syntax for the /parent parameter</description></item><item><title>Re: Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90617.aspx</link><pubDate>Wed, 12 Jun 2013 13:06:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90617</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90617.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90617</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;Yes, CCHeaders is repeating, so we&amp;#39;d need to establish which parent&amp;nbsp;row receives the Insert.&lt;/p&gt;&lt;p&gt;e.g.&lt;/p&gt;&lt;p&gt;&lt;em&gt;/parent=/my:myFields/my:CCProjectFields/my:CCHeaders[1]/my:CCDetails&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;/parent=/my:myFields/my:CCProjectFields/my:CCHeaders[2]/my:CCDetails&lt;/em&gt;&lt;/p&gt;&lt;p&gt;I wonder if the &lt;strong&gt;firstparentonly&lt;/strong&gt; parameter is needed in your scenario.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;When the form has a repeating group (child) within a repeating group (parent), the schema may have multiple parents. Executing the Insert command with /firstparentonly set to true (or not declared) means that only the first parent will receive the action specified by the Insert command. If /firstparentonly is set to false, then EVERY parent node will receive the action specified by the Insert command.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Insert node within nested repeating node</title><link>https://www.infopathdev.com:443/forums/thread/90607.aspx</link><pubDate>Tue, 11 Jun 2013 23:51:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90607</guid><dc:creator>MrWilde</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=90607</wfw:commentRss><description>&lt;p&gt;I have been looking through the posts for more info regarding this but still missing some bits.&lt;/p&gt;
&lt;p&gt;Fields layout attached&lt;/p&gt;
&lt;p&gt;I have tried &lt;/p&gt;
&lt;p&gt;Insert /parent=/my:myFields/my:CCProjectFields/my:CCHeaders/my:CCDetails /child=my:CCDetail&lt;/p&gt;
&lt;p&gt;and also &lt;/p&gt;
&lt;p&gt;Insert /parent=/my:myFields/my:CCProjectFields/my:CCHeaders/my:CCDetails /xpathsrc=/my:myFields/my:CCProjectFields/my:CCHeaders/my:CCDetails/my:CCDetail&lt;/p&gt;
&lt;p&gt;is there something need in the parent parameter to point to the correct parrent as it is repeating section?&lt;/p&gt;</description></item></channel></rss>