Submit Infopath form to SharePoint List results in new item w/o fi

P

pcs004

I have been able to submit an Infopath form to a custom Sharepoint list using
the CAML XML fragment and a repeating table, as given in a published example
(http://www.infopathdev.com/blogs/ma.../Add-SharePoint-List-Items-with-InfoPath.aspx).
I need to use a drop down list for 2 of the fields and have incorporated
that into the form. When the form is submitted (in Preview), the successful
submit message is received. When I check the Sharepoint list, I see a new
item with no title and none of the form fields populated, but the other
fields in the list, such as Created By, Workflow status, etc., are populated.
I have checked the web service URL.
Any help would be greatly appreciated!
Thanks,
Pat
 
S

sboyd

I have been able to submit an Infopath form to a custom Sharepoint list using
the CAML XML fragment and a repeating table, as given in a published example
(http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Add-SharePoi...).
 I need to use a drop down list for 2 of the fields and have incorporated
that into the form.  When the form is submitted (in Preview), the successful
submit message is received.  When I check the Sharepoint list, I see a new
item with no title and none of the form fields populated, but the other
fields in the list, such as Created By, Workflow status, etc., are populated.
 I have checked the web service URL.
Any help would be greatly appreciated!
Thanks,
Pat


You must select the fields on your form and promote them so they will
show up in the SharePoint List. (Tools, Form Options, Property
Promotion). You also have to give it a filename when the form is
submitted. I created a formula as the filename that would submit to
SharePoint. You need to create the formula in a way that it doesn't
change if the document is pulled up in SharePoint and resubmitted, or
you will get a new document each time it is submitted.
 
P

pcs004

sboyd,
Thank you for responding so quickly to my dilemma.

I have promoted the fields as you suggested, but being a newbie to
Sharepoint and InfoPath, I don't know how to create a formula to create a
filename to be submitted.

As an alternative, I am trying to submit an InfoPath form (without repeating
rows) to a document library whick kicks off a Workflow to submit it to a
list. I am able to do that, but I need have the user just use the submit
button without having to save the form.

I am under a deadline to get this out to production and I am searching for a
way to make this work. The basic idea is just to submit a form with 4
fields, 2 of which should be drop down lists, and create an item in a list
that will start a workflow.

Any advice and/or help is greatly appreciated.

Thank you,
Pat
 
S

sboyd

sboyd,
Thank you for responding so quickly to my dilemma.

I have promoted the fields as you suggested, but being a newbie to
Sharepoint and InfoPath, I don't know how to create a formula to create a
filename to be submitted.

As an alternative, I am trying to submit an InfoPath form (without repeating
rows) to a document library whick kicks off a Workflow to submit it to a
list. I am able to do that, but I need have the user just use the submit
button without having to save the form.  

I am under a deadline to get this out to production and I am searching for a
way to make this work.  The basic idea is just to submit a form with 4
fields, 2 of which should be drop down lists, and create an item in a list
that will start a workflow.

Any advice and/or help is greatly appreciated.

Thank you,
Pat






- Show quoted text -

What do you want your filename to be? I used a combination of a
couple of fields, one of which was a date so that I could generate a
unique name each time. This requires having a couple of extra fields
on the form. Do you have a shema in mind for generating the filename?
 

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