Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel2
minLevel2
absoluteUrltrue
typeflat
separatorpipe

...

The macro can be configured to display one or more of the following

  • the workflow state

  • date of the change to the state

  • state expiry date (if the state has an expiration)

Info

The document state macro is only displayed on the page when a workflow is applied.

Confluence UTC format is used for the

  • date of change to the state

  • state expiry date

...

When no workflow is applied to the page, the document state macro displays the following message when editing the page and on the published page.

...

Adding the macro to a page

Edit the page and type /doc to display the document state macro option.

...

Publish the page to view the document state macro displayed in the page subtitle on the content.

...

The macro was updated on . Content of the updated document state macro may not be available in the earlier versions of a document.

Use with other macros

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#EAE6FF

The document state macro is compatible with the Confluence Page Confluence Page Properties macro and the Page Properties Report macro.

On the a draft page, add the document state macro as a table value in the page properties macro.

Excerpt
namedocstatemacro_pagepropertyreportusage

This is displayed The macro on the published page is rendered in a table.

Image Removedcdmc_pagepropertiesmacro_cellvalue_onpage.pngImage Added

The page properties report macro can be added to a page to report the value of the example page property we created - Comala Management App - State details.

Image Removed

cdmc_pagepropertiesreportmacro_cellvalue_onpage.pngImage Added

Example - using the document state macro with the page properties macro

Excerpt
namedocstate_pageproperties_example_video
https://fast.wistia.com/embed/medias/ul0xvkxqyw.jsonp

Exporting pages to

...

PDF and Word

The document state macro on-page information is included when exporting to pdf PDF or Word.

...

In the pdf PDF and Word export, any date information (if included in the macro configuration) is in UTC format.

...

Info

The page status macro is not available unavailable in the macro browser in Confluence Clouda cloud site.

Tip

We recommend replacing the page status macro with the document state macro in your cloud content.

...