new nlobjList() → {nlobjList}
Return a new instance of nlobjList used for scriptable list page.
- Source:
- nlapihandler_stubs.js, line 3457
Returns:
- Type
- nlobjList
Methods
-
addButton(name, label, script)
-
add a button (nlobjButton) to the footer of this page.
Parameters:
Name Type Description name
string button name label
string button label script
string button script (function name) - Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 3532
-
addColumn(name, type, label, align) → {nlobjColumn}
-
add a column (nlobjColumn) to this list and return it.
Parameters:
Name Type Argument Description name
string column name type
string column type label
string column label align
string <optional>
column alignment - Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 3494
Returns:
- Type
- nlobjColumn
-
addEditColumn(column, showView, showHref) → {nlobjColumn}
-
add an Edit column (nlobjColumn) to the left of the column specified.
Parameters:
Name Type Argument Description column
nlobjColumn showView
boolean should Edit|View instead of Edit link showHref
string <optional>
column that evaluates to T or F that determines whether to disable the edit|view link per-row. - Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 3506
Returns:
- Type
- nlobjColumn
-
addPageLink(type, title, url)
-
add a navigation cross-link to the page.
Parameters:
Name Type Description type
string page link type: crosslink|breadcrumb title
string page link title url
string URL for page link - Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 3542
-
addRow(row)
-
add a row (Array of name-value pairs or nlobjSearchResult) to this portlet.
Parameters:
Name Type Description row
string[], nlobjSearchResult data used to add a single row - Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 3514
-
addRows(rows)
-
add multiple rows (Array of nlobjSearchResults or name-value pair Arrays) to this portlet.
Parameters:
Name Type Description rows
string[][], nlobjSearchResult[] data used to add multiple rows - Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 3522
-
setScript(script)
-
set the Client SuiteScript used for this page.
Parameters:
Name Type Description script
string, int script ID or internal ID for global client script used to enable Client SuiteScript on page - Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 3481
-
setStyle(style)
-
set the global style for this list: grid|report|plain|normal.
Parameters:
Name Type Description style
string overall style used to render list - Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 3473
-
setTitle(title)
-
set the page title.
Parameters:
Name Type Description title
string - Since:
- 2008.2
- Source:
- nlapihandler_stubs.js, line 3465