<?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: Infopath current Url without writting code</title><link>https://www.infopathdev.com:443/forums/thread/48337.aspx</link><pubDate>Thu, 29 Oct 2009 04:27:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48337</guid><dc:creator>Honey_hhv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48337.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=48337</wfw:commentRss><description>&lt;p&gt;Hello dear&lt;/p&gt;
&lt;p&gt;No,I have a button in form and i handle click event for that (in code) to save in My sharepoint Document Library.(it works well)&lt;/p&gt;
&lt;p&gt;so after saving without error, i want to &lt;u&gt;&lt;strong&gt;close&lt;/strong&gt;&lt;/u&gt; form&amp;nbsp;(i cannot use a Close Rule for that , because it occurs before click event)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;or redirect it to Document Library (this part is the problem ), how can i solve it?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;although i didn&amp;#39;t read your link yet, maybe it helps!! ;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;i should add my form is browser enabled, too. and jscript it&amp;#39;s not work&lt;/p&gt;
&lt;p&gt;although i test thease code too, and&amp;nbsp;did not work when i publish form to sharepoint :&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;1- System.Diagnostics.&lt;/font&gt;&lt;font color="#008080" size="2"&gt;Process&lt;/font&gt;&lt;font size="2"&gt;.Start(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;iexplore.exe&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#800000" size="2"&gt;URL&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;2- System.Web.HttpRequest.Current.Response.Redirect(System.Web.HttpContext.Current.Request.UrlReferrer.OriginalString);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Infopath current Url without writting code</title><link>https://www.infopathdev.com:443/forums/thread/48318.aspx</link><pubDate>Wed, 28 Oct 2009 16:01:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48318</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48318.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=48318</wfw:commentRss><description>&lt;p&gt;When you say &amp;#39;redirect form to that URL&amp;#39; do you mean submit the completed form to the same library? I don&amp;#39;t think you&amp;#39;ll be able to do that without code (or the upcoming v2.0 release of qRules, which will have a command for changing the submit url). &lt;a href="http://blogs.msdn.com/infopath/archive/2006/11/08/submitting-to-this-document-library.aspx"&gt;Here&amp;#39;s&lt;/a&gt; an interesting blog post on using code for this.&lt;/p&gt;</description></item><item><title>Re: Infopath current Url without writting code</title><link>https://www.infopathdev.com:443/forums/thread/48303.aspx</link><pubDate>Wed, 28 Oct 2009 09:30:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48303</guid><dc:creator>Honey_hhv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48303.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=48303</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Hi Hilary &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;your information was helpful ,thank you so much.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;i pubish my form in sharepoint library, i want to get that library&amp;#39;s Url, my Form opens.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;then redirect form to that URL after click Save button on Form&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;any help will be appreciated Dera.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: Infopath current Url without writting code</title><link>https://www.infopathdev.com:443/forums/thread/31478.aspx</link><pubDate>Thu, 14 Aug 2008 22:37:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31478</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31478.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=31478</wfw:commentRss><description>&lt;p&gt;I think you can use a formula to get what you need:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;substring-before(substring-after(/processing-instruction()[local-name(.) = &amp;quot;mso-infoPathSolution&amp;quot;], &amp;#39;href=&amp;quot;&amp;#39;), &amp;#39;&amp;quot;&amp;#39;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;gets me the location of my published form, regardless of where it is published.&lt;/p&gt;</description></item><item><title>Infopath current Url without writting code</title><link>https://www.infopathdev.com:443/forums/thread/31427.aspx</link><pubDate>Wed, 13 Aug 2008 14:10:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31427</guid><dc:creator>luisin22</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31427.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=31427</wfw:commentRss><description>&lt;p&gt;Hi I&amp;#39;m trying to get the current url of the Infopath form where it&amp;#39;s deployed,?? I&amp;#39;ve seen that there is a workaround this using custom code, is there any way to do it without writting any code?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any Ideas?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Luis&lt;/p&gt;</description></item></channel></rss>