<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Filtering drop down values based on input parameter</title><link>https://www.infopathdev.com:443/forums/thread/53959.aspx</link><pubDate>Wed, 21 Apr 2010 10:33:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53959</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53959.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53959</wfw:commentRss><description>&lt;p&gt;Are you including this secondary data source (BusinessEntitiesDB.xml)&amp;nbsp;in your XSN? If so, just use the InfoPath filter option to filter and don&amp;#39;t bother with complex XSLT since that will likely require code.&amp;nbsp; If you aren&amp;#39;t including it and it isn&amp;#39;t too large, you can load at runtime as a resource and still use the default filter semantics. If the XML is really huge, you should either a) put it in a DB or b) export it to a SharePoint list and use a web service on the server to filter. For option a) Qdabra has a web service (WSSP) that will help you. For option b) you can use Qdabra&amp;#39;s qRules or FilterOWSSVR on SharePoint. &lt;/p&gt;
&lt;p&gt;Happy trails&lt;/p&gt;</description></item><item><title>Filtering drop down values based on input parameter</title><link>https://www.infopathdev.com:443/forums/thread/53871.aspx</link><pubDate>Mon, 19 Apr 2010 21:21:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53871</guid><dc:creator>IPnewbie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53871.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53871</wfw:commentRss><description>&lt;p&gt;I have a &amp;quot;names&amp;quot;&amp;nbsp;dropdown that is populated via a secondary data source. I also have a text box where user can type in filter criteria (for first name, say). Now, via a &amp;quot;Search&amp;quot; button, I want to filter that list to values that contain the text.&lt;/p&gt;
&lt;p&gt;The button calls an XSL file - and I am trying to do the following:&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;lt;!-- Secondary Data Sources --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;xsl:param name=&amp;quot;BusinessEntitiesDB&amp;quot; select=&amp;quot;document(&amp;#39;BusinessEntitiesDB.xml&amp;#39;)&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;!-- Identity Template --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;xsl:template match=&amp;quot;@*|node()&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:copy&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:apply-templates select=&amp;quot;@*|node()&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:copy&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/xsl:template&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;xsl:variable name=&amp;quot;var_FirstNameFilter&amp;quot; select=&amp;quot;/my:CR1TI0001/my:search_facilitator_group/my:user_firstname_filter&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;xsl:variable name=&amp;quot;var_FirstNameValue&amp;quot; select=&amp;quot;/my:CR1TI0001/my:search_facilitator_group/my:facilitator_firstname_search&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;lt;xsl:template match=&amp;quot;/my:CR1TI0001/my:search_facilitator_group/my:facilitator_name_add&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;xsl:copy&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:choose&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:when test=&amp;quot;$var_FirstNameFilter=&amp;#39;Contains&amp;#39;&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:for-each select=&amp;quot;$BusinessEntitiesDB/bmsBE:BusinessEntities/bmsBE:BusinessEntity[contains(bmsBE:Full_Name,$var_FirstNameValue)]&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:apply-templates/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:when&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:otherwise&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:apply-templates/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:otherwise&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:choose&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;lt;/xsl:copy&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/xsl:template&amp;gt;&lt;br /&gt;----------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;The problem is that nothing happens. The picklist values are in the field facilitator_name_add. Any help is appreciated!!&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>