<?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>Hyperlinks to files disabled when adding VBScript</title><link>https://www.infopathdev.com:443/forums/thread/29336.aspx</link><pubDate>Wed, 11 Jun 2008 19:15:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29336</guid><dc:creator>IP_Wannabe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29336.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=29336</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve developed a form using InfoPath 2003 with embedded hyperlinks to files stored in shared network directories.&amp;nbsp; As an enhancement, I was asked to implement a change, where upon saving the form, the SaveAs dialog defaults to a known shared directory.&amp;nbsp; I found several posts on InfoPathDev that easily describe how to do this.&amp;nbsp; However, when I added&amp;nbsp;VBScript to my form, the hyperlinks stopped working.&amp;nbsp; You could click on the links and nothing would happen.&amp;nbsp; I then found an article at &lt;a href="http://support.microsoft.com/kb/828853"&gt;http://support.microsoft.com/kb/828853&lt;/a&gt; which describes how to remove the scripting from a user form by modifying the template&amp;#39;s Form Files.&amp;nbsp; I removed any references to the scripting language from the manifest.xsf file, re-published the template, and the hyperlinks worked once more.&lt;/p&gt;
&lt;p&gt;In fact, I not only had to remove the scripting references in the manifest, I also had to add the following to the first tag in order for the hyperlinks to be active:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;xsf:xDocumentClass trustSetting=&amp;quot;automatic&amp;quot; &lt;strong&gt;trustLevel=&amp;quot;restricted&lt;/strong&gt;&amp;quot; ......./xsf&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;d really like to add the enhanced SaveAs functionality, but must keep the hyperlinks.&amp;nbsp; Does anyone have any ideas on how to keep both?&lt;/p&gt;</description></item></channel></rss>