SetCubeResult SetCube(CubeId tCube, SetCubeArg tArg)
tCube. Opened cube instance moniker.
tArg. Metadata change parameters.
The SetCube operation changes cube metadata.
This operation enables the user to change the following cube structure settings:
Set of dimensions.
Display versions.
Controlling dimension parameters.
Source cubes and dimension fixation parameters on working with cube view.
Aggregation by cube dimension.
To execute the operation, in the tCube parameter specify the opened cube instance moniker and in the tArg parameter specify parameters, according to which the changes must be made. The moniker can be obtained on executing the OpenCube operation. The cube must be opened for edit. The tArg.pattern field is used to specify the pattern of changing the cube structure, and the tArg.meta field contains updated metadata.
The operation results in the changed cube moniker and requested metadata that can be specified in the tArg.metaGet pattern.
To save the changes, execute the SaveObject or SaveObjectAs operation after the SetCube operation.
NOTE. Foresight Analytics Platform enables the user to change only standard cube structure.
Various methods of using this operation are given in the following examples:
Example name |
Adding a Dimension to Cube Structure |
Setting Up Cube Aggregation |
See also: