Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create a script macro for the syntax editor

Administrators can define new script macros or modify existing script macros.

Before you begin

Role required: admin

About this task

Script macros provide shortcuts for typing commonly used code. Several script macros are available by default. Administrators can define new or modify existing script macros.

Procedure

  1. Navigate to All > System Definition > Syntax Editor Macros.

  2. Select New or select the macro to edit.

  3. Define the macro details with the fields listed in the table below.

    FieldDescription
    NameMacro keyword text users type to insert macro text.
    CommentsDescription of the macro. This text appears when the user types help.
    TextFull macro text that replaces the name in the editor.

Parent Topic:JavaScript syntax editor