Creating a User Event Connection Point

You can create user event scripts that use SuiteSignOn to support real-time integration between NetSuite and external applications. User event scripts execute at one of the following points:

Through SuiteSignOn, a user event script can notify an external application of record updates, passing each record ID as a URL parameter. The external application can then access NetSuite through SOAP web services calls, to acquire additional information about these records.

Important:

The external system's access to NetSuite is limited to the access available for the user who performed the action that caused user event script execution.

To make a user event script available for a SuiteSignOn connection point, you must create a JavaScript file, create a NetSuite script record, and deploy the script.

To create and deploy a SuiteSignOn user event script:

  1. Create a .js file that uses SuiteScript API.

    For information about SuiteScript 2.0 API, see sso.generateSuiteSignOnToken(options).

    For information about specifying values on the SuiteSignOn record, see Setting SuiteSignOn Basic Definitions.

  2. Create a record for the script and deploy it in NetSuite. See SuiteScript 2.x Script Creation Process.

  3. Define a user event connection point for your SuiteSignOn integration. See Defining SuiteSignOn Connection Points.

Related Topics

General Notices