Skip to main content
Skip table of contents

Common syntax error in CQL


Space key is a reserve word

Click here for the list of reserve word

Steps to Reproduce

  1. Create a new space with space key “IS”

  2. Edit the home page and create a CQL Search Macro with the following CQL

    CODE
    space = $$space.key$$ 
  3. You will get this error message

    CODE
    Syntax error in CQL : space = IS 

Fix

  1. Add quote-marks to the reserve words

    CODE
    space = "$$space.key$$" 

JavaScript errors detected

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

If this problem persists, please contact our support.