Create or modify a script macro

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Administrators can define new script macros or modify existing script macros.

    Avant de commencer

    Role required: admin

    Pourquoi et quand exécuter cette tâche

    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.

    Procédure

    1. Navigate to All > System Definition > Syntax Editor Macros.
    2. Click New or select the macro to edit.
    3. Define the macro details with the fields listed in the table below.
      Tableau 1. Editor macro fields
      Field Description
      Name Macro keyword text users type to insert macro text.
      Comments Description of the macro. This text appears when the user types help.
      Text Full macro text that replaces the name in the editor.