Versions Compared

Key

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

...

Section
titlePlaceholders

Since version 1.11 space property values may reference other space properties. Use the placeholder syntax to create these references. Note that these references are only enforced within the Document Properties Marker Macro of the space homepage (that is: only available for space properties). If you need to refer to a space property value within a page then use the Display Space Property Macro.

Example Box


Code Block
version=1.42.73
url=httphttps://example.com/myservice/${version}/apidocs

Image Added

Note that templates are resolved on request time, while the use of display macros are resolved at document save time. That also includes that documents cannot be queried by resolved template values. So if you need to query documents per property value, you need to use tools to resolve values at save time, not request time.

...

Section
titleNaming Convention

Space properties are defined in the homepage of a space in the document properties table. To distinguish space properties from document properties there is a naming convention:

  1. Document Property Names start with a capital letter and are human readable. That is they may contain spaces, e.g. "My Document Property".
  2. Space Property Names start with a lower case letter and are tokens. That is they are separated by dashes, e.g "my-space-property".
  3. Break convention number 2 if you specify a value from your domain as a space property.


Section
idSubtopics


projectdoc-hide-from-reader-macro

create-from-template
blueprintModuleCompleteKeyde.smartics.atlassian.confluence.smartics-doctype-addon-app:projectdoc-blueprint-doctype-space-property
contentBlueprintId38ea2714-953e-47e3-9015-e8f489892eb1
templateName38ea2714-953e-47e3-9015-e8f489892eb1
createResultedit
buttonLabelCreate Space Property

projectdoc-display-table
render-no-hits-as-blanktrue
select

Name, #S{${Short Description}<br>$[Identifier]$[ID]}, #T{${Type}${Data Type}${Datatype}}|

§select.spaceProperties
where$<Doctype>=[space-property] OR ($<Doctype>=[property] AND $<AncestorNames>=[${Name}])
header-translationsS=Short Description, T=Type


Section
titleUser Space Properties

Users may override space properties with their personal preferences. This is useful to override rendering options.

Add a document properties table to the user's homepage.

The example overrides one property: hide-metadata.

...