Note that there are some explanatory texts on larger screens.

plurals
  1. POUse UpdateListItems webbservice on Sharepoint using Infopath form without managed code
    primarykey
    data
    text
    <p>I need to create a Infopath form that users can use to create posts and update a Sharepoint list. </p> <p>I have located the list GUID and the Lists.asmx webbservice. I have made sure that I am admin with full rights on the List in question. The list is a basic 2 column (1 line of text).</p> <p>I have created the CAML template: </p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;Batch OnError="Continue"&gt; &lt;Method ID="1" Cmd="New"&gt; &lt;Field Name="Field1"&gt;&lt;/Field&gt; &lt;Field Name="Field2"&gt;&lt;/Field&gt; &lt;/Method&gt; &lt;/Batch&gt; </code></pre> <p>Two data connections using the CAML:</p> <pre><code>XML-file - loading the CAML. Send data using Lists.asmx-service - "UpdateListItems"-method. </code></pre> <p>The parameters for the UpdateListItems : tns:listName connected to a variable containing the GUID. tns:updates connected to /Batch in loaded CAML, XML-subtree included.</p> <p>I have added a Repeating Table using the XMLfile-connection (CAML) where I can fill the column values for the new Listitem.</p> <p>I have added a button that triggers action rules that use the dataconnection and "UpdateListItems"-method. The button also is tested trigger other rule actions, so the button itself works.</p> <p>As I try post a new item to the sharepoint-list I receive no error message, everything seems to work fine, but no items is created.</p> <p>If I change anything, like the GUID or other things, I recieve different error messages, so it appears as Infopath thinks everything works fine, but Sharepoint isn't doing anything with my list. No items is created.</p> <p>Anyone has any idea of what could it be that goes wrong?</p> <p>Edit: I have used other webservices from the same Sharepoint-server without any problems.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload