Child pages
  • Getting Started-Overview of Script Editor

Versions Compared

Key

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

...

  1. Highlight a resource in the Solution Editor that contains the code you want to insert.
    • You can use methods/functions found anywhere in the Solution Explorer, including in Globals, individual Forms, JS Lib, all the way down to Plugins.
    • You can preview information about the method by hovering over the code resource name. 
  2. Click on the Move Sample Code or Move Code button.

#Move Sample Code inserts an example of how the selected code is can be used, along with informational comments:

Code Block
if (forms.main.foundset.find()) //find will fail if autosave is disabled and there are unsaved records
{
	columnTextDataProvider = 'a search value'
	columnNumberDataProvider = '>10'
	columnDateDataProvider = '31-12-2010|dd-MM-yyyy'
	forms.main.foundset.search()
}

#Move Code inserts only a bare function statement:

Code Block
	forms.main.controller.find()