Versions Compared

Key

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

...

Section
titleHands-on Steps


Section
titleTransform 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.

Note Box

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



Section
titlePretend 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.


...