/syntax_macros

For community contributed syntax macros

Primary LanguageJavaScript

Heading

Syntax Macros

For community contributed syntax macros

🔔🔔🔔
CONTRIBUTORS must follow all guidelines in CONTRIBUTING.md or run the risk of having your Pull Requests labeled as spam.
🔔🔔🔔

Syntax Macros are little snippets of code stored in ServiceNow that can quickly be used in script fields using shortcuts. By typing the name of the syntax macro and then hitting TAB you can insert the code snippet directly into the field. No more trying to remember how to format GlideAggregate or mistyping the word query.

Syntax editor macros... a tiny thing that makes the developer life a lot easier

Using Syntax Macros in the Widget Editor

This funtionality is not avaliable out of the box but can (and should) be added! Service Portal: Syntax EditorMacros