The PocketQuery macro can only be used on publicly accessible pages without dynamic load. That means the macro parameter “Load dynamically“ has to be disabled. For security reasons all REST calls to the PocketQuery backend always need to be authenticated.

Templating Limitations

Dynamic load also needs to be avoided in PocketQuery templates. Following limitations apply:

  • The velocity method $PocketQuery.renderPocketQueryMacro can only be used with dynamicload: false

  • The JavaScript function PocketQuery.load cannot be used

Note: Naturally, you will want to choose carefully which information is save to be publicly available.