<?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: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/75011.aspx</link><pubDate>Mon, 06 Feb 2012 20:07:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75011</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75011</wfw:commentRss><description>&lt;p&gt;got it.&amp;nbsp; Thanks&lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/75009.aspx</link><pubDate>Mon, 06 Feb 2012 19:03:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75009</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75009.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75009</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s what I did - I added another field to your Units data source called &amp;quot;Saved&amp;quot; - and moved the save logic to it. Clicking the button then sets Saved to a value of 1 - which triggers the logic. I think I left the rule setting the Unit Count on there - you won&amp;#39;t need that any more.&lt;/p&gt;
&lt;p&gt;So, this means you&amp;#39;ll need a helper field of some kind on your secondary data source - if it is a SQL data source, you can use a view to include a blank column. Or if there is another field that you don&amp;#39;t need the data for, you can repurpose it - the data remains unchanged at the source, so no need to worry about changing it.&lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/74974.aspx</link><pubDate>Mon, 06 Feb 2012 13:04:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74974</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74974.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=74974</wfw:commentRss><description>&lt;p&gt;I have tried to think thru your suggestion and am not getting it.&amp;nbsp; I created a sample form which I have uploaded.&amp;nbsp; Can you demo this using this form?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/73401.aspx</link><pubDate>Mon, 02 Jan 2012 17:51:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73401</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73401.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73401</wfw:commentRss><description>&lt;p&gt;What I&amp;#39;m wondering is if it would be possible to add another field to your repeating group - called &amp;quot;Save&amp;quot; or something, set to False by default. The rule that would save the unit as a form could be set on that field - when True, the rules execute. The button then, sets that field to True - since the button is outside of the repeating group, this would set every instance of Save to true - then each instance would execute its own rule to save with. I &lt;em&gt;think&lt;/em&gt; this would work around the maximum actions issue. &lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/73397.aspx</link><pubDate>Mon, 02 Jan 2012 13:24:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73397</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73397.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73397</wfw:commentRss><description>&lt;p&gt;The number of units would&amp;nbsp;vary.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have set the form up so it copies 10 units each tim the button is selected.&amp;nbsp; However, I don&amp;#39;t think this is a good long term solution.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/73314.aspx</link><pubDate>Wed, 28 Dec 2011 22:17:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73314</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73314</wfw:commentRss><description>&lt;p&gt;Is 25 a set number? Or will it vary? I&amp;#39;m wondering if there may be a way for you to use two counters, one for half the submits, another for the other half....&lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/73208.aspx</link><pubDate>Thu, 22 Dec 2011 18:35:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73208</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=73208</wfw:commentRss><description>&lt;p&gt;I have this working except I have 25 units and I get the following error when the interation gets to 16:&lt;/p&gt;
&lt;p&gt;An error occurred in the form&amp;#39;s rules or code. The number of rule actions or the number of calls to the OnAfterChange event for a single update in the data exceeded the maximum limit.&lt;/p&gt;
&lt;p&gt;The rules or code may be causing an infinite loop. To prevent this, ensure that the rule action or event handler does not update the data which causes the same rule action or event handler to execute.&lt;/p&gt;
&lt;p&gt;Any way to allow for a greater number?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/72866.aspx</link><pubDate>Tue, 13 Dec 2011 15:43:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72866</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72866.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72866</wfw:commentRss><description>Looks like qRules 3.4, which will be released soon, has this feature - a new SaveToPath command.</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/72818.aspx</link><pubDate>Fri, 09 Dec 2011 23:46:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72818</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72818.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72818</wfw:commentRss><description>Oh - yes, I&amp;#39;d made some assumptions, that you would be submitting your forms. There is, to my knowledge, no way to save via a rule. We&amp;#39;ll have to consider that for a future qRules add.</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/72811.aspx</link><pubDate>Fri, 09 Dec 2011 18:58:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72811</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72811.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72811</wfw:commentRss><description>&lt;p&gt;&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; 
&lt;p&gt;Oh - Interesting.&lt;/p&gt;
&lt;p&gt;So, I don&amp;#39;t even think you&amp;#39;d necessarily need qRules for this.&lt;/p&gt;
&lt;p&gt;But what you do need is to know how many rows there are in your secondary data source, and a way to loop through tehm.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d have a field (probably in an XML secondary data source) that I&amp;#39;d use for my counter. The rules would be something like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set the counter to the count of the rows from the 2DS (secondary data source).&lt;/li&gt;
&lt;li&gt;Copy values from the row that matches the counter into the main data source (i.e. Units/RepeatingRow[number(Util/Counter)]/UnitName)&lt;/li&gt;
&lt;li&gt;Set a field&amp;#39;s value that you will be using in your submit data connection to the correct name (i.e. concat(&amp;quot;PurchaseForm_unit&amp;quot;, Util/Counter)&lt;/li&gt;
&lt;li&gt;Submit&lt;/li&gt;
&lt;li&gt;Set the counter to counter - 1&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;So, let&amp;#39;s see - the logic from steps 2-5 would need to be on the counter field. You&amp;#39;d want a condition of Counter &amp;gt; 0.&lt;/p&gt;
&lt;p&gt;And then the action to set the counter could be on whatever makes sense in your form.&lt;/p&gt;
&lt;p&gt;Let me know if you need more info or if I&amp;#39;ve been unclear.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;..............&lt;/p&gt;
&lt;p&gt;Getting back to this, I am trying to save to a file location.&amp;nbsp; I know&amp;nbsp;I can use setsave in qrules to set the location, how can I save in a rule?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/72560.aspx</link><pubDate>Thu, 01 Dec 2011 17:35:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72560</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72560.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72560</wfw:commentRss><description>&lt;p&gt;Thanks, that gives me enough to get started.&lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/72558.aspx</link><pubDate>Thu, 01 Dec 2011 17:16:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72558</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72558.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72558</wfw:commentRss><description>&lt;p&gt;Oh - Interesting.&lt;/p&gt;
&lt;p&gt;So, I don&amp;#39;t even think you&amp;#39;d necessarily need qRules for this.&lt;/p&gt;
&lt;p&gt;But what you do need is to know how many rows there are in your secondary data source, and a way to loop through them.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d have a field (probably in an XML secondary data source) that I&amp;#39;d use for my counter. The rules would be something like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set the counter to the count of the rows from the 2DS (secondary data source).&lt;/li&gt;
&lt;li&gt;Copy values from the row that matches the counter into the main data source (i.e. Units/RepeatingRow[number(Util/Counter)]/UnitName)&lt;/li&gt;
&lt;li&gt;Set a field&amp;#39;s value that you will be using in your submit data connection to the correct name (i.e. concat(&amp;quot;PurchaseForm_unit&amp;quot;, Util/Counter)&lt;/li&gt;
&lt;li&gt;Submit&lt;/li&gt;
&lt;li&gt;Set the counter to counter - 1&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;So, let&amp;#39;s see - the logic from steps 2-5 would need to be on the counter field. You&amp;#39;d want a condition of Counter &amp;gt; 0.&lt;/p&gt;
&lt;p&gt;And then the action to set the counter could be on whatever makes sense in your form.&lt;/p&gt;
&lt;p&gt;Let me know if you need more info or if I&amp;#39;ve been unclear.&lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/72548.aspx</link><pubDate>Thu, 01 Dec 2011 12:40:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72548</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72548.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72548</wfw:commentRss><description>&lt;p&gt;I would have a secondary data source called unit with 15 items.&amp;nbsp; I would like to fill out the form and then save it 15 times with the unit name appended to each copy of the document.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;form1_unit1.xml, form1_unit2.xml, etc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/72530.aspx</link><pubDate>Thu, 01 Dec 2011 00:21:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72530</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72530.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72530</wfw:commentRss><description>So - I&amp;#39;m sort of confused about what you are trying to do? If you simply want to fill out the template and submit it to SharePoint, you can use a formula to create the form name - more on that here: &lt;a href="http://office.microsoft.com/en-us/infopath-help/submit-form-data-to-a-sharepoint-library-HA010107057.aspx"&gt;http://office.microsoft.com/en-us/infopath-help/submit-form-data-to-a-sharepoint-library-HA010107057.aspx&lt;/a&gt;</description></item><item><title>Re: Save multiple documents</title><link>https://www.infopathdev.com:443/forums/thread/72434.aspx</link><pubDate>Tue, 29 Nov 2011 13:30:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72434</guid><dc:creator>Marzipan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72434.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=72434</wfw:commentRss><description>&lt;p&gt;I am looking for ideas on how to accomplish #3.&amp;nbsp; I just wanted to state that I had qrules available.&lt;/p&gt;</description></item></channel></rss>