Submiting Data to Custom List

E

Eray

Hello.
I am trying to submit data to custom sharepoint list. I followed the article
below
http://enterprise-solutions.swits.n...lly-add-item-sharepoint-calendar-infopath.htm

Firstly i created a custom list with 3 fields for testing.
Fields: fullname (text), job (choice (str, arch, it)), asddate (date)

And then i created the xml file below.

<?xml version="1.0" encoding="UTF-8" ?>
<Batch>
<Method ID="1" Cmd="New">
<Field Name="fullname"/>
<Field Name="job"/>
<Field Name="asddate"/>
</Method>
</Batch>

After that i created the infopathform below.
http://rapidshare.com/files/79205781/Template1.xsn

i created the data connections by following the article.

Also i edit the VB code to make it correct according to my requirements. The
code is attached to button.

At the and i filled out the form, i clicked the button. There is no error,
everything seems ok however when check the custom list that i created, there
is nothing. Infopath does not submit the data that i filled out on the form.

Do you have any idea?
Should i enable something on the sharepoint managment to make this stuff work?
Thanks...
 
C

Clay Fox

The most common issue I see is setting up the data connection and submitting
to the right lists.asmx. You need to submit to the subsite or teamsite your
list is located in, not the main one. Otherwise it cannot resolve and there
are no failure messages.

There are lots of resources for this on http://www.infopathdev.com too
--
Thanks

Clay Fox

Qdabra Software
http://www.qdabra.com

InfoPathDev.Com
The Largest InfoPath Forum in the World
http://www.infopathdev.com
 
E

Eray

thx. i solve the problem. it is silly though. when you create a custom list
and if you change the name of first field which is Title, the form does not
submit anything. weird.
 

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