Versions Compared

Key

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

This page content is now deprecated and is no longer applicable due to changes in Confluence v7.0 and later and we do not support user macros use with Comala Document Management.

Overview
Status
subtletrue
titleDeprecated

This page describes how to access metadata from Confluence User Macros using Value References. This allows even the integration of 3rd party apps, which set metadata, and get it from your custom workflows.

Example
Status
subtletrue
titleDeprecated

Let's suppose that our custom workflow needs an auditor set in a user macro, as a metadata value (this could be a metadata value already set by a third party app):

...

Code Block
languagetext
{workflow:name=Metadata example}
  {state:Review|approved=Published|rejected=Review}
    {approval:Editor in Chief|user=@auditor@}
  {state}
  {state:Published|final=true|updated=Draft}
  {state}
{workflow}

Summary

Comala Document Management can use metadata in Confluence, provided:

...

The value reference is inserted/retrieved as a content property with the setTextProperty/getTextProperty methods.

...

Info

For current practice in the use of metadata references in Comala Document Management please see Metadata references.