This is my first post, so my apologies if I violate some standards here.
I have an IP form that saves as a file when I submit to a SP library. The library has three additional fields that are used to provide info and to guide workflow operations. The saving file part works perfectly. Love it, very nice. However..... I cannot for the life of me figure out how to write data to the additional fields in the list record. I have used the CAML tutorial at http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Add-SharePoint-List-Items-with-InfoPath.aspx and followed it with a very similar tutorial (with a few detail changes) at http://msdn.microsoft.com/en-us/library/cc162745(office.12).aspx. The MSDN article relies on code which isn't really an options for me.
When I follow the directions in the first link, and work that all the way through, it works. But I don't know why. But it works.
I am working on Office 365.
As a bit of background, the main form is a purchase requisition that includes user info, vendor info, pricing, comments - all the types of thing that you would expect to see on a PO. I need to take the user name, the vendor name, and the total of the req and write that data to the noted additional fields. I set up my xml file to reflect my structure, followed MS' direction on setting up data entry fields that I could access. Set up the web service submit using updatelistitems via lists.asmx, and gave it a whirl. And it failed. I get an error 5567. I have a sneaking suspicion that I am trying to write data to a non-existent record, but I have nothing to hang that on.
I am open to ideas that help me solve this particular problem. Any of them, including revising how I am approaching this. I tried promoting fields to the list, but that only worked when I saved the form - but it did do what I wanted, so an equivalent to the submit functionality that permitted me to choose the name and save location would work too.
Thanks in advance for all assistance.