Skip to main content
Skip table of contents

Query Preview

Overview

Query Preview allows PocketQuery administrators to test and validate queries before they are published on a Confluence page. This feature ensures that queries return the expected results, reducing errors and improving efficiency.

How to Use Query Preview

1. Test the Datasource Connection

  • Go to PocketQuery Administration via the Apps menu in Confluence.

  • Open the edit form of a Query you want to test.

  • Below the Datasource selection, click the Test Connection link to verify that your Datasource is connected properly:

  • PocketQuery interface with Test Connection link

    Result: a message will indicate whether the connection was successful.

    PocketQuery interface with successful Datasource connection test

2. Preview your Query (with Converter)

  • In the Query edit form, scroll down to the Query Preview section.

  • Click the Run Query Preview button.

    • If your Query uses parameters, make sure to fill them in first.

  • If successful, the preview will display the results of your Query, including any applied Converter:

    Query Preview box in the PocketQuery Interface

3. Preview your Template

  • Switch to the Template Preview tab.

  • Click the Run Template Preview button.

    • If your Query uses parameters, make sure to fill them in first.

  • The preview will display how your Query results appear when combined with the selected Template:

Template Preview in PocketQuery Interface

Actions in the Preview

Once your preview is displayed, you can perform the following actions:

Button

Action

Bildschirmfoto 2025-12-05 um 15.05.06 Kopie.png

Copy your table / JSON to the clipboard

Bildschirmfoto 2025-12-05 um 15.05.06 Kopie 2.png

Display the preview in full-screen mode

Bildschirmfoto 2025-12-05 um 15.05.06 Kopie 3.png
Bildschirmfoto 2025-12-05 um 15.12.15.png

Switch between Table and JSON view

JavaScript errors detected

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

If this problem persists, please contact our support.