<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/52737.aspx</link><pubDate>Mon, 15 Mar 2010 20:16:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52737</guid><dc:creator>hefret56</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52737.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=52737</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Anyone find a solution for this?&amp;nbsp; As far as I can tell, the Hyperlink control cannot be configured at runtime.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/49391.aspx</link><pubDate>Tue, 24 Nov 2009 22:22:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49391</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49391.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49391</wfw:commentRss><description>&lt;p&gt;That could very well be. I didn&amp;#39;t think of that when I was experimenting....&lt;/p&gt;
&lt;p&gt;I wonder... could you just use a hyperlink control in the form? Another click for the user, I guess, but I&amp;#39;m not sure what else to suggest...&lt;/p&gt;</description></item><item><title>Re: open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/49388.aspx</link><pubDate>Tue, 24 Nov 2009 21:57:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49388</guid><dc:creator>jsherman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49388.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49388</wfw:commentRss><description>&lt;p&gt;I have also found the line of code.. And tried it and failed... That is the one of the examples where simply nothing happened... I beleive this is becuase the code is being run at the server... And last I knew server side code cannot run client side actions... Maybe I am incorrect??&lt;/p&gt;</description></item><item><title>Re: open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/49387.aspx</link><pubDate>Tue, 24 Nov 2009 21:49:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49387</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49387.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49387</wfw:commentRss><description>&lt;p&gt;Ah. Per MSDN on &lt;a href="http://msdn.microsoft.com/en-us/library/aa945729.aspx"&gt;NewFromFormTemplate&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;This type or member can be accessed only from code running in forms opened in Microsoft Office InfoPath 2007.&lt;/p&gt;
&lt;p&gt;So, we can&amp;#39;t use that method in browser forms. Perhaps you should pass the URL of the form in and open a new browser window instead? I searched around a bit and found this:&lt;/p&gt;
&lt;blockquote&gt;&lt;font size="2"&gt;
&lt;p&gt;System.Diagnostics.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Process&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Start(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;http://server/library/Forms/template.xsn&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The form has to be set to full trust to run, but since you are having to admin deploy already, that may not be a deal breaker. There may be a better way to open a new form from a browser form, hopefully someone else will add to this thread.&lt;/p&gt;</description></item><item><title>Re: open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/49385.aspx</link><pubDate>Tue, 24 Nov 2009 21:21:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49385</guid><dc:creator>jsherman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49385</wfw:commentRss><description>&lt;p&gt;Application.XmlForms.NewFromFormTemplate(&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&lt;a href="http://websiteurl/Forms/Engineering%20Request%20Form.xsn"&gt;http://websiteurl/Forms/Engineering%20Request%20Form.xsn&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;This is the line that generates the error... &lt;/p&gt;
&lt;p&gt;The error is very generic... Only There was a problem submitting the form.. There was a details section and it stated there was an event added to the server&amp;#39;s event log... I looked and found no events...&lt;/p&gt;
&lt;p&gt;I figured the () wasn&amp;#39;t needed but it worked so... Like I said in my first post.. This whole thing works fine when run from Infopath directly...&lt;/p&gt;</description></item><item><title>Re: open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/49384.aspx</link><pubDate>Tue, 24 Nov 2009 21:03:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49384</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49384.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49384</wfw:commentRss><description>&lt;p&gt;Which line generates the error? What is the error? I think you don&amp;#39;t want () after Value, by the way, it is a property, not a method.&lt;/p&gt;</description></item><item><title>Re: open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/49375.aspx</link><pubDate>Tue, 24 Nov 2009 16:39:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49375</guid><dc:creator>jsherman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49375.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49375</wfw:commentRss><description>&lt;p&gt;The submit is sucessful.. The code just doesn&amp;#39;t seem to do anything... This is the on click code... I&amp;#39;ve been doing some testing this morning and I can confirm that the code is being run... The code in this form generates a generic error.. I have tried other lines of code in place of line 3 and some generate erros and others just do nothing...&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; CTRL1188_Clicked(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sender &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Object&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ClickedEventArgs)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:CCGCoWeb/@WebERF_num&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.NamespaceManager).Value() = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;New&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;Application.XmlForms.NewFromFormTemplate(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;http://websiteurl/Forms/Engineering%20Request%20Form.xsn&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;) &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/49374.aspx</link><pubDate>Tue, 24 Nov 2009 16:27:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49374</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49374.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49374</wfw:commentRss><description>&lt;p&gt;If you post your code, that would help. So, your submit is failing in the browser form? And the code opening the new form isn&amp;#39;t being reached?&lt;/p&gt;</description></item><item><title>Re: open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/49367.aspx</link><pubDate>Tue, 24 Nov 2009 13:26:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49367</guid><dc:creator>jsherman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49367.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49367</wfw:commentRss><description>&lt;p&gt;Any one?? Please!!!&lt;/p&gt;</description></item><item><title>open url or new form</title><link>https://www.infopathdev.com:443/forums/thread/49342.aspx</link><pubDate>Mon, 23 Nov 2009 21:26:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49342</guid><dc:creator>jsherman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49342.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=49342</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I have been tearing my hair out on this one... Infopath 2007.. MOSS 2007 Enterprise... New to browser forms... I am trying to open another infopath form when a user submits the first one (if a check box is checked)... I can get this to work from my client but when I publish the form (fully trusted) and upload it to the Infopath forms library in MOSS I cannot get it to work... Depending on which sets of code I am using I either get an error upon submitting (it says it will put an event inthe server&amp;#39;s event log but it doesn&amp;#39;t) or just nothing happens... &lt;/p&gt;
&lt;p&gt;&amp;nbsp; The submit is done through a custom button. I have setup a submit connection. Using rules I get some data, set some data, and submit the form. Using code in the on click event for the button I check to see if the checbox is check and if it is I want to call the next form... How can I do this?? By the way I am trying to call the form using query string parameters so I cannot use the open form rule action... &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; Please help!!!&lt;/p&gt;</description></item></channel></rss>