Create an image link on a site (not QuickLaunch) that opens an InfoPath form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Create an image link on a site (not QuickLaunch) that opens an InfoPath form

Last post 01-28-2016 04:42 PM by aspire27. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-27-2016 12:16 PM

    Create an image link on a site (not QuickLaunch) that opens an InfoPath form

    Hi All, As the title suggests I have a task where I'm required to create a link on a page with an image. When the user clicks the image link it will then open an InfoPath form for them to do whatever they need. I have been searching and the only things I have ran across are how to open an InfoPath form via a link in the Quick Launch and so forth. May I get some help on a How To article or suggestions? Any help is appreciated
    Filed under: , ,
  • 01-27-2016 03:56 PM In reply to

    Re: Create an image link on a site (not QuickLaunch) that opens an InfoPath form

     Hi, so you need a url to open new form, and put the url as hyperlink somewhere on your page assigned to an image.

    Assuming that the InfoPath template is already published on a SharePoint library, try clicking 'New' to open new form, and copy the url from browser's address bar, then past it notepad or your favorite editor and investigate it! that will give you the idea.

    It's long; and you may omit some parameter(s) depends on the usage. XsnLocation is required parameter, and others are optional. 

    sample:  

    https://yoursite.com/subsite/_layouts/15/FormServer.aspx
        ?XsnLocation=https://yoursite.com/subsite/FormLibraryName/Forms/template.xsn
        &SaveLocation=https://yoursite.com/subsite/FormLibraryName/
        &ClientInstalled=false
        &DefaultItemOpen=1
        &Source=https://yoursite.com/subsite/FormLibraryName/Forms/AllItems.aspx 

      I usually try the url string with browser, and see which option(s) I need.

     

     

  • 01-28-2016 04:42 PM In reply to

    Re: Create an image link on a site (not QuickLaunch) that opens an InfoPath form

    Thanks! It works!
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.