Child pages
  • Implementing Business Logic

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create a Global Variable (two ways):

Way 1:

  1. From the Solution Explorer tree, navigate to the Active Solution > Globals > variables node.

  2. Right-click the variables node and select Create Variable from the pop-up menu.

  3. Choose a variable name, a data type and optionally choose an initial value and click OK. The variable declaration will be generated in the globals.js file, which will be opened in the Script Editor.

Way 2:

  1. From the Solution Explorer tree, navigate to the Active Solution > Globals > variables node.

  2. Highlight the variables node and click the Create Variable button from the lower toolbar in the Solution Explorer.

  3. Choose a variable name, a data type and optionally choose an initial value and click OK. The variable declaration will be generated in the globals.js file, which will be opened in the Script Editor.

Create a Form Variable (two ways):

  • From the Solution Explorer tree, navigate to the Active Solution > Forms > myForm > variables node. Right-click the variables node and select Create Variable from the pop-up menu. Choose a variable name, a data type and optionally choose an initial value and click OK. The variable declaration will be generated in the myForm.js file, which will be opened in the Script Editor.
  • From the Solution Explorer tree, navigate to the Active Solution > Forms > myForm > variables node. Highlight the variables node and click the Create VariableOK button from the lower toolbar in the Solution Explorer. Choose a variable name, a data type and optionally choose an initial value and click. The variable declaration will be generated in the myForm.js file, which will be opened in the Script Editor.

...

  • From the Solution Explorer tree, navigate to the Active Solution > Globals node. Right-click the Globals node and select Create Method from the pop-up menu. Choose a method name and click OK. The method declaration will be generated in the globals.js file, which will be opened in the Script Editor.
  • From the Solution Explorer tree, navigate to the Active Solution > Globals node. Highlight the Globals node and click the Create Method button from the lower toolbar in the Solution Explorer. Choose a method name and click OK. The method declaration will be generated in the globals.js file, which will be opened in the Script Editor.

...

  • From the Solution Explorer tree, navigate to the Active Solution > Forms > myForm node. Highlight the myForm node and click the Create Method button from the lower toolbar in the Solution Explorer. Choose a method name and click OK. The method declaration will be generated in the myForm.js file, which will be opened in the Script Editor.

...

  • From the Solution Explorer tree, navigate to and highlight a node for a scriptable resource, (i.e. Active Solution > Forms > myForm > controller). In the list of methods and properties provided in the lower part of the Solution Explorer, right-click the method or property that you wish to invoke and select Move Code. The code will be copied into the Script Editor and will be referenced with the correct namespace for the current scope. You may need to fill in specific arguments.

...

  • From the Solution Explorer tree, navigate to and highlight a node for a scriptable resource, (i.e. Active Solution > Forms > myForm > controller). In the list of methods and properties provided in the lower part of the Solution Explorer, right-click the method or property that you wish to invoke and select Move Sample. A verbose, commented sample will be copied into the Script Editor.

...