Versions Compared

Key

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

...

Section
indextrue
show-titlefalse
titleDescription

Renders a space property value.



Caution Box
titleDo not use as property value

Do not use the space property macro as a value to a document property. If the value of the space property changes, the value of the document property that references the value will not be updated.

This is different to the display document property macros (for instance Display Document Property Macro) where the update of a value will be propagated. A workaround is to reference the property value of the projectdoc document that contains it instead of referencing the space.

This behavior may change in future versions of the PDAC1. Therefore users cannot rely on the fact that the update of a property value is currently not propagated.

If the value of a space property is required as value of a document property, using the document property control 

Static Document Link
documentno-render-cache
may help for the majority of use cases. The control forces the property value to be recalculated on each request. Note that in this case the property must not be included in a search since the Lucene index will not be updated. So it may be a good choice to also set
Static Document Link
documentnoindex
to true.


Section
titleProperties


Section
level2
titleSpace

The reference to the space from which the property is to be read. Note that the space may define delegate spaces or extensions to fetch the property from.


Section
level2
titleProperty Name

 The name of the space property to fetch the property value.


Section
level2
titleDefault Value

A default value to render, if the space property is neither set or is blank.


...