Beginning of building an information grabbing form for SharePoint 2010 - InfoPath Dev
in

InfoPath Dev

Beginning of building an information grabbing form for SharePoint 2010

Last post 12-10-2010 03:27 AM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-09-2010 10:17 AM

    Beginning of building an information grabbing form for SharePoint 2010

    I'll explain what I'm trying to do. I want to create a new user form, so a manager can fill out what their new employee will need in the form of access. Not all the managers have infopath. I want to tie the submits to a SQL 2008r2 database, but I don't know a thing about programing a web service. Why can't it be as simple as making an OBDC on sharepoint to the sql server?! anyone have a web site explaining a basic web service linking it to a sql database with one table?
    Filed under: ,
  • 12-10-2010 03:27 AM In reply to

    Re: Beginning of building an information grabbing form for SharePoint 2010

    Submitting to SQL is a classic InfoPath problem. Here's what was discussed in an earlier thread:

    If you create your form using an XML Schema (File->Design...->New from Blank) you can't submit directly to a DB. That's because the schema is XML and not based off SQL data types. Submitting directly to a DB after form creation was never an option in InfoPath.

    If you create your form from a DB, you already have the submit data connection built in.

    Best practice here is to submit to a Web Service as an XML string. Have the Web Service handle the mapping to SQL. Then, one Web Service can handle any form. This is the way Qdabra's Web Service Suite (DBXL) works. Free downloads and very inexpensive licenses will save you a lot of time and money.

    I found other previous discussions which all point to similar solutions:

    (a) You create a db-bound form.

    (b) You write your own web service.

    (c) You use something like DBXL to map the data.

    This is a great post which covers b and c. Good luck!

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


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