Versions Compared

Key

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

...

Section


Column


Document Properties Marker
overridefalse


Short DescriptionA collection of macros supports dynamic parameters that may be controlled remotely or by their context. This tip provides some information on context controlled macros.
Doctypetopichide
NameUse Context Controlled Macros
Short Name
Parent
Parent Property
property-nameName
hide
Audience

Name List
doctyperole
render-no-hits-as-blanktrue
render-list-as-comma-separated-valuestrue
namesTemplate Author, Author
propertyAudience


Subject
Name List
doctypesubject
propertySubject

Categories
Name List
doctypecategory
propertyCategories

Tags
Tag List
propertyTags

Flagsprojectdoc Toolbox, Confluence, Context Controlled Macro, parameter override, propertyhide
Iteration

Iteration
valueproduction

hide
Type

Name List
doctypetopic-type
render-no-hits-as-blanktrue
namesTip
propertyType


Level of Experience

Name List
doctypeexperience-level
render-no-hits-as-blanktrue
namesProficient
propertyLevel of Experience


Expected Duration5 min
Sponsors
Name List
doctypestakeholder
render-no-hits-as-blanktrue
propertySponsors

Sort Keyhide
enable-heading-numberstruehide




Column
width35%


Panel
titleContents

Table of Contents
outlinetrue
indent10px
stylenone



...

Section
titleSummary

To use context controlled macros you need to provide

  • an identifier and
  • check the checkbox parameter Context controlled.

Add a property with format identifier:parameter-name to the context. Set the value for the property.


Section
titlePrerequisites

...

Section
titleMacros

The following macros support dynamic properties to be controlled by the context they are in.

Display Table
doctypemacro
render-modedefinition
selectName, Short Description
space-keysPDAC1
where$<Tags>=[Context Control]

A macro is in the context of

  1. its document,
  2. the parent documents (up to the root), 
  3. the space the document is part of and
  4. all spaces in the delegate closure (using the delegate-space Delegate Space property) of that space.


Section
titleTemplates

To control the parameters with the context, the macro is required to provide a unique identifier.

The feature must be activated. Otherwise the context is not taken into account.

...