<?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>URL Input Parameters 'Gotcha'</title><link>https://www.infopathdev.com:443/blogs/hilary/archive/2008/10/07/url-input-parameters-gotcha.aspx</link><description>Ah, input parameters. It is so nice to be able to open a form with some values already filled in, isn&amp;#39;t it? Except, of course, when they don&amp;#39;t work. And to say they are a bear to debug would be an enormous understatement. I was recently helping</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>re: URL Input Parameters 'Gotcha'</title><link>https://www.infopathdev.com:443/blogs/hilary/archive/2008/10/07/url-input-parameters-gotcha.aspx#62496</link><pubDate>Wed, 22 Dec 2010 11:25:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62496</guid><dc:creator>ZhenYuan</dc:creator><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;The code didn't work for me... I tried:&lt;/p&gt;
&lt;p&gt;Dim vIssue As String&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vIssue = e.InputParameters(&amp;quot;oi&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.CreateNavigator().SelectSingleNode(&amp;quot;my:myFields/my:Form_Container/my:Issue_View&amp;quot;, Me.NamespaceManager).SetValue(vIssue)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Catch invalid As Exception&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MessageBox.Show(&amp;quot;Invalid input&amp;quot;, &amp;quot;Error&amp;quot;, MessageBoxButtons.OK)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Try&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Even as I appended ?oi=1 where 1 is what I want as input string, my exception is always thrown. I'm using DBXL by the way. This works for DBXL on IP2007 I hope? And just to be safe, I used all small caps.&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=62496" width="1" height="1"&gt;</description></item><item><title>re: URL Input Parameters 'Gotcha'</title><link>https://www.infopathdev.com:443/blogs/hilary/archive/2008/10/07/url-input-parameters-gotcha.aspx#35754</link><pubDate>Sun, 14 Dec 2008 08:03:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35754</guid><dc:creator>h.elshabini</dc:creator><description>&lt;p&gt;thank you, very informative this has been driving me crazy :)&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=35754" width="1" height="1"&gt;</description></item></channel></rss>