Script syntax error checking
-
- UpdatedFeb 1, 2024
- 2 minutes to read
- Washington DC
- API implementation
All script fields provide controls for checking the syntax for errors and for locating the error easily when one occurs. The script editor places the cursor at the site of a syntax error and lets you search for errors in scripts by line number.

The script editor notifies you of syntax errors in your scripts in the following situations.
- Save a new record or update an existing record. A banner appears at the bottom of the editor showing the location of the first error (line number and column number), and the cursor appears
at the site of the error. Warnings presented at Save or Update show only one error at a time.
Figure 2. Script syntax error (short) - Click the syntax checking icon before saving or updating a record. A banner appears at the bottom of the editor showing the location of all errors in the script, and the cursor appears at the site of the first error.
Figure 3. Script syntax error