We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9809670 commit af2b039Copy full SHA for af2b039
src/commands/newFile.ts
@@ -835,6 +835,17 @@ Method %OnLoadKPI() As %Status
835
Return $$$OK
836
}
837
838
+${
839
+ kpiType == "sql"
840
+ ? `/// Return a SQL statement to execute.\nMethod %OnGetSQL(ByRef pSQL As %String)`
841
+ : kpiType == "mdx"
842
+ ? `/// Return an MDX statement to execute.\nMethod %OnGetMDX(ByRef pMDX As %String)`
843
+ : `/// Get the data for this KPI manually.\nMethod %OnExecute()`
844
+} As %Status
845
+{
846
+ Return $$$OK
847
+}
848
+
849
/// This callback is invoked from a dashboard when an action defined by this dashboard is invoked.
850
ClassMethod %OnDashboardAction(pAction As %String, pContext As %ZEN.proxyObject) As %Status
851
{
0 commit comments