Modules

filter

 

Objects/Functions

module (N/query)

SuiteScript 2.0

query.listTables(options)

{query}.listTables({workbookId: {string*}})

N/query Module
query.listTables()
Method Description: Lists the table view objects that are included in a workbook in SuiteAnalytics Workbook. This method returns an array of Objects. Each Object represents a table view and includes the following properties with associated values: name — The name of the table view object scriptId — The script ID of the table view object
Returns: Array
Supported Script Types: Client and server scripts For more information, see SuiteScript 2.0 Script Types.
Governance: None
Module: N/query Module
Sibling Module Members: N/query Module Members
Since: 2020.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=query.listTables(options)

Example:

// Code Example 1
// Add additional code
//...
var tables = query.listTables({
workbookId: 'custworkbook237'
});
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_158289760700.html