Child pages
  • Globals

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Array
Table Cell (td)
#allmethods
Get all global script names of the current solution.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Array
Table Cell (td)
#allrelations
Get all global relation names of the current solution.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Array
Table Cell (td)
#allvariables
Get all global variable names of the current solution.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
controller
Table Cell (td)
#currentcontroller
Get the controller of the top level form in the currently active dialog.

HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Property Details
Table Body (tbody)
idallmethods
classnode
Table Row (tr)
idname
Table Cell (td)
allmethods
Table Row (tr)
iddes
Table Cell (td)
Get all global script names of the current solution.
Table Row (tr)
idret
Table Cell (td)
Returns
Array
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var allMethodNames = globals.allmethods;
application.output("There are " + allMethodNames.length + " global methods.");
for (var i=0; i<allMethodNames.length; i++)
	application.output(allMethodNames[i]);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idallrelations
classnode
Table Row (tr)
idname
Table Cell (td)
allrelations
Table Row (tr)
iddes
Table Cell (td)
Get all global relation names of the current solution.
Table Row (tr)
idret
Table Cell (td)
Returns
Array
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var allRelationNames = globals.allrelations;
application.output("There are " + allRelationNames.length + " global relations.");
for (var i=0; i<allRelationNames.length; i++)
	application.output(allRelationNames[i]);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idallvariables
classnode
Table Row (tr)
idname
Table Cell (td)
allvariables
Table Row (tr)
iddes
Table Cell (td)
Get all global variable names of the current solution.
Table Row (tr)
idret
Table Cell (td)
Returns
Array
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var allVarNames = globals.allvariables;
application.output("There are " + allVarNames.length + " global variables.");
for (var i=0; i<allVarNames.length; i++)
	application.output(allVarNames[i]);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idcurrentcontroller
classnode
Table Row (tr)
idname
Table Cell (td)
currentcontroller
Table Row (tr)
iddes
Table Cell (td)
Get the controller of the top level form in the currently active dialog.
Table Row (tr)
idret
Table Cell (td)
Returns
controller
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
application.output("Current controller is: " + currentcontroller.getName());
Table Row (tr)
classlastDetailRow
Table Cell (td)