Step 6: Configure custom Analyzer actions
Define custom actions in Mondrian
<Dimension foreignKey="STATUS" name="Order Status">
<Hierarchy hasAll="true" allMemberName="All Status Types" primaryKey="STATUS">
<Level name="Type" column="STATUS" type="String" uniqueMembers="true" levelType="Regular" hideMemberIf="Never">
<Annotations>
<Annotation name="AnalyzerCustomAction">Custom action 3,customHandlerThree</Annotation>
<Annotation name="AnalyzerCustomAction2">Custom action 4,customHandlerFour</Annotation>
</Annotations>
</Level>
</Hierarchy>
</Dimension><Measure name="Sales" column="TOTALPRICE" formatString="#,###" aggregator="sum" description="Foo">
<Annotations>
<Annotation name="AnalyzerBusinessGroup">Measures</Annotation>
<Annotation name="AnalyzerCustomAction">Custom action 1,customHandlerOne</Annotation>
<Annotation name="AnalyzerCustomAction2">Custom action 2,customHandlerTwo</Annotation> </Annotations>
<CalculatedMemberProperty name="CHART_SERIES_COLOR" value="#0d8ecf" />
</Measure>Implement a custom action JavaScript function
Determine when to show a custom action
PreviousStep 5: Disable drill-through linksNextLocalization and internationalization of analysis schemas
Last updated
Was this helpful?

