Reading Published Resource Data in Form and Scheduled Scripts in SuiteProjects Pro

Note:

The functionality described in this topic requires the following feature and role permission. For more information about the features enabled for your SuiteProjects Pro account or about your role permissions, contact your account administrator.

  • Feature: Business Intelligence Connector

  • Role permission: Publish reports, in addition to platform permissions required to access user scripting (see Platform Role Permissions).

You can access your published list and report data in your form and scheduled scripts using the following functions:

User scripting support for reading your published resource data has the following benefits:

For more information, see the User Scripting.

Important:

Both form and scheduled scripts support the NSOA.listview.data(listviewId) function. However, the number of items you can process in form scripts is restricted by their run time limit. The function is best suited for reading published list data in scheduled scripts, which allow up to 1 hour of JS runtime.

Example of scheduled script using the NSOA.listview.list() function.

Related Topics: