Skip to main content

%DeepSee.UI.Dialog.PivotVariable

Class %DeepSee.UI.Dialog.PivotVariable Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]

This dialog lets the user create or edit a pivot variable within a DeepSee pivot table.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

cubeName

Property cubeName As %ZEN.Datatype.string(ZENURL = "CUBE");

Cube name.

variableName

Property variableName As %ZEN.Datatype.string(ZENURL = "VARIABLE");

XDatas

Style

XData Style

dialogBody

XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]

Contents of the dialog body.

Methods

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the dialog. This should be implemented in a subclass.

%OnGetSubtitle

Method %OnGetSubtitle() As %String

Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

ondialogFinish

ClientMethod ondialogFinish(action) As %Boolean [ Language = javascript ]

This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

ondialogStart

ClientMethod ondialogStart() [ Language = javascript ]

This callback, if defined, is called when the dialog page is loaded.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

SavePivotVariable

ClassMethod SavePivotVariable(pCube As %String, pVariableName As %String, pDisplayName As %String, pDescription As %String, pDefValue As %String, pContext As %String, pType As %String, pSourceType As %String, pSourceName As %String, pValueList As %String, pDisplayList As %String) As %String [ ZenMethod ]

Save a pivot variable.

PivotVariableExists

ClassMethod PivotVariableExists(pCube As %String, pVariableName As %String) As %Boolean [ ZenMethod ]

Test if pivot variable exists.

typeChange

ClientMethod typeChange() [ Language = javascript ]

loadTermlist

ClientMethod loadTermlist() [ Language = javascript ]

Launch the termlist finder dialog.

loadKPI

ClientMethod loadKPI() [ Language = javascript ]

Launch the KPI finder dialog.

onPopupAction

ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]

This client event is fired when the a popup page launched from this page fires an action.