Versions Compared

Key

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

...

One or more get-metadata macros can be used in wiki content (pages, blog posts).

It The macro can also be used in macros that render wiki content in the context of pages and blog posts.

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
sorttitle
excerptTypesimple
cqllabel = "supports-content" and label = "macro" and space = currentSpace ( )

...

Info

Can also be used in page templates and blueprints.

Parameters

Parameter

Required

Default

Notes

Ver

name

(tick)


The metadata or value reference to display

Note
Info
  • do not enclose the value reference in @ ("at") symbols

  • use awpState value reference to retrieve the current workflow state name

3.0.3+

Example

To retrieve a value reference called @Project Lead@, add the get-metadata macro to content using the macro editor to add the metadata name.Image Removed

...

o

 Do not include the @ symbols when adding the value reference name to the macro editor.

A simple way to display the value is to add the macro to a table cell.Image Removed

...

On the content, this retrieves and displays the current value of the metadata.

...

Suppose duplication of a value reference name occurs, for example, a page property and metadata set with the Comala set-metadata macro. In that case, the get-metadata macro will resolve the value in the following priority.

Insert excerpt
CDML:Value ReferencesCDML:
Value References
nameretrievalorder
nopaneltrue

...