Saturday, September 02, 2006

InfoPath 2007 and Forms services : opening forms from a hyperlink

If you want to integrate web-enabled InfoPath 2007 forms into your own web pages, you can just add a link to them. You will need to use a href to an ASPX page http://<server>/_layouts/FormServer.aspx with the followingQuery parameters:

  • XsnLocation - What form to open and from where
  • XmlLocation - What initial data to use
  • OpenIn - Open in browser / client / either
  • SaveLocation - Save Location for data (Make sure that you add this one, if you want the close button to be visible …)
  • Source - Navigate URL when form is closed

Example :


Technorati : , , , , ,,

1 comment:

Bob C said...

Good tips. Thanks.