Property Summery | |
---|---|
Array | #allmethods Get all global script names of the current solution. |
Array | #allrelations Get all global relation names of the current solution. |
Array | #allvariables Get all global variable names of the current solution. |
controller | #currentcontroller Get the controller of the top level form in the currently active dialog. |
Property Details |
---|
allmethods |
Get all global script names of the current solution. |
Returns Array |
Samplevar allMethodNames = globals.allmethods; application.output("There are " + allMethodNames.length + " global methods."); for (var i=0; i<allMethodNames.length; i++) application.output(allMethodNames[i]); |
allrelations |
Get all global relation names of the current solution. |
Returns Array |
Samplevar allRelationNames = globals.allrelations; application.output("There are " + allRelationNames.length + " global relations."); for (var i=0; i<allRelationNames.length; i++) application.output(allRelationNames[i]); |
allvariables |
Get all global variable names of the current solution. |
Returns Array |
Samplevar allVarNames = globals.allvariables; application.output("There are " + allVarNames.length + " global variables."); for (var i=0; i<allVarNames.length; i++) application.output(allVarNames[i]); |
currentcontroller |
Get the controller of the top level form in the currently active dialog. |
Returns controller |
Sampleapplication.output("Current controller is: " + currentcontroller.getName()); |