Opening a Infopath 2007 browser based form through a link in i.e. a links webpart is done by first opening the form manually, copying the complete URL, extracting the “&Source…” part from the URL and using the URL as a hyperlink. See example below:
I have a form which opens with this complete URL:
http://intranet/eforms/_layouts/FormServer.aspx?XsnLocation=http://intranet/FormServerTemplates/DeclCashSal.xsn&SaveLocation=http%3A%2F%2Fintranet%2Feforms%2FDeclaration&Source=http%3A%2F%2Fintranet%2Feforms%2FDeclaration%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1
After I extract the “&Source” part the URL looks like:
http://intranet/eforms/_layouts/FormServer.aspx?XsnLocation=http://intranet/FormServerTemplates/DeclCashSal.xsn&SaveLocation=http%3A%2F%2Fintranet%2Feforms%2FDeclaration&DefaultItemOpen=1
Use this URL as a hyperlink.
Tags: Best Practices, browser based form, Howto


Leave a Reply