Showing results for 
Search instead for 
Did you mean: 

Using the SharePoint REST service inside Nintex Forms

Summit 7 Systems logo

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.

AuthorPatrick Abel
Long Description

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):

  1. Open your form in the Nintex Forms Designer
  2. Open Form Settings
  3. Copy/paste the attached JavaScript code into the Custom JavaScript text area.
  4. Save, Publish and Open your form.
  5. Open the Chrome Developer Tools (F12 or CTRL + SHIFT + I)
    1. Ensure that the console pane is open
    2. Force the Nintex Form to refresh (F5)
    3. Inspect the JSON results returned in the console window from the Data.getSomethingWithREST() function.
      1. These results are dependent upon a "TEST" SharePoint List.

A custom SharePoint List named "TEST".

Support Info

Patrick Abel | Summit 7 Systems |


Nintex Forms 2013


SharePoint Server 2013

Office 365


Sample Form:

Screen Shot 2016-05-31 at 5.12.55 PM.png

Browser Console Output:

Screen Shot 2016-05-03 at 3.07.24 PM.png

Additional Information

Components included in the Asset:

  1. Sample form (.nfp file) demonstrating how to query the SharePoint REST service to retrieve SharePoint List data.
  2. JavaScript code snippet which is embedded in the form to illustrate the pattern for querying the REST service inside of Nintex Forms.

Nintex Xchange Terms of Use Policy

Nintex makes no warranty or guarantee about the reliability, performance, quality, or functionality of any assets, and any assets you install are therefore provided as is. By downloading this asset, you agree to the terms of use.
Version history
Revision #:
1 of 1
Last update:
‎05-03-2016 07:38 PM
Updated by: