Tip on populating SharePoint list with InfoPath form

B

Bob Zmuda

I have a SharePoint list that I wanted to populate with data from an InfoPath
form. Originally, I used the previously suggested method of CAML and VB or C#
code (detailed at
http://enterprise-solutions.swits.n...m-sharepoint-calendar-infopath&c=infopath2007
and
http://www.infopathdev.com/howto/tutorials/default.aspx?i=7bc880f391b84ea9b3b45c6fbecc07c6).
This method, however, proved to be unnecessarily cumbersome. I've found what
I consider to be a superior method: SharePoint workflows. You can create and
update SharePoint list items using this method:

1.) Create a SharePoint form library.
2.) Create an InfoPath form with whatever fields you want to send to a
SharePoint list.
3.) Configure a button to submit the form to the previously created form
library.
4.) Publish the form to the library, making sure to map to columns whatever
fields you want to send to the list.
5.) Open the library in SharePoint Designer and create a new workflow.
6.) Set the workflow to run on new items.
7.) Configure the first step in the workflow to create a list item.
8.) Map the fields from the current item, your InfoPath form, to the
appropriate SharePoint list.

Now all you need to do is fill out the form and click the submit button. The
fields you mapped in the workflow will automatically populate the list. I
apologize if this has already been pointed out.
 
S

S.Y.M. Wong-A-Ton

Thanks for the great tip! I haven't tried it out yet, but it looks promising,
at least for MOSS 2007.
 

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