Set Grid Preferences
/essbase/rest/v1/preferences/grid
Sets the grid preferences for the current session.
Request
Grid preferences to be stored in the session.
object
-
cellText:
boolean
-
columnSupression:
object ColumnSuppression
-
formulaRetention:
object FormulaRetention
-
includeDescriptionLabel:
boolean
-
includeSelection:
boolean
Display the selected member and the members retrieved as a result of the operation.
-
indentation:
string
Allowed Values:
[ "NONE", "SUBITEMS", "TOTALS" ]
How hierarchy levels are indented. NONE: No indentation. SUBITEMS: Indent descendants. Ancestors are left-justified in the column. TOTALS: Indent ancestors. Descendants are left-justified in the column.
-
maxColumns:
integer(int64)
-
maxRows:
integer(int64)
-
missingText:
string
The string displayed for cells that have no data value. Default is #Missing.
- navigate: boolean
-
noAccessText:
string
The string displayed when you do not have the proper security access to view a data value. Default is #NoAccess.
-
removeUnSelectedGroup:
boolean
For Zoom In or Zoom Out, remove all dimensions and members except the selected member and the members retrieved as a result of zooming.
-
repeatMemberLabels:
boolean
Whether to repeat member labels in each row or column cell that represents a data point. Setting to true can help with legibility in large grids that require scrolling.
-
rowSupression:
object RowSuppression
-
withinSelectedGroup:
boolean
Perform ad hoc operations only on the selected group of cells, leaving unselected cells as is. This setting is meaningful only when there are two or more dimensions down the grid as rows or across the grid as columns. For Zoom, Keep Only, and Remove Only.
-
zoomIn:
object ZoomIn
object
-
derived:
boolean
Whether to suppress columns containing only data derived from a calculation.
-
emptyBlocks:
boolean
Whether to suppress columns containing only cells for which no data exists in the database.
-
error:
boolean
-
invalid:
boolean
Whether to suppress columns that contain only invalid values -- cells that are empty only because they are not associated with the context attribute or varying attribute.
-
missing:
boolean
Whether to suppress columns containing only #Missing values.
-
noAccess:
boolean
Whether to suppress columns containing only values that you do not have the security access to view.
-
underScore:
boolean
Whether to suppress columns that contain underscore characters in member names.
-
zero:
boolean
Whether to suppress columns that contain only zeroes.
object
-
derived:
boolean
Whether to suppress rows containing only data derived from a calculation.
-
emptyBlocks:
boolean
Whether to suppress rows containing only cells for which no data exists in the database.
-
error:
boolean
-
invalid:
boolean
Whether to suppress rows that contain only invalid values -- cells that are empty only because they are not associated with the context attribute or varying attribute.
-
missing:
boolean
Whether to suppress rows containing only #Missing values.
-
noAccess:
boolean
Whether to suppress rows containing only values that you do not have the security access to view.
-
underScore:
boolean
Whether to suppress rows that contain underscore characters in member names.
-
zero:
boolean
Whether to suppress rows that contain only zeroes.
object
-
ancestor:
string
Allowed Values:
[ "TOP", "BOTTOM" ]
-
mode:
string
Allowed Values:
[ "CHILDREN", "DESCENDENTS", "BASE" ]
Response
- application/json
- application/xml
200 Response
OK
Grid preferences set successfully.
400 Response
Bad Request
Failed to set grid preferences. The session may be invalid.
500 Response
Internal Server Error.