<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Change the location of the Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/73743.aspx</link><pubDate>Tue, 10 Jan 2012 17:47:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73743</guid><dc:creator>csaha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73743.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73743</wfw:commentRss><description>&lt;p&gt;Users enter the name and zip of the student and it launches a Infopath form and the code behind this is as following:&lt;/p&gt;
&lt;p&gt;string href = &amp;quot;&amp;lt;A href=&amp;#39;/SL/SitePages/ParentsPermissions.aspx?studentID=&amp;quot; + item[&amp;quot;Student_Number&amp;quot;].ToString() + &amp;quot;&amp;#39;&amp;gt;&amp;quot;;&lt;/p&gt;
&lt;p&gt;however I would like to launch the form which is in the following 
location after the infopath form is published in the form library and 
the location is&lt;/p&gt;
&lt;p&gt;http://sitecollection/SL/_layouts/FormServer.aspx?XsnLocation=http://sitecollection/SL/Parent%20Travel%20Permission/Forms/template.xsn&amp;amp;SaveLocation=http%3A%2F%2Fsc%2Esc%2Esc%2FSL%2FParent%20Travel%20Permission&amp;amp;DefaultItemOpen=1&lt;/p&gt;
&lt;p&gt;when the form is opened using the publishing Wizard the address is as following:&lt;/p&gt;
&lt;p&gt;http://sitecollection/SL/_layouts/FormServer.aspx?XsnLocation=http://sitecollection/SL/Parent%20Travel%20Permission/Forms/template.xsn&amp;amp;OpenIn=browser&amp;amp;SaveLocation=http://sitecollection/SL/Parent%20Travel%20Permission&amp;amp;Source=http://sitecollection/SL/Parent%20Travel%20Permission&lt;/p&gt;
&lt;p&gt;How do I write the above string href in the following location?&lt;/p&gt;
&lt;p&gt;Please advice.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Chitra&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>