SuiteScript 2.x Suitelet Script Type

Suitelets are extensions of the SuiteScript API that let you build custom NetSuite pages and backend logic. Suitelets are server scripts that use a request-response model and respond to HTTP GET or POST requests at system-generated URLs.

There are two types of Suitelets:

  1. Suitelets use UI objects to create custom pages that look like NetSuite pages. SuiteScript UI objects encapsulate the elements for building NetSuite-looking portlets, forms, fields, sublists, tabs, lists, and columns.

  2. Backend Suitelets do not use any UI objects and execute backend logic, which can then be parsed by other parts of a custom application. Backend Suitelets work best when you use them for:

    • Providing a service for backend logic to other SuiteScripts.

    • Offloading server logic from client scripts to a backend Suitelet shipped without source code to protect sensitive intellectual property.

Note:

Suitelets are not intended for use in systems integration use cases.

Suitelets are not intended to work inside web stores. Use online forms if you want to embed forms in a web store.

Important:

RESTlets can be used as an alternative to backend Suitelets.

The concurrent request limit for Suitelets available without login is the same as for RESTlets. For information about the account limits, see Web Services and RESTlet Concurrency Governance. For Suitelets that require login, there’s currently no limit on concurrent requests.

You can use SuiteCloud Development Framework (SDF) to manage Suitelets as part of file-based customization projects. For information about SDF, see SuiteCloud Development Framework. You can use the Copy to Account feature to copy a Suitelet to another one of your accounts. Each Suitelet page has a Copy to Account option in the top right corner you can click. For information about Copy to Account, see Copy to Account.

Custom Header use:

You can use SuiteScript Analysis to see when the script was installed and how it’s performed over time. For more information, see Analyzing Scripts.

See the following for more information about the Suitelet script type:

Also see the Suitelets and UI Object Best Practices section in the SuiteScript Developer Guide for a list of best practices to follow when using client scripts.

Related Support Article

Related Topics

General Notices