Navigation :
test ../../ test user-ref.html
User & Reference Guide
test ../../ test dev.html
Developer Guide
test ../../ test dev/dev-release.html
-
Release and migration notes
test ../../ test dev/dev-release/release-notes.html
-- Release notes
test ../../ test dev/dev-release/migrate-5.1.html
-- Migration notes 5.1
test ../../ test dev/dev-release/previous-migration.html
--
Previous migration notes
test ../../ test dev/dev-getting-started.html
-
Getting started
test ../../ test dev/dev-ui-config.html
-
Configuring the UI
test ../../ test dev/dev-extensions.html
-
Extending Atoti CVA Risk Capital
test ../../ test dev/dev-extensions/adding-a-measure.html
-- Adding New Cube Measures
test ../../ test dev/dev-extensions/adding-a-field.html
-- Adding a Field
test ../../ test dev/dev-extensions/adding-a-new-file.html
-- Adding a File
test ../../ test dev/dev-extensions/adding-a-hierarchy.html
-- Adding a Hierarchy
test ../../ test dev/dev-extensions/column-calculators.html
-- Column Calculators
test ../../ test dev/dev-extensions/examples-datastorehelpers.html
-- Datastore Helper Examples
test ../../ test dev/dev-extensions/doctorpivot.html
-- DoctorPivot - viewing measures and PostProcessors
test ../../ test dev/dev-extensions/navigating-managerdesc.html
-- Navigating managerDesc
test ../../ test user-getting-started.html
Getting started
test ../../ test user-getting-started/about-guide.html
- Using this guide
test ../../ test user-getting-started/pdf.html
- PDF guides
test ../../ test user-getting-started/about-cvarc.html
- About the Solution
test ../../ test user-getting-started/whats-new.html
- What's New
test ../../ test user-getting-started/bookmarks.html
- Bookmarks
test ../../ test regulatory-calcs.html
Regulatory calculations
test ../../ test configuration.html
Configuration files
test ../../ test cube.html
Cube reference
test ../../ test input-files.html
Input file formats
test ../../ test what-if.html
What-If
test ../../ test widgets.html
Widgets
Navigating managerDesc
This page provides a description of how we can navigate the Schema. a field as a hierarchy. Navigating the Schema is currently the best way to add hierarchies and measures. The best way to get a sense of the structure of the ManagerDesc is using the debugger. The techniques employed are generic examples that can be extended, adapted and repeated for any use case that we need.
Step 1 - Finding Manager Description
Navigate to the method managerDescription() inside of /cvarc-starter/src/main/java/com/activeviam/cvarc/starter/cfg/impl/OlapModelConfig.java and place a break point on the return statement found at the end of the method
Step 2 - Finding Elements
Inside of the Variables section of the debugger the tree you want to navigate would be the managerDesc please see two examples below:
Example 1: Dimensions
managerDesc.getSchemas().get(1).getActivePivotSchemaDescription().getActivePivotInstanceDescriptions().get(0).getActivePivotDescription().getAxisDimensions().getValues()
all we need to do to add a custom Hierarchy to the SACube is configure a new Heirarchy object and add it to values. For more info CLICK HERE .
Example 2: Measures
managerDesc.getSchemas().get(1).getActivePivotSchemaDescription().getActivePivotInstanceDescriptions().get(0).getActivePivotDescription().getMeasuresDescription().getValues()
all we need to do to add a custom Measure to the SACube is configure a new measure object and add it to values. For more info CLICK HERE .
Keep in mind modifications to other Cubes, for instance BA would follow the same pattern, just the selected schema would change as shown below