Hi
I am using SharePoint 2010. I have an InfoPath browser form injected with Q-rules 7.1
I have a SharePoint list currently with 7 items in it, the List does not inherit permissions, but all items in the list inherit permissions from the list. The List contains book titles and several other columns including RequestedBy. The list has several Nintex workflows associated with it, one should be triggered by the change to the RequestedBy field.
The form displays the list of books available to borrow in a repeating table. Next to each item there is button which uses the SubmitToSharePointList command to update RequestedBy in the list.
I have ticked the Use Web Services option in QRules.
In preview mode when I go down the list and click the button every item gets updated correctly - and the appropriate workflow is triggered.
When I do the same from the browser form (this is displayed using the InfoPath web part), only some of the items get updated. The other items have the error from the SubmitToSharePointList command which is shown at the end of the post. The items which are updated do trigger the Nintex workflow to fire.
If I delete the updates and repeat the test the same symptom is seen, but the items which are not updated are not consistent. (It is approximately every other item which gets updated successfully - but again this is not always the case)
I have tried setting Use Browser Api in Q-rules to true and ALL of the items get updated correctly BUT the Nintex workflow is not triggered.
This is a very simple form - and I don't know what I am doing wrongly. Any help gratefully received.
Catharine
Error
Failed to submit to SharePoint. URL = 'http://xxxxx/departments/HR/LD/_vti_bin/lists.asmx'. Exception: Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterException: The remote server returned an error: (401) Unauthorized. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset, XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, DataAdapter adapter, Document document, DataAdapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)
--- End of inner exception stack trace ---
at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.HandleExecWebRequestException(Document document, Exception exception, ExecWebRequestExceptionState state, Byte[] exceptionResponse, Ids errorId)
at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset, XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, DataAdapter adapter, Document document, DataAdapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)
at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterWebServiceSubmit.Execute(Document document, Uri soapAction, Uri serviceUrl, XPathNavigator querySubDOM, XPathNavigator resultsSubDOM, XPathNavigator errorsSubDOM, Int64 timeout, DataAdapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf)
at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterWebServiceSubmit.ExecuteInternal(XPathNavigator queryFields, XPathNavigator resultFields, XPathNavigator errors)
at Microsoft.Office.InfoPath.Server.DocumentLifetime.WebServiceConnectionHost.<>c__DisplayClass17.<Execute>b__16()
at Microsoft.Office.InfoPath.Server.DocumentLifetime.OMExceptionManager.ExecuteOMCallWithExceptions(OMCall d, ExceptionFilter exceptionFilter) LogId: 5567 Details: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset, XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, DataAdapter adapter, Document document, DataAdapterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf). Full error node text: No error node text available.