PathSelector.elements

Note:

The content in this help topic applies to SuiteScript 2.x.

Property Description

The elements denoting 'xpath' of the path selector.

Type

workbook.DimensionSelector

Module

N/workbook Module

Parent Object

workbook.PathSelector

Sibling Object Members

PathSelector Object Members

Since

2020.2

Errors

Error Code

Thrown If

WRONG_PARAMETER_TYPE

The value specified for this property is not a workbook.DimensionSelector.

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/workbook Module Script Samples.

            // Add additional code
...
// View PathSelector.elements in a PivotDefinition
var myWorkbook = workbook.load({
    id: myWorkbookId
});
log.debug ({
    title: 'PathSelector.elements = ',
    details: myWorkbook.pivotDefinitions[0].aggregationFilters[0].filteredNodesSelector.elements
});
...
// Add additional code 

          

Related Topics

workbook.PathSelector
N/workbook Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices