InfoPath and SharePoint Lists

E

Eric1776

I'm just running through some ideas in my head so bear with me...

Is it possible when submitting an InfoPath form that different sections
of the form submitted information to different sharepoint lists?

So basically what I'm saying is create these lists in SharePoint:

1) Events
2) Related Issues (Issues related to a particular event)
3) Discussions (Discussions related to a particluar event)

Then I have an InfoPath form with these sections:

1) Events
2) Related Issues (Repeating Section)
3) Discussions (Repeating Section)

When the user submits the InfoPath form it adds the information into
the appropriate SharePoint Lists. I have two reasons why I'm thinking
about this.

1) The single InfoPath form would be easier to enter and display the
information to the users
2) When the InfoPath form is submitted it would also be saved to a form
library, which would trigger a workflow.


Any thoughts?
 
M

Matthew Blain \(Serriform\)

Yes. You will probably have to do this with code, basically go through and
pick what you want to submit. For example, you could create one DAVAdapter
per per list, then in code call SubmitData instead of Submit. If you want to
submit to a list (as opposed to a form library), you'll have to call the
SharePoint lists web service (UpdateListItems) and call it with the data you
care about. There's an example of this in the book mentioned in my sig.

--Matthew Blain
http://tips.serriform.com/
http://www.microsoft.com/mspress/books/7128.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top