Versions Compared

Key

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

...

Section
titleDetails


Section
titleRemote Controlled Documents


Version Box

Remote Controlled Documents for this marco are available since version 3.2 of the projectdoc Toolbox.

Remote Controlled Documents allow to control the content at request time. A HTTP request may override parameters of the macro. A request parameter addresses a macro by its identifier. After the identifier the name of the parameter is appended, separated by a colon.

Example Box
titleOverride Parameters

Assume that the identifier of the macro is set to 'my', the following call will override the doctype parameter on the page 'MyPage' in space 'MYS'.

Code Block
confluence/display/MYS/MyPage?my:doctype=code


The list of parameters allowed to override:

  • doctype
  • propertiesselect-displayfor-template-nameproperties-display-template-data
  • where
  • sort-by
  • max-hit-count
  • restrict-to-immediate-children
  • exclude-self
  • render-children
  • space-key
  • space-keys
  • list-type
  • css-classes
  • delimiter
  • render-short-description
  • uncapitalize-short-description
  • render-no-hits-as-blank
  • render-no-hits-as-blank-text


...