Skip to content

Commit 204a221

Browse files
authored
Merge pull request #90 from teccod/master
Fix for Actions Work in DSW with KPI
2 parents e7bde20 + 81f22fd commit 204a221

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

MDX2JSON/Utils.cls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ ClassMethod ExecuteAction(Cube As %String, Action As %String, Context As %ZEN.pr
346346
{
347347
set st = $$$OK
348348
set Cube = $$$UPPER(Cube)
349+
set:$FIND(Cube, ".KPI") Cube = $TRANSLATE(Cube, ".KPI", "") // cut off extension ".kpi" from Cube name if there any
349350
set ActionClass = $G($$$DeepSeeMetaGLVN("cubes",Cube,"actionClass"), $G($$$DeepSeeMetaGLVN("kpis",Cube)))
350351
if (ActionClass'="") {
351352
set st = $classmethod(ActionClass,"%OnDashboardAction",Action,Context)

0 commit comments

Comments
 (0)