<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: OData - Querying for data on Multiple-selection list box change event - IP2010</title><link>https://www.infopathdev.com:443/forums/thread/90166.aspx</link><pubDate>Tue, 28 May 2013 08:50:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90166</guid><dc:creator>manupm87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90166.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=90166</wfw:commentRss><description>&lt;p&gt;Amazingly,&lt;/p&gt;
&lt;p&gt;All trouble came to vanishment when &lt;strong&gt;grouping all rules into the same control&lt;/strong&gt;. Do not have I any explanation for that behavior, though, &lt;strong&gt;application works&lt;/strong&gt; fine.&lt;/p&gt;
&lt;p&gt;Thanks Jimmy for your time.&lt;/p&gt;
&lt;p&gt;See you!&lt;/p&gt;</description></item><item><title>Re: OData - Querying for data on Multiple-selection list box change event - IP2010</title><link>https://www.infopathdev.com:443/forums/thread/90163.aspx</link><pubDate>Tue, 28 May 2013 07:28:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90163</guid><dc:creator>manupm87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90163.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=90163</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;Jimmy:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;MSLBField&lt;/em&gt; is not blank&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp; 
&lt;p&gt;Confirmed -&amp;gt; As expected, that rule avoids warning message on load.&lt;/p&gt;
&lt;p&gt;Anyway, it is still being showed when retrieving data from changed REST URL. Might not be any setting on server side that disables this kind of warning checkings??&lt;/p&gt;
&lt;p&gt;Thanks in advance! ;)&lt;/p&gt;</description></item><item><title>Re: OData - Querying for data on Multiple-selection list box change event - IP2010</title><link>https://www.infopathdev.com:443/forums/thread/90155.aspx</link><pubDate>Mon, 27 May 2013 17:35:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90155</guid><dc:creator>manupm87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=90155</wfw:commentRss><description>&lt;p&gt;I think what you say about triggering rules only on items deselection works on non-web-based-forms. In my case (web-form), &amp;quot;Tab filter&amp;quot; control is always updating, both on selection and deselection. And its value is basically a concat with the MLB selected values.

&lt;/p&gt;&lt;p&gt;It is on this control change event that the next field is calculated: &amp;quot;Sanitized tab filter&amp;quot;.

&lt;/p&gt;&lt;p&gt;And once again, on changes on this last control, &amp;quot;QueryConfig URI&amp;quot; is completed.

&lt;/p&gt;&lt;p&gt;So finally, on changes in &amp;quot;QueryConfig URI&amp;quot; control, REST URL Value (OData web service) is changed, and then &amp;quot;Query for data&amp;quot; is called.

&lt;/p&gt;&lt;p&gt;The rule you tell me seems a valid solution to the warning displayed on load (I&amp;#39;ll figure it out tomorrow), but the problem is that the warning message is populated on any &amp;quot;query for data&amp;quot;, so it is shown on any selection/deselection in the first MLB.

&lt;/p&gt;&lt;p&gt;(As I explained before, if I assign the &amp;quot;Query for data&amp;quot; to the MLB change event -and not to a text field change event- it works fine, but only triggers on seleciton.)&lt;/p&gt;&lt;p&gt;

Thank you very much for your answer!! :)&lt;/p&gt;</description></item><item><title>Re: OData - Querying for data on Multiple-selection list box change event - IP2010</title><link>https://www.infopathdev.com:443/forums/thread/90152.aspx</link><pubDate>Mon, 27 May 2013 16:29:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90152</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=90152</wfw:commentRss><description>&lt;p&gt;A known quirk about MSLBs is that they only trigger rules when an item is selected, and default value formulas that depend on MSLBs only trigger rules when items are deselected. When you put these together, you can create a way to trigger rules both upon selection and deselection, but it seems that you&amp;#39;re running into a bit of an issue on load.&lt;/p&gt;&lt;p&gt;Are you able to observe what the URL is in the calculated field when it causes&amp;nbsp;the error on load? Is it perhaps a URL that would not be valid for querying the OData service? If so, perhaps you could add this condition to the Query Data rule on that field:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;MSLBField&lt;/em&gt; is not blank&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>OData - Querying for data on Multiple-selection list box change event - IP2010</title><link>https://www.infopathdev.com:443/forums/thread/90136.aspx</link><pubDate>Mon, 27 May 2013 07:52:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90136</guid><dc:creator>manupm87</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90136.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=90136</wfw:commentRss><description>&lt;p&gt;Hello everyone :) I&amp;#39;m developing a web based form in which two or more &lt;strong&gt;Multiple-selection List Boxes&lt;/strong&gt; (&amp;quot;MLB&amp;quot;) are &amp;quot;&lt;strong&gt;in cascade&lt;/strong&gt;&amp;quot;. That means that different data would be loaded on the second MLB depending on which options are marked on the first MLB.&lt;/p&gt;
&lt;p&gt;As filtering over these kind of controls causes innecesary postbacks to the Sharepoint Server, I decided to use &lt;strong&gt;OData REST web services&lt;/strong&gt; (something extremely flexible for querying for data instead of common data connections, learnt thanks to this community). &lt;/p&gt;
&lt;p&gt;The OData REST URL is &lt;strong&gt;dynamically updated&lt;/strong&gt;, on any change on the first MLB. And here comes the problem: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Changes&lt;/strong&gt; on MLB seems to be handled &lt;strong&gt;only when selecting&lt;/strong&gt; items, but &lt;strong&gt;not when deselecting&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;On the other hand, I&amp;#39;m using an extra field with the &amp;quot;&lt;strong&gt;eval&lt;/strong&gt;&amp;quot; function to retrieve items selected on first MLB and dynamically update OData REST URL (as I said before). It updates perfectly on both marking and unmarking items on MLB. But I cannot assign the &amp;quot;Query for data&amp;quot; action to the &amp;quot;change&amp;quot; event of this control because this &lt;strong&gt;warning message is shown&lt;/strong&gt; (it works though after closing the warning): &amp;quot;&lt;em&gt;XML data that is required for this form to function correctly cannot be found.&lt;/em&gt;&amp;quot; It is shown any time the form is renderized. &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;So, to summarize, querying for data works perfectly when assigned to MLB change event, -as well as if assigned to a button press or anythin &amp;quot;manually&amp;quot; changed- but unmarking items in MLB does not trigger the event. &lt;/p&gt;
&lt;p&gt;Assigning &amp;quot;query for data&amp;quot; to a change event on a control that is &amp;quot;automatically&amp;quot; changed works, but the warning message is shown, so it is not a valid approach &lt;strong&gt;unless this warning could be ommited&lt;/strong&gt;. &lt;/p&gt;
&lt;p&gt;So, any help to this matter would be really appreciated. &lt;/p&gt;
&lt;p&gt;(Obviously, I&amp;#39;m not allowed to use a button or anything that includes extra clicks to query for data. Second MLB must be updated on first MLB changes). A capture is attached just for clarifying ;) Thank you very much!!&lt;/p&gt;</description></item></channel></rss>