Attaching queries to collections


    You can attach queries to a collection. Each time you run the query, the most recent result set is loaded into the respective collection.

To attach a query to a collection:

  1. Open a site.
  2. Select a collection in the Collections tab of the site window.
  3. Select Attach in the Query section of the Collections Inspector.
  4. Do one of the following:
    • Choose a site-specific or application-wide query from the Query list.
    • Browse to a query in the site's web-data folder, or drag the pick whip to select a query in the Extras tab of the site window.
    • Drag a query from the Queries folder in the Extras tab of the site window to a folder in the Collections tab.

To detach a query from a collection:

    Select the collection, and then deselect Attach in the Query section of the Collections Inspector.

To run a query attached to a collection:

  1. Select a collection in the Collections tab of the site window.
  2. Click Run in the Collections Inspector.

To edit a query attached to a collection:

  1. Select a collection in the Collections tab of the site window.
  2. Click Edit in the Collections Inspector, and then edit the Query in the Query Editor (see Generating queries).