Child pages
  • Implementing Business Logic

Versions Compared

Key

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

...

  1. From the Solution Explorer tree, navigate to the active solution > Scopes > myScope node.
  2. Select the myScope node and click the Create Method button from the lower toolbar in the Solution Explorer.
  3. Choose a method name. The method declaration will be generated in the myScope.js file, which will be opened in the Script Editor.

Create a

...

Form Method in One of Two Ways 

 

From context menu

  1. From theSolution Explorertree, navigate to the active solution > Forms > myForm node.
  2. Right-click themyFormnode and selectCreate Methodfrom the pop-up menu.
  3. Choose a method name. The method declaration will be generated in themyForm.jsfile, which will be opened in the Script Editor.

...

Tip
titleTip

For developers not so familiar with JavaScript, there is an easier way to use the JavaScript API. In the Solution Explorer, navigate to the JS Lib node. This node contains a list of APIs for dealing with the JavaScript language and native data types. It even contains syntax completion for common statements in the Statements node.

Quick Start Video

...