Versions Compared

Key

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

...

Section
show-titlefalse
titleDescription

Since version 5.2 of the projectdoc Toolbox all properties with dynamic values are automatically flagged with 

Static Document Link
documentno-property
when in strict or block mode. In case a property should be treated as property despite the dynamic value, it has to be marked with the force-property control.

Prior to version 5.2 there where no no-properties. Properties should not use dynamic values.


The value of a property that is dynamic is dependent on the rendering time.

Typically property values must be rendered at the time a page is stored and must not change due to external events.  A property may reference another property. If a referenced property changes, the document with the reference is information and the property value is updated accordingly. Changes only happen when a document is stored. A dynamic value does not reference another property value, but builds result sets at request time based on queries or fetches information from other resources then projectdoc document. The update mechanism is not applied to dynamic values, therefore dynamic values represent the value at the time they where stored and this probably out-of-date value is rendered at request time.

However there are use cases, where dynamic property values can be used. But special considerations need to be made: the property should probably not be indexed (

Section
titleDynamic Values Handling
Static Document Link
documentnoindex
) and always be rendered at request time (in other words: not be cached,
Static Document Link
documentno-render-cache
). Or it may not even be considered to be a property at all (
Static Document Link
documentno-property
).

The following modes are available to control how properties with dynamic values are handled.

ModeDescriptionallow

No restriction. Dynamic values are allowed. Users are responsible to use them correctly.

This mode is used for backward compatibility.

lenient

Dynamic values are allowed, and if proper control are not set, then 

Static Document Link
documentno-property
is assumed.

The following controls are considered proper:

  • Static Document Link
    documentnoindex
  • Static Document Link
    documentno-render-cache
  • Static Document Link
    documentno-property
  • force-property

Health checks will signal the use of deprecated features of macros considered to be dynamic.

This mode may be selected to allow users to use dynamic values.

strict

Dynamic values are allowed, and if proper control are not set, then 

Static Document Link
documentno-property
is assumed.

The following controls are considered proper:

  • Static Document Link
    documentnoindex
  • Static Document Link
    documentno-render-cache
  • Static Document Link
    documentno-property

This mode will be the default mode for the next major version of the projectdoc Toolbox.

explicit

Dynamic values are allowed, if proper controls are set:

  • Static Document Link
    documentnoindex
  • Static Document Link
    documentno-render-cache
  • Static Document Link
    documentno-property
  • force-property

The implicit flagging of 

Static Document Link
documentno-property
when a dynamic property is encountered, is not allowed.

This mode should only be used for testing the health of documents, not as a runtime mode.

block

No dynamic value is allowed.

This mode may be helpful to find all locations of dynamic values with a health check. Not recommended as a runtime mode.

The mode is defined by the system property de.smartics.projectdoc.dynamicValues. This is currently considered an experimental feature.

Section
ignore-template-buttonstrue
titleSubordinate Properties


Hide From Reader

Create from template
blueprintModuleCompleteKeyde.smartics.atlassian.confluence.smartics-projectdoc-confluence-space-swdev:projectdoc-blueprint-doctype-property
buttonLabelCreate Property

Display Table
doctypeproperty
render-no-hits-as-blanktrue
render-modedefinition
selectName, Short Description
restrict-to-immediate-childrentrue
sort-bySort Key, Name

...

Section
titleResources


Tour
render-no-hits-as-blanktrue
render-as-definition-listtrue
marker-column-property-nameTitle
replace-title-with-nametrue