Skip to main content
Skip table of contents

Monaco Editor

The Monaco Editor is a browser-based code editor, which also powers Microsoft VS Code. Thanks to IntelliSense features you can get suggestions by pressing Ctrl + Space and you will find some code hinting. A red line marks code errors like missing commas or unnecessary ones.

The Monaco Editor is used for JSON configurations e.g.

  • Filter Query configuration

  • Channel Filter configuration

  • Display Pattern configuration

  • Business Rule JSON configuration

  • Mail Template configuration

  • Different value configurations e.g. calculated values for text fields, or default values in business rules updating field values.

Using IntelliSense

Intellisense will give you suggestions when you write your filter or code, so you get some assistance:

  1. In an empty field press Control + Space to see how to start the code

  2. Press Control + Space inside the quotation marks of a property to see possible values

    1. In tagbox filter configuration you will see all available filters when choosing kind {"kind": ""},

    2. See all available fields and their correct path: {"field": ""},

Create tagbox filter

  1. Click into an empty field

  2. Control + Space, to get suggestions

  3. Choose "New object" in curly brackets (by just pressing enter)

  4. Control + Space and choose: Kind

    1. The first available filter (AndFilter) is added, remove this

  5. Control + Space → now you get a selection of filters available

  6. Choose a Filter, type a comma and enter

  7. Control + Space will now show you all needed attributes of that filter

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.