April 8, 2020
Estimated Post Reading Time ~

Query Editor Tool

QueryEditor is a WebUI that allows QueryBuilder queries to be written, executed and debugged in real time. 

Getting Started


Install the ACS AEM Tools package via the AEM Package Manager and then open Query Editor from the AEM Tools console, or directly at /etc/acs-tool/query-editor.html

To get to the AEM Tools console from the Touch UI, from the left rail navigation, select Tools > Operations > Configuration.


Simply enter your QueryBuilder params in the left editor pane, and the results will display in the right pane.

Querying can be set to “Auto Query” which will execute and display the results of the QueryBuilder query from the left pane and its input, or this can be disabled and manual execution of the query can be triggered via the “Run Query” button in the top right.

Pro Tip
To activate code completion, press Ctrl-Space.
On a Mac, Cmd-click on a any path value in the results to jump to that result in CRXDE Lite.



Warning
Be careful when using the “Auto Query” mode as you made inadvertently initiate an expensive query and cause your Query Editor to be temporarily unresponsive.

Links
QueryBuilder Docs
QueryBuilder Predicate Evaluators
QueryBuilder Introductory Slide Deck

Source: https://adobe-consulting-services.github.io/acs-aem-tools/features/query-editor/index.html



By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.