<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Open new form from link in custom task pane</title><link>https://www.infopathdev.com:443/forums/thread/21824.aspx</link><pubDate>Fri, 20 Jul 2007 00:00:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21824</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=21824</wfw:commentRss><description>You should just be able to make a hyperlink to the XSN file in your task pane (or open it using code). And then have your task pane JS code call into main form code to have it do the setdirty/close.</description></item><item><title>Open new form from link in custom task pane</title><link>https://www.infopathdev.com:443/forums/thread/21791.aspx</link><pubDate>Wed, 18 Jul 2007 23:42:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21791</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21791.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=21791</wfw:commentRss><description>&lt;p&gt;Hi--&lt;/p&gt;&lt;p&gt;Is there a way to open a new infopath form from a link in a custom task pane that does not require the form to be full trust? &lt;/p&gt;&lt;p&gt;Here is what I want to do--Open a new form, SetDirty(false) for the old form and close the old form.&lt;/p&gt;&lt;p&gt;Here are the problems I have encountered so far: Using a javascript function that first uses open(&amp;quot;templateurl.xsn&amp;quot;) then takes care of SetDirty and Close works, but the &amp;quot;open&amp;quot; part is painfully slow.&lt;/p&gt;&lt;p&gt;Creating a new ActiveXObject(&amp;quot;Infopath.Application&amp;quot;) works...but requires changes to Internet Explorer security that won&amp;#39;t be acceptable to my network admin, even for intranet use.&lt;/p&gt;&lt;p&gt;If I use an anchor in the html and set the href to my xsn and then call a function that handles the SetDirty and Close....the function fires before the link opens.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any thoughts? Thanks--Hilary&lt;/p&gt;</description></item></channel></rss>