Dynamic Cube View Service Type

This service type enables you to manipulate Cube View formatting and data at runtime by modifying the CubeViewItem object.

Create the service factory assembly file and then the Dynamic Cube View service Then, uncomment the appropriate lines of code. The following example is the service factory assembly file in C# with the lines for the Dynamic Cube View service uncommented.

NOTE: The file name must match the name of the returned function in the service factory file.

See Implement Dynamic Cube View Services.

Service Factory file with the case statement for Dynamic Cube Views uncommented and boxed with yellow highlight

Configure the Dynamic Cube View service with the following options:

  • In the File Name field, enter a name for the file, for example, WsasDynamicCubeView.

  • In the Source Code Type drop-down menu, select Dynamic Cube View Service.

  • In the Compiler Action drop-down menu, select (Use Default).

    NOTE: For the Compiler Action options, Disable ignores the file when the assembly is compiled. (Use Default) is the same as Compile.

Add File window with Dynamic Cube View Service selected as the Source Code Type