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 68d9a7f commit 7a0df21Copy full SHA for 7a0df21
src/commands/newFile.ts
@@ -816,7 +816,16 @@ XData RuleDefinition [ XMLNamespace = "http://www.intersystems.com/rule" ]
816
${typeof desc == "string" ? "/// " + desc.replace(/\n/g, "\n/// ") : ""}
817
Class ${cls} Extends %DeepSee.KPI
818
{
819
-
+ ${
820
+ api
821
+ ? `
822
+ /*
823
+ You can test this KPI by pasting the following URL into your web browser.
824
+ ${api.config.https ? "https" : "http"}://${api.config.host}:${api.config.port}${
825
+ api.config.pathPrefix
826
+ }/csp/${api.config.ns.toLowerCase()}/${cls}.cls\n*/\n`
827
+ : ""
828
+ }
829
Parameter DOMAIN = "${kpiDomain}";
830
831
Parameter RESOURCE = "${kpiResource == "No Resource" ? "" : kpiResource}";
0 commit comments