IP2010 Form with parameter - best option? - InfoPath Dev
in

InfoPath Dev

IP2010 Form with parameter - best option?

Last post 03-18-2015 08:29 PM by jboggs326. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-18-2015 08:29 PM

    IP2010 Form with parameter - best option?

     

    Hello everyone!

    Thank you for hosting this forum and allowing me to learn a lot about InfoPath.  I've been able to learn and solve my newbie questions from reading the forums, but I am currently stuck and could really use some help. Here goes:

    I’ve created an Infopath form in IP2010 which receives a parameter when invoked correctly, queries an access database, and displays one record for the user to edit.  There's a Submit button that allows the changes to be updated to the access database.  The form works great and is exactly what I need. 

    Now, I am trying to send out emails to my project managers (programmatically from Access2010) that will have a listing of their projects, each with a custom hyperlink to invoke this IPform.  The hyperlink references the IP xsn file that has been published, with one parameter that indicates the project.  I can’t get the hyperlink to work consistently.

    I tried to publish the form to a network location and send the input parameters via a /inputparameters flag on the command line.  I have come to learn that hyperlinks do not handle parameters at all.

    I have tried to publish the IP form to my sharepoint server, and then use a call to the formserver.aspx to render the xsn ip form into Infopath Filler.  When I invoke the hyperlink from a Word document (for testing purposes) it worked.  When I tried to include the same hyperlink into a HTMLBody of an Outlook email, the formserver errors, with either “The form is Closed” or “This form must be a web enabled form”

    The only reason I am going to the option of using the formerserver.aspx option is because it seems to be the only option that will accept a input argument that I can grab from the custom code in my form.  The other options don’t seem to allow for me to pass a parameter.

    Questions:

    1) I would prefer to have my form on the network and hyperlink to the form with the /inputparameters flag.  Can that actually work?

    2) Why does the hyperlink work in Word, but won’t work from a HTML outlook email?

    3) Is there an easier way to do this?

    Thanks, in advance, for any assistance you can provide.

    JB 

     

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