<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to Redirect to an Sharepoint Home Page after cliking on the submit button in the infopath form placed in an XmlFormView Webpart</title><link>https://www.infopathdev.com:443/forums/thread/50308.aspx</link><pubDate>Tue, 05 Jan 2010 14:08:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50308</guid><dc:creator>eddyblanco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50308.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=50308</wfw:commentRss><description>&lt;p&gt;I was able to redirect via:&lt;/p&gt;
&lt;p&gt;HttpContext.Current.Response.Redirect(&amp;quot;&lt;a href="http://yoursite.com/somepage.aspx"&gt;http://yoursite.com/somepage.aspx&lt;/a&gt;&amp;quot;, &lt;strong&gt;true&lt;/strong&gt;);&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If not try the following&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I have a webpart that links to infopath forms and I do the following for the hyperlink&lt;/p&gt;
&lt;p&gt;(Sitehostingthexml + &amp;quot;/_layouts/FormServer.aspx?XmlLocation=/yourlibrary/yuorxml.xml&amp;quot; + &amp;quot;&amp;amp;Source=/_layouts/windowclose.htm&amp;amp;DefaultItemOpen=1&amp;amp;OpenIn=Browser&amp;quot;);&lt;/p&gt;
&lt;p&gt;Windowclose.htm should reside in &amp;quot;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;the code for windowclose.htm is below. What I do is close the form you could do a redirect via javascript.&lt;/p&gt;
&lt;p&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;script language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;function closewindow() {&lt;/p&gt;
&lt;p&gt;window.resizeTo(550, 300)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;window.open(&amp;#39;&amp;#39;,&amp;#39;_self&amp;#39;,&amp;#39;&amp;#39;);&lt;br /&gt;window.close();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body onload=&amp;quot;closewindow();&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;STYLE&amp;gt;&lt;br /&gt;.alert {&lt;br /&gt;background: #fff6bf url(/_layouts/images/exclamation.png) center no-repeat;&lt;br /&gt;background-position: 15px 7%; /* x-pos y-pos */&lt;br /&gt;text-align: left;&lt;br /&gt;padding: 5px 20px 5px 45px;&lt;br /&gt;border-top: 2px solid #ffd324;&lt;br /&gt;border-bottom: 2px solid #ffd324;&lt;br /&gt;}&lt;br /&gt;&amp;lt;/STYLE&amp;gt;&lt;br /&gt;&amp;lt;p class=&amp;quot;alert&amp;quot;&amp;gt;&amp;lt;FONT size=3&amp;gt;&amp;lt;b&amp;gt;Please Close the following screen.&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/FONT&amp;gt;&amp;lt;br&amp;gt;Thank You&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to Redirect to an Sharepoint Home Page after cliking on the submit button in the infopath form placed in an XmlFormView Webpart</title><link>https://www.infopathdev.com:443/forums/thread/50303.aspx</link><pubDate>Tue, 05 Jan 2010 03:54:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50303</guid><dc:creator>mrudula123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50303.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=50303</wfw:commentRss><description>&lt;p&gt;i did not get error but the form is not redirecting to sharepoint home page.....&lt;/p&gt;</description></item><item><title>Re: How to Redirect to an Sharepoint Home Page after cliking on the submit button in the infopath form placed in an XmlFormView Webpart</title><link>https://www.infopathdev.com:443/forums/thread/50283.aspx</link><pubDate>Mon, 04 Jan 2010 12:41:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50283</guid><dc:creator>eddyblanco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=50283</wfw:commentRss><description>&lt;p&gt;Are you getting an error? or just not doing anything&lt;/p&gt;</description></item><item><title>Re: How to Redirect to an Sharepoint Home Page after cliking on the submit button in the infopath form placed in an XmlFormView Webpart</title><link>https://www.infopathdev.com:443/forums/thread/50280.aspx</link><pubDate>Mon, 04 Jan 2010 04:08:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50280</guid><dc:creator>mrudula123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=50280</wfw:commentRss><description>&lt;p&gt;Thanxs for your reply I tried this but i did not get the solution&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to Redirect to an Sharepoint Home Page after cliking on the submit button in the infopath form placed in an XmlFormView Webpart</title><link>https://www.infopathdev.com:443/forums/thread/50262.aspx</link><pubDate>Sat, 02 Jan 2010 12:48:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50262</guid><dc:creator>eddyblanco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=50262</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;Do the following on you infopath code behind.&lt;/p&gt;
&lt;p&gt;HttpContext.Current.Response.Redirect(&amp;quot;&lt;a href="http://yoursite.com/somepage.aspx"&gt;http://yoursite.com/somepage.aspx&lt;/a&gt;&amp;quot;);&lt;/p&gt;
&lt;p&gt;Ensure that you have the form Security with &amp;quot;Full Trust&amp;quot;. That is located under Tools --&amp;gt; Form Options --&amp;gt;Security and trust.&lt;/p&gt;</description></item><item><title>How to Redirect to an Sharepoint Home Page after cliking on the submit button in the infopath form placed in an XmlFormView Webpart</title><link>https://www.infopathdev.com:443/forums/thread/50261.aspx</link><pubDate>Sat, 02 Jan 2010 11:01:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50261</guid><dc:creator>mrudula123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50261.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=50261</wfw:commentRss><description>&lt;p&gt;How to Redirect to an Sharepoint Home Page after cliking on the submit button in the infopath form&amp;nbsp;which is placed in an XmlFormView Webpart&lt;/p&gt;</description></item></channel></rss>