Cube Edit

Adds or removes dimensions from a cube.

These limitations apply:

  • Rules are not changed but rules are recompiled.
  • Accelerators are reattached.
  • The Alea:CachePartitionDimension and Alea:MeasureDimension extended properties are removed if the appropriate dimension is removed.
  • The cache is deleted and recreated if necessary.
  • The Alea:FormatDimension extended property is reset to an empty string if the appropriate dimension is removed.

Request

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="001" Class="Cube" Method="Edit">
    <Alea:Cube Name="Example">
      <Alea:Dimension Name="TIME" />
      <Alea:Dimension Name="PROFIT" />
      <Alea:Dimension Name="PRODUCT" />
      <!-- the following dimension is added -->     
      <Alea:Dimension Name="INTERCO" TargetElement="-" />
      <Alea:RemoveDimension Name="UNIT" SourceElement="C1101" />
    </Alea:Cube>
  </Alea:Request>
</Alea:Document>

The Alea:Dimension attribute is the dimension on which to perform the action. If Alea:Dimension is specified with no tag, then no action is taken on the specified dimension.

If the TargetElement attribute is specified, the dimension is added to the cube. The dimension must not exist in cube. The cube is recalculated with the specified target element. The element can consist the hierarchy name delimited by a Tab character.

The SourceElement attribute can only be specified with the RemoveDimension tag. The specified dimension is removed from the cube. The specified dimension must already exist in the cube. The cube is recalculated with the specified source element. The element can consist the hierarchy name delimited by a tabulator character. For example, if you specify Total, the cube is recalculated based on the Total element from the old dimension.

Answer

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="001">
    <Alea:Return/>
  </Alea:Request>
</Alea:Document>

Error

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="001">
    <Alea:Error ErrorID="error_code"/>
  </Alea:Request>
</Alea:Document>