<?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>Rob Haller</title><link>https://www.infopathdev.com:443/blogs/rob/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Creating a Web Link or href for SharePoint New Button on InfoPath Forms Library</title><link>https://www.infopathdev.com:443/blogs/rob/archive/2008/09/22/creating-a-web-link-for-sharepoint-new-on-infopath-forms-library.aspx</link><pubDate>Tue, 23 Sep 2008 00:49:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32443</guid><dc:creator>NG_Nibbler</dc:creator><slash:comments>14</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">https://www.infopathdev.com:443/blogs/rob/rsscomments.aspx?PostID=32443</wfw:commentRss><comments>https://www.infopathdev.com:443/blogs/rob/archive/2008/09/22/creating-a-web-link-for-sharepoint-new-on-infopath-forms-library.aspx#comments</comments><description>&lt;p&gt;Using the New button on a SharePoint InfoPath Document List is not intuitive for new SharePoint users.&amp;nbsp; It would be nice if users could simply click a web link to launch a new InfoPath Form.&amp;nbsp; Here is how to do this in a single&amp;nbsp;line URL&amp;nbsp;...&lt;/p&gt;
&lt;p&gt;Edit a Web Page and add a web link using this format:&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;BLOCKED SCRIPTcreateNewDocumentWithProgID(escapeProperlyCore(&amp;#39;http://{SERVER}/{SITE}/{LIBRARY}/Forms/template.xsn&amp;#39;, true), &amp;#39;http://{SERVER}/{SITE}/{LIBRARY}/&amp;#39;, &amp;#39;SharePoint.OpenXMLDocuments&amp;#39;, true)&amp;quot;&amp;gt;Create a New Document&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;Note: if you see the words BLOCKED SCRIPT in the line above, replace it with &amp;#39;j a v a s c r i p t :&amp;#39;&amp;nbsp;without the single quotes as shown here and without any spaces.&amp;nbsp; This blog automatically replaces the key word &amp;#39;java script&amp;#39; (when run together) and the colon with the phrase BLOCKED SCRIPT.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;You must replace&amp;nbsp;{SERVER}, {SITE}, and {LIBRARY} with your path to the forms library.&amp;nbsp; Also, you can change the phrase &amp;quot;Create a New Document&amp;quot; to whatever you want.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I have not done this yet, but I also believe that if you have more than one form published to a library, you will need to determine what the form&amp;#39;s name is.&amp;nbsp; The default name of &amp;quot;template.xsn&amp;quot; is used in the example above.&amp;nbsp; So, if you have more than one published form, you may need to change &amp;quot;template.xsn&amp;quot; to whatever it is called.&amp;nbsp; You can view and manage all InfoPath templates by going to the Forms Library where the form is published, then select: Settings--&amp;gt;Form Library Settings--&amp;gt;Advanced Settings.&lt;/p&gt;
&lt;p&gt;There are posts similar to this on the web; however, none of them are as &lt;span style="FONT-SIZE:11pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;concise as this &lt;/span&gt;single line launcher.&amp;nbsp; Credit for this goes to my colleague, Phil Chuang.&amp;nbsp; Thanks Phil.&lt;/p&gt;&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=32443" width="1" height="1"&gt;</description><category domain="https://www.infopathdev.com:443/blogs/rob/archive/tags/SharePoint+InfoPath+New+Button+Web+Link/default.aspx">SharePoint InfoPath New Button Web Link</category></item></channel></rss>