This asset provides code-snippets and an example form demonstrating how you can perform the REST service query within a Nintex Form to access SharePoint List data.
Accessing SharePoint data using the SharePoint REST service can be problematic from within Nintex Forms due to the way in which cross-domain requests are blocked. This asset demonstrates the pattern necessary for using the REST service to retrieve all items within a custom SharePoint List ("TEST").
To keep the code-snippet as simple as possible, the data returned from the "TEST" list is simply written to the browser's console for testing purposes.
Steps to implement (without using Sample Form):
A custom SharePoint List named "TEST".
Nintex Forms 2013
SharePoint Server 2013
Browser Console Output:
Components included in the Asset: