Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, October 4, 2013 1:31 PM
I have an InfoPath Filler form that I would like users to be able to open from a) a hyperlink in a links list and b) a hyperlink on an image in a CEWP.
At present I have set this up so the hyperlink attempts to open the form template (published as a site content type), however when the user clicks on the hyperlink IE displays the option to Open / Save / Cancel the opening of the form. I do not want users to start saving copies of the template so this is unacceptable. I want the hyperlink to open a blank InfoPath Filler form ready to be filled out. I'd like to do this for InfoPath forms that are published either directly to the form library and as a site content type. For a form published directly to the form library, this would be the same action as clicking 'Add Document' - but as this opens InfoPath I'm unable to use a URL in my hyperlink because I never get the chance to see a URL.
- I'm using SharePoint 2010 and InfoPath 2010.
- Documents are set to open in their default client.
- The default client for .xsn and .xml files is InfoPath.
- I'm using Internet Explorer 9 (the organisation default).
- Browser File Handling is set to permissive.
- I tried unchecking 'Enable Protected mode' in IE9, this produced no different results so i turned it back on.
I hope there's an out of the box solution for this as I don't know how to code in SharePoint.
Any help would be much appreciated.
Thanks, Ben.
All replies (5)
Monday, October 7, 2013 6:27 AM
Hi,
1. Follow this article to publish an InfoPath 2010 form to Form Library in SharePoint 2010.
http://sharepointknowledgebase.blogspot.in/2011/10/publish-infopath-2010-form-to-form.html
2. The hyperlink for new document button of a forms library should be:
http://{server}/_layouts/FormServer.aspx?xsnLocation=http://{fullpath to the library}/forms/template.xsn?DefaultItemOpen=1
And we can open the InfoPath form template directly in browser by clicking the link.
Thanks.
Tracy Cai
TechNet Community Support
Monday, October 7, 2013 7:50 AM
Thanks for the response Tracy. Unfortunately this link hasn't worked - it still prompts me to either open/save/cancel when I click on the link.
My form is published as an InfoPath filler form, therefore I do not have the option to open the form in the browser, and wish for the form to open in InfoPath Filler 2010.
Friday, January 3, 2014 3:32 PM
Any solution for this problem?
I have same one! create hyperlink to xsn and form to be opened in InfoPath filler !
Wednesday, November 12, 2014 2:36 PM | 1 vote
This is a much easier way to capture the URL:
After creating your list & subsequent InfoPath form; you now want to create a hyperlink to open the form directly in a window – WITHOUT having to click “Add New Item”
- Go to your list & Click on “Add New Item"
- Once the InfoPath form opens, click somewhere on the form itself, then right-click your mouse and choose properties.
- Now in that pop-up window copy the URL, this is what you need to use in your hyperlink (can either be verbiage OR a clickable graphic); ==> Be sure to highlight the full URL, this may require that you ‘scroll over to the right to capture the whole URL
Thursday, December 3, 2015 4:25 PM | 1 vote
This worked for me.
Get your url to be the following:
javascript:createNewDocumentWithProgID(escapeProperlyCore('http://testserver/sites/demo/form1/Forms/template.xsn', true), 'http://testserver/sites/demo/form1/', 'SharePoint.OpenXMLDocuments', true)
Replace the urls with your own. Then use <a href="<above url>">Click here</a>
Yanling