Logo Background RSS

Fetch data from Databases and SharePoint Lists into InfoPath form

  1. #1 GPNA1
    June 16, 2010 pm30 12:31 pm

    How would one get the department field from the current user who is filling out the form?

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  2. #2 Asif Rehmani
    June 18, 2010 pm30 4:18 pm

    You can use the User Profile Service webservice to fetch that information. I believe there is an InfoPath 2007 video on the site that explains how to use that webservice.

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  3. #3 lynnda_harley
    July 8, 2010 pm30 4:07 pm

    Have created a new form library from excel spreadsheet – I am editing the form modify /edit choice properties, I want to receive data from a sharepoint list – I am using the wizard but stopped when I enter the site location (odd enough I see the list and actually choose it and it comes back and tells me The operation could not be completed?? I have already connected and created the form library – any ideas on what I can check… Thank you so much

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  4. #4 Asif Rehmani
    July 11, 2010 pm30 11:54 pm

    Trying to get data in an InfoPath form from a SharePoint list is a pretty simple process. If that doesn’t work, my guess would be either a) the List’s schema is somehow not being understood by InfoPath or b) it’s trying to retrieve too much data and timing out somewhere. Just a guess…

    If none of these things pan out, I would suggest making a comment about this on the InfoPath team blog. They are pretty responsive to queries.

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  5. #5 rob.mallernee
    August 20, 2010 pm30 11:00 am

    This shows how to get data from the database to the form. Can you use infopath forms to update data in a database or would you use some other method?

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  6. #6 Asif Rehmani
    August 20, 2010 pm30 11:05 am

    The best way to push data back to the database from InfoPath will be to use web services (as a Secondary data connection). It will require some coding unfortunately to do it right.

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  7. #7 rob.mallernee
    August 20, 2010 pm30 11:51 am

    If I have a form that can be filled out by reference to a database (by entering a key piece of data) can you use infopath to basically function as a report or do you have to fill in each field as you go?

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  8. #8 Asif Rehmani
    August 30, 2010 pm30 6:40 pm

    You can definitely do lookups from a database table passing in parameters/variables from InfoPath forms.

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply

Please do not use this form

Leave a Comment

For spam filtering purposes, please copy the number 2278 to the field below: