N/workbook Module
Use the N/workbook module to create a new workbook, load an existing workbook, or list all existing workbooks.
A workbook can contain the following:
-
Pivots
-
Tables with columns, filters, and field contexts
-
Charts with axes and legends
-
Selectors
-
Sections
-
Data dimensions
-
Sorts
-
Conditional and limiting filters
-
Expressions
-
Data measures and calculated measures
Workbooks are where you analyze the results of your dataset queries using different components, such as table views. All workbooks are based on a dataset. For more information, see N/dataset Module. For more information about SuiteAnalytics workbooks and datasets, see the following topics:
In This Help Topic
N/workbook Module Members
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Object |
Object |
Server scripts |
An aspect. |
|
Object |
Server scripts |
A calculated measure. |
||
Object |
Server scripts |
A chart category. |
||
Object |
Server scripts |
A chart. |
||
Object |
Server scripts |
A chart axis object which is used when you create a category or a legend. |
||
Object |
Server scripts |
A selector for child nodes. |
||
Object |
Server scripts |
A color. |
||
Object |
Server scripts |
A conditional filter. |
||
Object |
Server scripts |
A conditional format. |
||
Object |
Server scripts |
A conditional format rule. |
||
Object |
Server scripts |
A currency amount and currency type. |
||
Object |
Server scripts |
A data dimension. |
||
Object |
Server scripts |
A data dimension item. |
||
Object |
Server scripts |
The value of a data dimension item. |
||
Object |
Server scripts |
The value of a data dimension. |
||
Object |
Server scripts |
A data measure. |
||
Object |
Server scripts |
A selector for descendant or self nodes. |
||
Object |
Server scripts |
A dimension selector. |
||
Object |
Server scripts |
A duration. |
||
Object |
Server scripts |
An expression. |
||
Object |
Server scripts |
A field context. |
||
Object |
Server scripts |
A font size. |
||
Object |
Server scripts |
A chart legend. |
||
Object |
Server scripts |
A limiting filter. |
||
Object |
Server scripts |
A measure selector. |
||
Object |
Server scripts |
A measure value. |
||
Object |
Server scripts |
A measure value selector. |
||
Object |
Server scripts |
A path selector. |
||
Object |
Server scripts |
A pivot definition. A pivot is a workbook component that enables you to pivot your dataset query results by defining measures and dimensions, so that you can analyze different subsets of data. |
||
Object |
Server scripts |
A pivot axis. |
||
Object |
Server scripts |
A pivot intersection. |
||
Object |
Server scripts |
A position defined by percentages of the x and y axes. |
||
Object |
Server scripts |
A position defined by units. |
||
Object |
Server scripts |
A position defined by horizontal and vertical position values. |
||
Object |
Server scripts |
A date or date-time range. |
||
Object |
Server scripts |
A record. |
||
Object |
Server scripts |
A record key. |
||
Object |
Server scripts |
A report style. |
||
Object |
Server scripts |
A report style rule. |
||
Object |
Server scripts |
A workbook section. |
||
Object |
Server scripts |
A section value. |
||
Object |
Server scripts |
A series in a workbook. A series is used when you create a chart definition. |
||
Object |
Server scripts |
A sort. |
||
Object |
Server scripts |
A sort based on a data dimension item. |
||
Object |
Server scripts |
A sort based on a measure. |
||
Object |
Server scripts |
A sort definition. |
||
Object |
Server scripts |
A style. |
||
Object |
Server scripts |
A table. |
||
Object |
Server scripts |
A table column. |
||
Object |
Server scripts |
Condition for a table view column. |
||
Object |
Server scripts |
A table column filter. |
||
Object |
Server scripts |
A workbook. Workbooks are where you analyze the results of your dataset queries using different components, such as table views and pivots. All workbooks are based on a dataset, and a single dataset can be used as the basis for multiple workbooks. |
||
Method |
Server scripts |
Creates a workbook. Workbooks are where you analyze the results of your dataset queries using different components, such as table views and pivots. All workbooks are based on a dataset, and a single dataset can be used as the basis for multiple workbooks. |
||
server scripts |
Creates an aspect for a chart series. An aspect includes a measure and an aspect type. |
|||
Server scripts |
Creates a calculated measure. |
|||
Server scripts |
Creates a chart category, which includes an axis, a data root, and a sort definition. A chart category is used in a workbook.Chart. |
|||
Server scripts |
Creates a chart. |
|||
Server scripts |
Creates an X-axis or a Y-axis for the chart. |
|||
Server scripts |
Creates a color. |
|||
Server scripts |
Creates a complex RecordKey object from another object. |
|||
Server scripts |
Creates a conditional filter. |
|||
Server scripts |
Creates a conditional format. |
|||
Server scripts |
Creates a conditional format rule. |
|||
Server scripts |
Creates a constant expression. |
|||
Server scripts |
Creates a currency. |
|||
Server scripts |
Creates a data dimension. |
|||
Server scripts |
Creates a data dimension item. |
|||
Server scripts |
Creates a data measure. |
|||
Server scripts |
Creates a dimension selector. |
|||
Server scripts |
Creates a duration. |
|||
Server scripts |
Creates an expression. |
|||
Server scripts |
Creates a field context for table column. |
|||
Server scripts |
Creates a font size. |
|||
Server scripts |
Creates a chart legend. |
|||
Server scripts |
Creates a limiting filter. |
|||
Server scripts |
Creates a measure selector. |
|||
Server scripts |
Creates a measure value selector. |
|||
Server scripts |
Creates a path selector. |
|||
Server scripts |
Creates a pivot definition. A pivot is a workbook component that enables you to pivot your dataset query results by defining measures and dimensions, so that you can analyze different subsets of data. |
|||
Server scripts |
Creates a pivot axis, which includes a data root and a sort definition. |
|||
Server scripts |
Creates a position defined by percentages of the x and y axes. |
|||
Server scripts |
Creates a position defined by units. |
|||
Server scripts |
Creates a position defined by horizontal and vertical position values. |
|||
Server scripts |
Creates a range. |
|||
Server scripts |
Creates a report style. |
|||
Server scripts |
Creates a report style rule. |
|||
Server scripts |
Creates a section. |
|||
Server scripts |
Creates a chart series, which is a set of aspects. |
|||
Server scripts |
Creates a record key. |
|||
Server scripts |
Creates a sort. |
|||
Server scripts |
Creates a sort based on a data dimension item. |
|||
Server scripts |
Creates a sort based on a measure. |
|||
Server scripts |
Creates a sort definition. |
|||
Server scripts |
Creates a style. |
|||
Server scripts |
Creates a table view. |
|||
Server scripts |
Creates a table column. |
|||
workbook. |
Server scripts |
Creates a table column condition. |
||
Server scripts |
Creates a table filter. |
|||
Server scripts |
Creates a translation (a translation expression). |
|||
Object[] |
Server scripts |
Lists all existing workbooks. |
||
PagedInfoData |
Server scripts |
Retrieves a set of pages with metadata about workbooks. |
||
Server scripts |
Loads an existing workbook. |
|||
Enum |
enum |
Server scripts |
Holds string values for aggregation types. Used to set the value of the |
|
enum |
Server scripts |
Holds string values for aspect types. Used to set the |
||
enum |
Server scripts |
Holds string values for chart types. Used to pass the type value to workbook.createChart(options) |
||
enum |
Server scripts |
Holds string values for colors. Used to set the |
||
enum |
Server scripts |
Holds string values for constant types. Used to set the value of the |
||
enum |
Server scripts |
Holds string values for workbook date-time hierarchy types. |
||
enum |
Server scripts |
Holds string values for workbook date-time property types. Used to set the value of the |
||
enum |
Server scripts |
Holds string values for workbook expression types. Use these values for the |
||
enum |
Server scripts |
Holds string values for font sizes. Used to set the value for the |
||
enum |
Server scripts |
Holds string values for font sizes. Used to set the value for the |
||
enum |
Server scripts |
Holds string values for font weights. Used to set the value for the |
||
enum |
Server scripts |
Holds string values for images that you can use in workbooks. Used as a value for the Style.backgroundImage property. |
||
enum |
Server scripts |
Holds string values for positions. Used to set the value for the PositionValues.horizontal and PositionValues.vertical properties. |
||
enum |
Server scripts |
Holds stacking types. Used to pass the stacking value to workbook.createChart(options). |
||
enum |
Server scripts |
Holds string values for temporal units, such as hours or minutes. Used to set the value of the |
||
enum |
Server scripts |
Holds string values for text alignments. Used to set the value for the |
||
enum |
Server scripts |
Holds string values for text decoration line types, such as underline and strikethrough. Used to set the value for the |
||
enum |
Server scripts |
Holds string values for text decoration line styles, such as solid and dashed. Used to set the value for the |
||
enum |
Server scripts |
Holds string values for predefined total line formats. Used to pass the totalLine value to workbook.createDataDimension(options) and to workbook.createSection(options). |
||
enum |
Server scripts |
Holds string values for units of measurement. Used to set the |
Aspect Object Members
The following members are available for a workbook.Aspect object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The measure of the aspect. |
||
string |
Server scripts |
The type of the aspect. Set this value using workbook.AspectType. |
CalculatedMeasure Object Members
The following members are available for a workbook.CalculatedMeasure object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The expression for the calculated measure. |
||
string | workbook.Expression |
Server scripts |
The label of the calculated measure. |
Category Object Members
The following members are available for a object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The axis of the category. |
||
Server scripts |
The section or data dimension (that is, the fields for the x-axis). |
|||
Server scripts |
The sort definitions of the category. |
ChartAxis Object Members
The following members are available for a workbook.ChartAxis object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The title of the chart axis. |
Chart Object Members
The following members are available for a workbook.Chart object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
Limiting and conditional filters for the chart. |
||
string |
Server scripts |
The category of the chart. |
||
Server scripts |
The underlying dataset for the chart. |
|||
Server scripts |
The filter expressions of the chart. |
|||
string |
Server scripts |
The ID of the chart. |
||
Server scripts |
The legend of the chart. |
|||
string |
Server scripts |
The name of chart. |
||
Server scripts |
The series of the chart. |
|||
string |
Server scripts |
The stacking type for the chart. |
||
string |
Server scripts |
The subtitle of the chart. |
||
string |
Server scripts |
The title of chart. |
||
Server scripts |
The type of the chart. |
Color Object Members
The following members are available for a workbook.Color object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
number |
Server scripts |
The opacity, or transparency, of the color. |
|
number |
Server scripts |
The blue portion of the color. |
||
number |
Server scripts |
The green portion of the color. |
||
number |
Server scripts |
The red portion of the color. |
ConditionalFilter Object Members
The following members are available for a workbook.ConditionalFilter object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
workbook.DescendantorSelfNodesSelector| workbook.PathSelector | workbook.DimensionSelector | workbook.ChildNodesSelector |
Server scripts |
The column selector. |
|
Server scripts |
The selected filters. |
|||
Server scripts |
The measure of the filter. |
|||
Server scripts |
The filter selector for the other axis. |
|||
Server scripts |
The actual predicate which indicates if the condition is met. |
|||
boolean |
Server scripts |
The row axis indicator. |
||
ConditionalFilter. |
workbook.DescendantorSelfNodesSelector| workbook.PathSelector | workbook.DimensionSelector | workbook.ChildNodesSelector |
Server scripts |
The row selector. |
ConditionalFormat Object Members
The following members are available for a workbook.ConditionalFormat object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The conditional formatting rules that are included in the conditional format. |
ConditionalFormatRule Object Members
The following members are available for a workbook.ConditionalFormatRule object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The filter that determines which rows or cells to apply the conditional format to. |
||
Server scripts |
The style to apply as the conditional format. |
Currency Object Members
The following members are available for a workbook.Currency object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
number |
Server scripts |
The amount of the currency. |
|
string |
Server scripts |
The ID of the currency (for example, USD, EUR, GBP, and so on). |
DataDimension Object Members
The following members are available for a workbook.DataDimension object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Array<workbook.DataDimension | workbook.Section> |
Server scripts |
The children of the data dimension. |
|
Server scripts |
The items of the data dimension. |
|||
string |
Server scripts |
The formatting option for the total line. Set this value using workbook.TotalLine. |
DataDimensionItem Object Members
The following members are available for a workbook.DataDimensionItem object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The expression of data dimension item. |
||
string |
Server scripts |
The label of the data dimension item. |
DataDimensionItemValue Object Members
The following members are available for a workbook.DataDimensionItemValue object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The data dimension item. |
||
string | number | boolean | workbook.Record | workbook.Currency | workbook.Range | workbook.Duration |
Server scripts |
The value of the data dimension item. |
DataDimensionValue Object Members
The following members are available for a workbook.DataDimensionValue object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The data dimension. |
||
Server scripts |
The item values for the data dimension. |
DataMeasure Object Members
The following members are available for a workbook.DataMeasure object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The aggregation of the data measure. |
|
Server scripts |
The expression for the data measure. This property is used if the data measure is a single-expression measure. |
|||
Server scripts |
The expressions for the data measure. This property is used if the data measure is a multiple-expression measure. |
|||
string | workbook.Expression |
Server scripts |
The label of the data measure. |
DimensionSelector Object Members
The following members are available for a workbook.DimensionSelector object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The dimension of the dimension selector. |
Duration Object Members
The following members are available for a workbook.Duration object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
number |
Server scripts |
The amount of the duration. |
|
Object |
Server scripts |
The units of the duration. |
Expression Object Members
The following members are available for a workbook.Expression object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The ID of the function used in the expression. |
|
Object |
Server scripts |
The parameters of the expression. |
FieldContext Object Members
The following members are available for a workbook.FieldContext object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The name of the field context (for example, DISPLAY or CONSOLIDATED) |
|
Object |
Server scripts |
The parameters of the field context. |
FontSize Object Members
The following members are available for a workbook.FontSize object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
number |
Server scripts |
The numeric size of the font size. |
|
string |
Server scripts |
The unit of the font size. |
Legend Object Members
The following members are available for a object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The axes of the legend. |
||
Server scripts |
The section or data dimension (that is., the fields for the y-axis). |
|||
Server scripts |
The sort definitions of the legend. |
LimitingFilter Object Members
The following members are available for a workbook.LimitingFilter object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The selected filter. |
||
number |
Server scripts |
The limit number for the filter. |
||
boolean |
Server scripts |
The row axis indicator for the filter. |
||
Array<workbook.SortByDataDimensionItem | workbook.SortByMeasure> |
Server scripts |
The ordering elements of the filter. |
MeasureSelector Object Members
The following members are available for a workbook.MeasureSelector object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The measures for the measure selector. |
MeasureValue Object Members
The following members are available for a workbook.MeasureValue object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The measure to use for the measure value. |
||
string | number | boolean | workbook.Record | workbook.Currency | workbook.Range | workbook.Duration |
Server scripts |
The value to use for the measure value. |
MeasureValueSelector Object Members
The following members are available for a workbook.MeasureValueSelector object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
workbook.DimensionSelector | workbook.PathSelector | workbook.DescendantorSelfNodesSelector |
Server scripts |
The column selector. |
|
Server scripts |
The measure selectors. |
|||
workbook.DimensionSelector | workbook.PathSelector | workbook.DescendantorSelfNodesSelector |
Server scripts |
The row selector. |
PathSelector Object Members
The following members are available for a workbook.PathSelector object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The elements denoting 'xpath' of the selector. |
PivotAxis Object Members
The following members are available for a workbook.PivotAxis object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The data for the pivot axis. |
||
Server scripts |
The sort definitions of the pivot axis. |
Pivot Object Members
The following members are available for a workbook.Pivot object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The limiting and conditional filters of the pivot definition. |
||
Server scripts |
The column axis of the pivot definition. |
|||
Server scripts |
The underlying dataset of the pivot definition. |
|||
Server scripts |
Underlying dataset for the pivot. |
|||
Server scripts |
The filter expressions of the pivot definition. |
|||
string |
Server scripts |
The ID of the pivot definition. |
||
string |
Server scripts |
The name of the pivot definition. |
||
string | workbook.Expression |
Server scripts |
The name of the portlet for the pivot. |
||
Server scripts |
Report styles for the pivot. |
|||
Server scripts |
The row axis of the pivot definition. |
PivotIntersection Object Members
The following members are available for a workbook.PivotIntersection object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The column dimension value. |
||
Server scripts |
The measure values in the pivot intersection. |
|||
Server scripts |
The row dimension value. |
PositionPercent Object Members
The following members are available for a workbook.PositionPercent object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
number |
Server scripts |
The percentage of the x dimension. |
|
number |
Server scripts |
The percentage of the y dimension. |
PositionUnits Object Members
The following members are available for a workbook.PositionUnits object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The units for the position. |
|
number |
Server scripts |
The x value of the position. |
||
number |
Server scripts |
The y value of the position. |
PositionValues Object Members
The following members are available for a workbook.PositionValues object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The horizontal value of the position. |
|
string |
Server scripts |
The vertical value of the position. |
Range Object Members
The following members are available for a workbook.Range object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The end date or date-time of the range. |
|
string |
Server scripts |
The start date or date-time of the range. |
Record Object Members
The following members are available for a workbook.Record object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The name of the record type for the record. |
|
number |
Server scripts |
The primary key of the record. |
||
Object |
Server scripts |
The properties of the record. |
RecordKey Object Members
The following members are available for a workbook.RecordKey object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Object |
Server scripts |
The properties of the record key. |
ReportStyle Object Members
The following members are available for a workbook.ReportStyle object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The formatting rules for the report style. |
||
Server scripts |
The selectors for the report style. |
ReportStyleRule Object Members
The following members are available for a workbook.ReportStyleRule object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
A boolean expression indicating whether the style should be applied. |
||
Server scripts |
The style to be applied. |
Section Object Members
The following members are available for a workbook.Section object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Array<workbook.CalculatedMeasure | workbook.DataMeasure | workbook.DataDimension | workbook.DataDimensionItem> |
Server scripts |
The children of the section. |
|
string |
Server scripts |
The formatting option for the total line. Set this value using workbook.TotalLine. |
SectionValue Object Members
The following members are available for a workbook.SectionValue object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The section of the section value. |
Series Object Members
The following members are available for a workbook.Series object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The aspects for the series. |
Sort Object Members
The following members are available for a workbook.Sort object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
boolean |
Server scripts |
When set to true, indicates the sort is in ascending order. |
|
boolean |
Server scripts |
When set to true, indicates the sort is case sensitive. |
||
query.SortLocale (read-only) |
Server scripts |
The locale of the sort. |
||
boolean |
Server scripts |
When set to true, indicates that nulls are placed last in the sort. |
||
number |
Server scripts |
Sort order indicator. |
SortDefinition Object Members
The following members are available for a workbook.SortDefinition object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The selector for the sort definition. |
||
Array<workbook.SortByDataDimensionItem | workbook.SortByMeasure> |
Server scripts |
The sort order for the sort definition. |
SortByDataDimensionItem Object Members
The following members are available for a workbook.SortByDataDimensionItem object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The data dimension item to use for the sort. |
||
Server scripts |
The sort to use. |
SortByMeasure Object Members
The following members are available for a workbook.SortByMeasure object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The measure for the sort. |
||
workbook.DescendantorSelfNodesSelector | workbook.PathSelector | workbook.DimensionSelector |
Server scripts |
The selector for the axis that is not defined in the associated sort definition. |
||
Server scripts |
The sort to use. |
Style Object Members
The following members are available for a workbook.Style object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string | workbook.Color |
Server scripts |
The background color of the style. |
|
string |
Server scripts |
The background image of the style. |
||
workbook.PositionPercent | workbook.PositionUnits | workbook.PositionValues |
Server scripts |
The background position of the style. |
||
string | workbook.Color |
Server scripts |
The color of the style. |
||
string | workbook.FontSize |
Server scripts |
The font size of the style. |
||
string |
Server scripts |
The font style of the style. |
||
string |
Server scripts |
The font weight of the style. |
||
string |
Server scripts |
The text alignment of the style. |
||
string | workbook.Color |
Server scripts |
The text decoration color of the style. |
||
string |
Server scripts |
The text decoration line of the style. |
||
string |
Server scripts |
The text decoration style of the style. |
Table Object Members
The following members are available for a workbook.Table object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The columns in the table view. |
||
Server scripts |
The dataset for the table view. |
|||
string |
Server scripts |
The ID of the table view. |
||
string | workbook.Expression |
Server scripts |
The label of the table view. |
TableColumn Object Members
The following members are available for a workbook.TableColumn object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The alias for the table column. |
|
string |
Server scripts |
The alias of the dataset column from which the table column was created. |
||
Server scripts |
The field context for the field used in the table column. |
|||
Server scripts |
The filters for the table column. |
|||
string |
Server scripts |
The label for the table column. |
||
Server scripts |
The sort for the table column. |
|||
number |
Server scripts |
The desired width of the table column when displayed in the UI. |
TableColumnCondition Object Members
The following members are available for a workbook.TableColumnCondition object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
Server scripts |
The filters for the condition |
||
string |
Server scripts |
The operator for the condition. |
TableColumnFilter Object Members
The following members are available for a workbook.TableColumnFilter object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Property |
string |
Server scripts |
The operator for the table column filter. |
|
Array<null | Object | boolean | number | string | Date> |
Server scripts |
The values for the table column filter. |
Workbook Object Members
The following members are available for a workbook.Workbook object.
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Method |
Server scripts |
Runs a pivot in the workbook and returns the results as a set of row-column intersections. |
||
Property |
string |
Server scripts |
The description of the workbook. |
|
string |
Server scripts |
The ID of the workbook. |
||
string |
Server scripts |
The name of the workbook. |
||
Server scripts |
The pivots in the workbook. |
|||
Server scripts |
The tables in the workbook. |