<?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: Delete from SharePoint list?</title><link>https://www.infopathdev.com:443/forums/thread/68961.aspx</link><pubDate>Wed, 03 Aug 2011 18:16:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68961</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68961.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=68961</wfw:commentRss><description>&lt;p&gt;OK, here&amp;#39;s an interesting question -&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m currently filtering my submit on [my:Total != 0].&amp;nbsp; With RefreshSharePointListItems, can I also filter on the qRulesLastModified field as well?&amp;nbsp; So that only submit the item if [Total !=0] AND qRulesLastModified result field does not contain ID, or does not exist or something.&amp;nbsp; That way, only new items that = 0 in the total field are not submitted, but items that had previously been modified ARE submitted, even if they contain 0?&amp;nbsp; Does that make sense?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I really want to avoid deleting items from my XML.&lt;/p&gt;</description></item><item><title>Re: Delete from SharePoint list?</title><link>https://www.infopathdev.com:443/forums/thread/68888.aspx</link><pubDate>Mon, 01 Aug 2011 23:47:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68888</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=68888</wfw:commentRss><description>&lt;p&gt;10-4.&lt;/p&gt;</description></item><item><title>Re: Delete from SharePoint list?</title><link>https://www.infopathdev.com:443/forums/thread/68885.aspx</link><pubDate>Mon, 01 Aug 2011 23:38:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68885</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68885.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=68885</wfw:commentRss><description>&lt;p&gt;Oh, sorry, I forgot to answer your initial question:&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;shniggens:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;So I assume you can&amp;#39;t run the Delete command to directly delete an item from a SP list?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;The Delelete command deletes a node in a primary or secondary data connection in your form. It does not delete items from the source of your secondary data.&lt;/p&gt;</description></item><item><title>Re: Delete from SharePoint list?</title><link>https://www.infopathdev.com:443/forums/thread/68884.aspx</link><pubDate>Mon, 01 Aug 2011 23:36:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68884</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68884.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=68884</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s what I&amp;#39;d do.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d submit all items to the list. I&amp;#39;d use the Refresh command to keep items and list in synch - give limited permissions to the list if you think you&amp;#39;ll have trouble there. &lt;/p&gt;
&lt;p&gt;I&amp;#39;d think through my logic a bit - can you define a time when the user should no longer be able to make changes to the order? To me - finalizing sounds like it means &amp;quot;Order is complete&amp;quot; - but it seems like that isn&amp;#39;t the case here. I guess I&amp;#39;m thinking - give the user a checkbox or something to indicate that they are absolutely done making changes.... you should be able to then use the Delete command to remove any items that aren&amp;#39;t going to be ordered. Since the items will have been submitted at one point, they&amp;#39;ll have an ID from the SharePoint list. If you use the refresh commands, items deleted from your XML will get deleted from your list....&lt;/p&gt;
&lt;p&gt;So, that way, when the user is really really done making changes, the 0 qty items just get removed from the form and list.&lt;/p&gt;</description></item><item><title>Re: Delete from SharePoint list?</title><link>https://www.infopathdev.com:443/forums/thread/68861.aspx</link><pubDate>Mon, 01 Aug 2011 16:37:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68861</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68861.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=68861</wfw:commentRss><description>&lt;p&gt;So I assume you can&amp;#39;t run the Delete command to directly delete an item from a SP list?&lt;/p&gt;
&lt;p&gt;I will look into the Refresh command.&amp;nbsp; I haven&amp;#39;t used that one yet.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I originally filtered my SubmitToSharePoint command to not submit my &amp;quot;order&amp;quot; field&amp;nbsp;if it&amp;nbsp;contained 0&amp;#39;s.&amp;nbsp; I wasn&amp;#39;t thinking that later on, users could zero out those values if they need to.&amp;nbsp; Well, then that item wouldn&amp;#39;t get updated in the list.&amp;nbsp; This is basically an order form, where users go down the list, and enter the number of items they need ordered.&amp;nbsp; It&amp;#39;s a large table that contains all the items that can be ordered.&amp;nbsp; I was trying to reduce the amount of items that get submitted to the back-end list.&amp;nbsp; The back end list really shouldn&amp;#39;t display any items with an order amount of 0.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;After the users submit it, a reviewer reviews it, then &amp;quot;Finalizes&amp;quot; it.&amp;nbsp; This submits the items to the backend list, and opens the form back up the user if they need to make any changes (which could include changing previously ordered items to &amp;quot;0&amp;quot;).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;How would you approach this situation?&lt;/p&gt;</description></item><item><title>Re: Delete from SharePoint list?</title><link>https://www.infopathdev.com:443/forums/thread/68859.aspx</link><pubDate>Mon, 01 Aug 2011 16:01:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68859</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68859.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=68859</wfw:commentRss><description>Yes. Have you read about the RefreshSharePointListItems command? For info, read this:
http://www.infopathdev.com/files/folders/qrules/entry61475.aspx</description></item><item><title>Delete from SharePoint list?</title><link>https://www.infopathdev.com:443/forums/thread/68855.aspx</link><pubDate>Mon, 01 Aug 2011 00:49:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68855</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68855.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=68855</wfw:commentRss><description>&lt;p&gt;In the qRules guide it indicates that you can add a dsname to delete from secondary data source.&amp;nbsp; Does this mean we can delete items in a SharePoint list?&lt;/p&gt;</description></item></channel></rss>