<?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: Prevent empty values from saving to a SharePoint List using qrules</title><link>https://www.infopathdev.com:443/forums/thread/96706.aspx</link><pubDate>Thu, 27 Mar 2014 14:23:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96706</guid><dc:creator>RajInfoDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96706.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96706</wfw:commentRss><description>&lt;p&gt;Unfortunately I wouldn&amp;#39;t be able to share the form with you as it contains some&amp;nbsp;confidential information.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;All rows in the&amp;nbsp;list have an item ID. I don&amp;#39;t have any problems with update or refresh of data. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am specifically having problems when a default(first) row of a repeating table is deleted on the form, but not from the associated SharePoint list, although its mapped using QRules. Deletion of second, third etc... works. Problem is only with the first default row. The record remains in the SharePoint list. Is this a bug with QRules?&lt;/p&gt;
&lt;p&gt;Yes, I have the full version of QRules. &lt;/p&gt;
&lt;p&gt;Can you help? Thanks.&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;strong&gt;Update: For anyone else who has a similar problem,&amp;nbsp;I resolved this by recreating the qrules&amp;nbsp;mappings for all the Sharepoint&amp;nbsp;lists using the&amp;nbsp;InfoPath filler. Now, deletes are going through without any problem. Mel&amp;#39;s validation solution above also&amp;nbsp;works. Thanks.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: Prevent empty values from saving to a SharePoint List using qrules</title><link>https://www.infopathdev.com:443/forums/thread/96661.aspx</link><pubDate>Wed, 26 Mar 2014 10:31:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96661</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96661.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96661</wfw:commentRss><description>&lt;p&gt;In order for qRules to know which item to update/refresh in your SharPoint list, it needs to know the list item&amp;nbsp;ID. So you&amp;#39;d want to make sure that your rows have the corresponding ShP list ID.&lt;/p&gt;&lt;p&gt;Are you using a full version of qRules (not relevant but just wanted to know)? Can you attach your form here so I can take a quick look?&lt;/p&gt;</description></item><item><title>Re: Prevent empty values from saving to a SharePoint List using qrules</title><link>https://www.infopathdev.com:443/forums/thread/96602.aspx</link><pubDate>Mon, 24 Mar 2014 12:43:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96602</guid><dc:creator>RajInfoDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96602</wfw:commentRss><description>&lt;p&gt;Thank you Mel. The second approach is exactly what I wanted.&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Update: I tried the solution from Mel above and it works. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;But, the problem is that if there is only row in the repeating table and, if its deleted &amp;amp; the form is saved, qRules doesn&amp;#39;t delete the corresponding row from the SharePoint list. If there is more than 1 row, deleting a row in the form deletes the row from the list as well.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;I have RefreshSharePointListItems rule for the form. &lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Prevent empty values from saving to a SharePoint List using qrules</title><link>https://www.infopathdev.com:443/forums/thread/96591.aspx</link><pubDate>Mon, 24 Mar 2014 03:39:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96591</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96591.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96591</wfw:commentRss><description>&lt;p&gt;Hi Raj,&lt;/p&gt;
&lt;p&gt;You can do this in two ways:&lt;/p&gt;
&lt;ol&gt;

&lt;li&gt;Before submit, delete empty rows in your second repeating table, i.e. rows whose dropdown fields&amp;nbsp;are blank. You would use the qRules Delete command - here&amp;#39;s an example of a command syntax: &lt;strong&gt;Delete /xpath=/my:myFields/my:Group2/my:RepeatingGroup2[my:Dropdown = &amp;quot;&amp;quot;]&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;Add a conditional expression in your mapping - you&amp;#39;d use the opposite of&amp;nbsp;the condition above, i.e. map only rows whose dropdown fields are not blank,&amp;nbsp;e.g. &lt;strong&gt;/my:myFields/my:Group2/my:RepeatingGroup2[my:Dropdown != &amp;quot;&amp;quot;] &lt;/strong&gt;If you&amp;#39;re using the InfoPath to SharePoint List Tool to create your mapping file, the conditional expression goes in the textbox underneath the &amp;quot;Data is from a repeating group&amp;quot; check box.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Hope that makes sense. Let me know if you need more details.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>Prevent empty values from saving to a SharePoint List using qrules</title><link>https://www.infopathdev.com:443/forums/thread/96576.aspx</link><pubDate>Fri, 21 Mar 2014 18:54:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96576</guid><dc:creator>RajInfoDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96576.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=96576</wfw:commentRss><description>&lt;p&gt;I have configured the qrules mapping for a simple InfoPath form to&amp;nbsp;2 SharePoint lists. &lt;/p&gt;
&lt;p&gt;I have 2 repeating tables on the form mapped to 2 separate SP&amp;nbsp;lists using qrules. It saves form data correctly for the first mandatory repeating table to the first list.&lt;/p&gt;
&lt;p&gt;The second repeating table is optional and has no values by default for its dropdowns. &lt;/p&gt;
&lt;p&gt;But, when I click save, qrules saves the empty dropdown selection as an empty row in the second SharePoint list. How can I prevent this from happening? &lt;/p&gt;
&lt;p&gt;The dropdown data is from&amp;nbsp;data connections so default values cannot be set. &lt;/p&gt;
&lt;p&gt;Any help is much appreciated. Thanks.&lt;/p&gt;</description></item></channel></rss>