You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

projectdoc Toolbox

Define the default search space for attachment index spaces.

Audience
Type
Level of Experience
Expected Duration
10 min

Index spaces are meant to collect common configuration for spaces. This includes space properties and homepages for doctypes.

A type doctype is a doctype that is used to categorize one other doctype. The doctype defines a document property named Type (this is a naming convention).

 

For instance a resource type doctype defines types for the resource doctype.

On a type document typically all document instances of the given type are listed. So a type document instance is simply a view on your documents.

 

For this example a resource type document is named Specification.

Each type document instance has a section called Resources of this Type.

In this section there is an instance of the Display Table Macro that automatically lists all resource documents of this resource type.

In this example the document named Specification lists all resource documents of type Specification.

Since index spaces are used by multiple spaces, documents from all this spaces should be listed. Per default only the document instances of the index space itself are listed (which are typically none).

This tip shows how to fix this easily.

Configuration

The search-space property is used by the Display Table Macro if no space to select documents has been explicitly specified.

Root Index Space

A root index space is the index space for all spaces.

Set the search-space space property to @all. Then all searches without specifying a space as query constraint will automatically refer to all spaces on a Confluence server.

Space Group

A space may only be defined as an index space for a subset of spaces on a Confluence server. This group of spaces is created by sharing the same space label (e.g my-label).

The Display Table Macro allows to select the search space by refering to that space label (e.g #my-label).

To use a space group as the default search space, set the seach-space space property to reference the space label of the group (e.g #my-label).

  • No labels