<?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: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55547.aspx</link><pubDate>Wed, 02 Jun 2010 19:53:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55547</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55547.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55547</wfw:commentRss><description>&lt;p&gt;The CopyTable command requires that the destination node is the only child of its parent node. In general, this is the optimal way to structure your XML, so it encourages best practices.&lt;/p&gt;
&lt;p&gt;We need to update our documentation to highlight this, however. Thanks for bringing it to our attention!&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55414.aspx</link><pubDate>Fri, 28 May 2010 13:07:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55414</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55414.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55414</wfw:commentRss><description>&lt;p&gt;That worked!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Now can you explain why?&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55398.aspx</link><pubDate>Thu, 27 May 2010 21:04:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55398</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55398.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55398</wfw:commentRss><description>&lt;p&gt;Hi Marzipan,&lt;/p&gt;&lt;p&gt;Please create another group to hold your Task repeating group, something similar to this:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/photos/blog_pictures/picture55397.aspx" target="_blank"&gt;&lt;img src="http://www.infopathdev.com/photos/blog_pictures/images/55397/238x223.aspx" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So under the Tasks root node, add a new group (in this case I called it &amp;#39;TaskGroup) and then 
move your Task repeating group inside it. Your command should then be:&lt;/p&gt;&lt;p&gt;&lt;b&gt;CopyTable /dsnamesrc=GetListItemsStr /tablesrc=/dfs:myFields/dfs:dataFields/ns2:GetListItemsStrResponse/ns2:GetListItemsStrResult/Rows /rowsrc=row &lt;span&gt;/tabledest=/my:Tasks/my:TaskGroup&lt;/span&gt; /rowdest=my:Task /empty=yes&lt;/b&gt;&lt;/p&gt;&lt;p&gt;That should hopefully resolve the issue. Please let us know otherwise.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55394.aspx</link><pubDate>Thu, 27 May 2010 19:45:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55394</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55394.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55394</wfw:commentRss><description>&lt;p&gt;I added the &amp;quot;yes&amp;quot; value, new error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;An error has occurred executing the rule. Failed to add copied rows to destination table.&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55392.aspx</link><pubDate>Thu, 27 May 2010 18:55:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55392</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55392.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55392</wfw:commentRss><description>&lt;p&gt;Can you give /empty a value? (/empty=yes) Though the error points elsewhere, I want to rule that out as the issue.&lt;/p&gt;&lt;p&gt;Thanks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55388.aspx</link><pubDate>Thu, 27 May 2010 18:09:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55388</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55388.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55388</wfw:commentRss><description>&lt;p&gt;Since the source is elements, I changed the destination back to elements.&lt;/p&gt;
&lt;p&gt;Still getting: An error has occurred executing the rule. Failed to select the destination row to copy to.&lt;/p&gt;
&lt;p&gt;CopyTable /dsnamesrc=GetListItemsStr /tablesrc=/dfs:myFields/dfs:dataFields/ns2:GetListItemsStrResponse/ns2:GetListItemsStrResult/Rows /rowsrc=row /tabledest=/my:Tasks /rowdest=my:Task /empty&lt;/p&gt;
&lt;p&gt;I attached my form.&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55387.aspx</link><pubDate>Thu, 27 May 2010 17:43:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55387</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55387.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55387</wfw:commentRss><description>&lt;p&gt;The destination needs to match the source. So if the source is attributes, the destination must be attributes as well.&lt;/p&gt;&lt;p&gt;/tabledest= is the container group and /rowdest= needs to point to the repeating node.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55386.aspx</link><pubDate>Thu, 27 May 2010 17:40:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55386</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55386.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55386</wfw:commentRss><description>&lt;p&gt;looking back over &amp;quot;Copy SharePoint List Data to Main Data Source&amp;quot; it looks like I need to create the Main fields as attributes.&amp;nbsp; I&amp;#39;m trying that now.&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55382.aspx</link><pubDate>Thu, 27 May 2010 17:07:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55382</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55382.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55382</wfw:commentRss><description>&lt;p&gt;Now it looks like the destination syntax is incorrect.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;An error has occurred executing the rule. Failed to select the destination row to copy to.&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55377.aspx</link><pubDate>Thu, 27 May 2010 16:10:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55377</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55377.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55377</wfw:commentRss><description>&lt;p&gt;This&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;b&gt;/rowsrc=dfs:row&lt;/b&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Should probably be&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;b&gt;/rowsrc=row &lt;/b&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Can you try that out? Thanks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55374.aspx</link><pubDate>Thu, 27 May 2010 15:58:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55374</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55374.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55374</wfw:commentRss><description>&lt;p&gt;Still getting error: An error has occurred executing the rule. Failed to select the source row to copy from.&lt;/p&gt;
&lt;p&gt;CopyTable /dsnamesrc=GetListItemsStr /tablesrc=/dfs:myFields/dfs:dataFields/ns2:GetListItemsStrResponse/ns2:GetListItemsStrResult/Rows /rowsrc=dfs:row /tabledest=/my:Tasks /rowdest=my:Task /empty&lt;/p&gt;</description></item><item><title>Re: Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55364.aspx</link><pubDate>Thu, 27 May 2010 14:06:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55364</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55364.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55364</wfw:commentRss><description>&lt;p&gt;Hi Marzipan,&lt;/p&gt;&lt;p&gt;I believe that the /tablesrc parameter might be incorrect. I&amp;#39;m thinking it should be &lt;i&gt;&lt;b&gt;/dfs:myFields/dfs:dataFields/ns2:GetListItemsStrResponse/ns2:GetListItemsStrResult/Rows&lt;/b&gt;&lt;/i&gt; (which is the container) and then /rowsrc is the repeating field &lt;i&gt;&lt;b&gt;row&lt;/b&gt;&lt;/i&gt;.&lt;/p&gt;&lt;p&gt;As you create your command, you can display the qRules error node in the view, and this will provide you with information about the correct syntax, invalid parameters, errors encountered, etc. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Copy Table syntax</title><link>https://www.infopathdev.com:443/forums/thread/55362.aspx</link><pubDate>Thu, 27 May 2010 13:43:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55362</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55362.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=55362</wfw:commentRss><description>&lt;p&gt;Here is the xpath for my source (sp list) and&amp;nbsp;destination:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Source xpath:&amp;nbsp;&amp;nbsp;&amp;nbsp; /dfs:myFields/dfs:dataFields/ns2:GetListItemsStrResponse/ns2:GetListItemsStrResult/Rows/row&lt;/p&gt;
&lt;p&gt;Destination&amp;nbsp;xpath:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /my:Tasks/my:Task&lt;/p&gt;
&lt;p&gt;Is this the proper syntax for Copy Table?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CopyTable /dsnamesrc=GetListItemsStr /tablesrc=/dfs:myFields/dfs:dataFields /rowsrc=dfs:Rows /tabledest=/my:Tasks /rowdest=my:Task /empty&lt;/p&gt;</description></item></channel></rss>