submitting form to Sql server - InfoPath Dev
in

InfoPath Dev

submitting form to Sql server

Last post 01-21-2010 03:29 AM by vura_1234. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-19-2010 06:58 AM

    submitting form to Sql server

    hi,

    Im new to infopath,I  want to submit and save the infopath from data to SQL server with out using the webservice is it possible to do this.

    If posiible means how to do it.

    Thanks for smart relpies

  • 01-20-2010 11:43 AM In reply to

    Re: submitting form to Sql server

    Hi Vura,

    The best practice is to use a Web Service because it abstracts the connection allowing the XML and/or the DB to change without republish or recompilation. No code in your form is required and the Web Service is the only viable solution for browser-based forms accessing a database when permissions are required.

    The second best practice is to create a form from the database by specifying the database when you begin designing the form. The benefit is that no code is required in your form. Unfortunately, this only works for new forms (forms that already exist with XML data cannot be converted into database forms). In addition, extra configuration has to happen (SSO) if your SQL database is on a separate server and you are using IPFS (browser based forms). You cannot support fine-grained permissioning with this option because IPFS does not impersonate the user.

    Finally, you can write code in your form to submit to SQL but it will likely require full trust form (not a best practice) and the code will be specific to your form. In other words, you will have to re-code the form whenever the schema or database changes and for all new forms.

    The Web Service option is the cheapest approach for quick deployment now and for lower cost maintenance costs long-term.

    Cheers!

    Patrick Halstead
    Project Manager at Qdabra
  • 01-21-2010 03:29 AM In reply to

    Re: submitting form to Sql server

    Hi Patrick,

    Thank you very much for your valuable suggestions.

    is there any document that specify the steps to create webservice,deploying in IIS and integrating with Infopath.

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