<?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: Hyperlink to a Browser enabled InfoPath Form-Close the InfoPath form instead of redirecting.</title><link>https://www.infopathdev.com:443/forums/thread/45989.aspx</link><pubDate>Wed, 19 Aug 2009 04:06:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45989</guid><dc:creator>barmatt80</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45989</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You should just delete the referral part of the url, but you will have to build the url someway.&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;you are creating your link that opens the form you will have to do build the url either in the form or on your page some how or in an email workflow via sharepoint designer.&amp;nbsp; In a form, i&amp;#39;d create 3 fields, one for the url prefix, one for the form name (must include .xml at the end) and then the final one for the suffix.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/johnlee/archive/2008/07/14/url-that-will-open-infopath-form-in-browser.aspx"&gt;http://blogs.msdn.com/johnlee/archive/2008/07/14/url-that-will-open-infopath-form-in-browser.aspx&lt;/a&gt;&amp;nbsp; - i htink this is for new blank forms.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;and more importantly: &lt;a href="http://msdn.microsoft.com/en-us/library/ms772417.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms772417.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hyperlink to a Browser enabled InfoPath Form-Close the InfoPath form instead of redirecting.</title><link>https://www.infopathdev.com:443/forums/thread/45647.aspx</link><pubDate>Fri, 07 Aug 2009 22:31:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45647</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45647</wfw:commentRss><description>&lt;p&gt;Also, if you haven&amp;#39;t see it, check out &lt;a href="http://techdhaan.wordpress.com/2008/06/03/close-infopath-forms-services-form-using-code/"&gt;this&lt;/a&gt; link.&lt;/p&gt;</description></item><item><title>Re: Hyperlink to a Browser enabled InfoPath Form-Close the InfoPath form instead of redirecting.</title><link>https://www.infopathdev.com:443/forums/thread/45646.aspx</link><pubDate>Fri, 07 Aug 2009 22:30:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45646</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45646.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45646</wfw:commentRss><description>&lt;p&gt;Hi -- you are submitting and not saving your form? What happens if you change the Submit options to &amp;#39;Close the form&amp;#39; after submitting?&lt;/p&gt;</description></item><item><title>Hyperlink to a Browser enabled InfoPath Form-Close the InfoPath form instead of redirecting.</title><link>https://www.infopathdev.com:443/forums/thread/45369.aspx</link><pubDate>Tue, 04 Aug 2009 08:41:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45369</guid><dc:creator>ravi_kadri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45369.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45369</wfw:commentRss><description>&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;I am trying to close the InfoPath form which is opened via a Hyperlink, but doesn’t seem to be working.&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;I tried to close the form via Rules and it works only if I open the form from a Form library. But if I open the open it as a hyperlink it doesn’t closes instead it always redirects to the page which is mentioned in the source parameter.&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;I tried via code. But still no luck. &lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Just wanted to know how do we close a browser enabled InfoPath form after hitting the submit button. &lt;/font&gt;&lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;Below is the url which will be used in link button.&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;a href="http://servername:12345/_layouts/FormServer.aspx?XsnLocation=http://servername:12345/CreateTask/Forms/template.xsn&amp;amp;SaveLocation=http%3A%2F%2Fservername%3A12345%2FCreateTask&amp;amp;Source=http%3A%2F%2Fservername%3A12345%2FCreateTask%2FForms%2FAllItems%2Easpx&amp;amp;DefaultItemOpen=1&amp;amp;OpenIn=Browser"&gt;&lt;font size="3" face="Times New Roman"&gt;http://servername:12345/_layouts/FormServer.aspx?XsnLocation=http://servername:12345/CreateTask/Forms/template.xsn&amp;amp;SaveLocation=http%3A%2F%2Fservername%3A12345%2FCreateTask&amp;amp;Source=http%3A%2F%2Fservername%3A12345%2FCreateTask%2FForms%2FAllItems%2Easpx&amp;amp;DefaultItemOpen=1&amp;amp;OpenIn=Browser&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;Any link/hints would be a great help!&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;Ravi&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>