Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By way of example, the JCR browser is provided with a list of preprogrammed pre-programmed XPath and SQL queries. To this list, you can add your own queries. Your queries are saved and you can edit them afterwardsat a later time. To execute a query, you just select one from the list, make some adaptations if you like modify it and then execute it.

Creating or Editing a Query

  1. Select the JCR Queries tab.
  2. From the Queries pull-down menu, select ‘New query’, or an existing query. Notice that you cannot edit preprogrammed queries.
  3. Enter or change the name of the query.
  4. Select the query syntax type ‘Xpath’ or ‘SQL’"Xpath" or "SQL".
  5. Enter or change the actual query. See also: Query examples: SQL versus XPath)Press
  6. Click [Apply] to save the query on the list.

...

  1. Select the JCR Queries tab.
  2. From the Queries pull-down menu, select the query you want to delete. Notice that you cannot delete pre-programmed queries.
  3. Press Click [Delete query]. The query is removed from the list.

...

  1. Select the JCR Browser tab.
  2. Press the Click [More] button. The ‘Query execution’ dialog is added to the screen.From the pull-down menu, select "Query execution" section appears.
  3. Select the query, for instance ‘MyNodeTypes XPath’.If desired, adapt "MyNodeTypes XPath", from the drop-down list.
  4. Modify the query to your needs.
  5. Press the Click [Execute query] button. The results appear on the Query results tab.

...