Pathnames in the workspace

The workspace organizes items into a hierarchical structure that you navigate as a series of nested folders. This hierarchy resembles the Windows™ Explorer in that you can expand or collapse folders to reveal the layered contents.

You identify individual queries, charts, and reports using the pathname information for that item. The pathname for an item is composed of the folder names enclosing it. Folder names are separated using a forward slash (/) character. For example, the pathname of a query called All Defects and located in the Public Queries folder would have the pathname Public Queries/All Defects.

You can create nested folders explicitly using CreateWorkspaceFolder or implicitly when you save a query. The SaveQueryDef method lets you specify pathname information for a query. If the folders in the pathname do not exist, HCL Compass creates them (unless they are in a top-level folder). HCL Compass does not allow you to create top-level folders; all elements must be nested inside either the Public Queries or Personal Queries folders.