Adjust your Confluence personal space to work as a personal space for projectdoc.

Background Information

 Show background information ...

Personal Space

A personal space is a space of a user of Confluence. User can add their information to pages and blog posts and make them available to their team and other stakeholders.

Personal Space Properties

Personal space properties are space properties that are defined in the personal space with the Document Properties Marker Macro on the personal homepage.

Not every space property makes sense to be defined in the personal space. Some properties are restricted to be used in the personal space. Space property controls are defined for spaces and especially personal space properties to control the use of that property outside the space it is defined in.

The properties defined as personal space properties are consulted as overriding values to the properties defined in other spaces.

Typical Properties

Typical space properties for the personal space are:

  • pretend-being-a - A switch to control the assumed role of the logged in user. The property is set as a property of the user's private space.
  • projectdoc.doctype.(doctype).home - Controls the location of the homepage of a given document type. Use the identifier of the doctype.
  • projectdoc.subject.(subject-name).home - A space property to control the location of the homepage of a given subject. Use the name of the subject to define the space property name. The value is a link to the page to store documents associated with the specified subject. Only available for versions prior to 2.0.

projectdoc knows basically two kind of roles: writers and readers. Technically there is a third role called printer which is a specialized reader. The purpose of these roles is to configure the rendering. Authors have some tools that help them to access information quickly. For instance a transclusion renders a convenient border around the content so that the document from which the content is transcluded can be accessed with just one click.

There is no transclusion border for readers. The original source of the information displayed in a page is made transparent for them. Therefore this box (and its controls) are useless for the reader and must not be rendered.

Authors are able to see documents from the reader's view by setting the space property pretend-being-a to the value of reader.

Hands-on Steps

Transform Homepage to Document

Add the Document Properties Marker Macro to the homepage of your personal space. Then add a table with three-columns (name, value, controls) for properties you need.

The following screenshot shows an example of the Document Properties Marker Macro containing a table with properties that may be useful for a personal space (see Display Space Attribute Macro and Tag List Macro for more information on macros used in this example).

Now the space properties are available in the personal space and serve as defaults for all other spaces. To control this export to other spaces use space property controls.

 

The properties in the macro are called 'document properties'. In case the page is a space homepage, they are also called 'space properties'.

Pretend a Role

Let's add a space property to your homepage!

  1. Open the test document you create in a previous step, then add a description
  2. Save the page
  3. Open your homepage in the editor and add the Transclusion Macro
    1. Specify the test document as the document to transclude from for the mandatory Document parameter
    2. Specify the Description section as value for the Identifiers parameter
    3. Save the macro
    4. Save the page

You now see the transcluded content with the transclusion border.

  1. Now open your homepage and add the space property pretend-being-a with the value of reader.
  2. Save the page

The transclusion box is now removed around the transcluded content.

  1. Open the homepage again and change the value of pretend-being-a from reader to writer (or remove the property from the table).
  2. Save the page

The transclusion box is visible again.

Next Step

Continue with the next step: Create a Workspace

Content


Next Step Create a WorkspacePrevious Step Create an Index Space