<?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: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79177.aspx</link><pubDate>Fri, 01 Jun 2012 18:22:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79177</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79177.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79177</wfw:commentRss><description>&lt;p&gt;Oh wonderful! Great job!&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79176.aspx</link><pubDate>Fri, 01 Jun 2012 18:21:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79176</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79176</wfw:commentRss><description>&lt;p&gt;Thanks, got it, using the following&amp;nbsp; where SynopisID is on the main form and is the lookup column in the SP List&lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;GetMetrics&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Metrics[@SynopsisID = xdXDocument:get-DOM()/my:myFields/my:synopsisID][number(xdXDocument:GetDOM(&amp;quot;ViewOptions&amp;quot;)/Util/fields/Count)]/@ID&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79173.aspx</link><pubDate>Fri, 01 Jun 2012 18:13:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79173</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79173</wfw:commentRss><description>&lt;p&gt;I must not be being very clear.&lt;/p&gt;
&lt;p&gt;Yes, this can be done. You&amp;#39;ll need to use a field for a counter - I think the original document I directed you to does that? &lt;/p&gt;
&lt;p&gt;You&amp;#39;ll need to use multiple filters, like I mentioned in another earlier post - like &lt;em&gt;group/repeatingGroup[ID = 1][1]/field&lt;/em&gt; &lt;/p&gt;
&lt;p&gt;So, the filter for the correct ID, and then your counter.&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79172.aspx</link><pubDate>Fri, 01 Jun 2012 18:03:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79172</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79172</wfw:commentRss><description>&lt;p&gt;ok, so back to my earlier problem, how to apply a filter and step through the filtered results for each section in the repeating section. can this even be done?&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79170.aspx</link><pubDate>Fri, 01 Jun 2012 17:57:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79170</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79170</wfw:commentRss><description>&lt;p&gt;Nope - it is because your form is IP 2007 - it would need to be 2010 to have the query fields.&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79169.aspx</link><pubDate>Fri, 01 Jun 2012 17:52:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79169</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79169</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using IP 2010, but my form is set to IP 2007 Form Filler template because that is what my users have. When I look at the GetMetrics (Secondary) connnection, i just see a dataFields node under the myFields node, Did i miss something when i created this connection?&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79168.aspx</link><pubDate>Fri, 01 Jun 2012 17:47:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79168</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79168</wfw:commentRss><description>&lt;p&gt;If you look at the fields task pane for your SharePoint List data connection - do you see the Query fields? Are you using IP 2010 as well? You can use those for equivalency queries - set the SynopsisID query field to the form&amp;#39;s SynopsisID and then execute the query to return only the rows that match.&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79166.aspx</link><pubDate>Fri, 01 Jun 2012 17:43:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79166</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79166.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79166</wfw:commentRss><description>Yes, i&amp;#39;m using SP 2010, what do you mean&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;can you use the query fields to get back just the data you need&lt;/div&gt;&lt;/BLOCKQUOTE&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79165.aspx</link><pubDate>Fri, 01 Jun 2012 17:39:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79165</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79165.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79165</wfw:commentRss><description>&lt;p&gt;Are you using SharePoint 2010? If so, can you use the query fields to get back just the data you need?&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll still need to use some kind of counter to loop through the items - even if you are filtering on the SynopsisID - since the XPath you are using will only ever get the ID of the first Metrics node from your Metrics list.&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79164.aspx</link><pubDate>Fri, 01 Jun 2012 17:33:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79164</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79164.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79164</wfw:commentRss><description>&lt;p&gt;My secondary data is coming from a SP list via GetMetrics. &amp;nbsp;this queries the Metrics list that has a lookup column from the Synopsis list.&lt;/p&gt;&lt;p&gt;in the Set ID rule of the repeating section, I&amp;#39;m trying xdXDocument:GetDOM(&amp;quot;GetMetrics&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Metrics[@SynopsisID = xdXDocument:get-DOM()/my:myFields/my:synopsisID]/@ID which is getting me closer, but now i getting same data in each of the repeating sections. The SynopsisID is the value from the main form that i am using to filter the items &lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79159.aspx</link><pubDate>Fri, 01 Jun 2012 17:26:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79159</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79159.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79159</wfw:commentRss><description>&lt;p&gt;I think you are right - that you need to either filter the data being returned (not sure what is providing your secondary data, so I can&amp;#39;t really speak to that) or you need to use an additional filter when you are setting the value - like &lt;em&gt;group/repeatingGroup[ID = 1][1]/field&lt;/em&gt; to get a field value from the first instance of your repeating group where the ID is equal to one... does that make sense?&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79158.aspx</link><pubDate>Fri, 01 Jun 2012 17:12:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79158</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79158</wfw:commentRss><description>&lt;p&gt;In the Copy Sharepoint List Values to InfoPath Repeating section fields document, you are getting ALL of the people in the contacts list. In my case, I am populating a repeating section that is effectively a subform so i only want to get a subset of the items in my SP List. I have 2 secondary data connections&amp;nbsp;to&amp;nbsp;SP lists, that are in a 1 to many hierarchy&lt;/p&gt;&lt;p&gt;I added a filter (using an Id value from main form) to the Count rule which is returning the correct number of items from my list (which can vary from 1 to 5 or 6). When i do the insert, i am getting the first items in my list&amp;nbsp;instead of the specific items that i need.The Insert Row command seems to be creating the empty rows that are then populated by the Set values statents for each field, I think that i need to add&amp;nbsp;an additional filter to the set values statements in the repeating section OR when the secondary connection is run&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79156.aspx</link><pubDate>Fri, 01 Jun 2012 16:32:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79156</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79156.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79156</wfw:commentRss><description>&lt;p&gt;Can you help me understand what this means:&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;dlgross:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I am able to insert the correct the number of items in the repeating section, but they are the wrong items. &lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Aren&amp;#39;t you just inserting 3 rows? Is the problem when you try to populate the data in the rows you are inserting?&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79155.aspx</link><pubDate>Fri, 01 Jun 2012 16:27:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79155</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79155</wfw:commentRss><description>&lt;p&gt;THANK YOU, i read the documentation, but since it was optional, i did not realize that it was needed in my scenario. It might help others to expand on this topic in the documentation.&lt;/p&gt;&lt;p&gt;I am able to insert the correct the number of items in the repeating section, but they are the wrong items. I need to apply a filter to the, i think to my Insert row rule, but i&amp;#39;m not sure how do this. Could you please point me to an example?&lt;/p&gt;&lt;p&gt;Thanks &lt;/p&gt;&lt;p&gt;Dean&lt;/p&gt;</description></item><item><title>Re: Error: Failed to insert child node</title><link>https://www.infopathdev.com:443/forums/thread/79152.aspx</link><pubDate>Fri, 01 Jun 2012 15:44:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79152</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=79152</wfw:commentRss><description>&lt;p&gt;Hi there - looks like you need to also include the /before param.&lt;/p&gt;
&lt;p&gt;Based on your schema screenshot, I&amp;#39;d think you&amp;#39;d use:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;concat(&amp;quot;Insert /parent=/my:myFields /child=my:Metrics /before=my:SelfAssessment /count=&amp;quot;, xdXDocument:GetDOM(&amp;quot;ViewOptions&amp;quot;)/Util/fields/Count)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Can you give that a try?&lt;/p&gt;</description></item></channel></rss>