‘QC Documents for Confluence Cloud’ macros markup syntax

qc-property-macro

The {qc-property-macro} macro displays a  page metadata properties like:

  • the page ID,
  • last assigned version,
  • last updated date
  • and page URL.

Parameters

Parameter

Required

Default

Notes

property No ID The metadata or value reference to display.

Available properties

  • ID – The ID of this piece of content
  • Title – The Title of this piece of content
  • URL – The URL of this piece of content
  • Version – The version number of this piece of content
  • Updated date – The latest updated date of this piece of content
  • Space title – The space title of this piece of content

Example

This will add the page title:

{qc-property-macro:property=Title}

qc-revision-macro

The {qc-revision-macro} macro displays the page revision number of the current version of the context.

To assign revision number, follow this tutorial.

If no revision number is assigned, the macro will return  Not assigned

Example

{qc-revision-macro}

qc-doc-citation-macro

The {qc-doc-citation-macro} displays a table of the current context other pages that  cite the current context. The page will need to be inserted as an internal link using the Confluence UI.

The table contains the Page ID and the Page title.

Example

{qc-doc-citation-macro}

 Screen Shot 2018-06-18 at 22.48.05

qc-internal-reference-macro

The {qc-internal-reference-macro} displays a table with all wiki page references (ie. hyperlinks) mentioned at the current context.

The macro will display only references (ie. hyperlinks) that were inserted as an internal link using the Confluence UI.

The table contains the Page ID and the Page title.

Example

{qc-internal-reference-macro}

 Screen Shot 2018-06-18 at 22.48.05

 

qc-viewers-table-macro

The {qc-viewers-table-macro} displays a table with all the users that viewed the current page.

The macro is not available for older Confluence page versions. It only works at the current version.

The table contains the Viewer’s name and the latest version viewed.

Example

{qc-viewers-table-macro}

 

Troubleshooting

The app stops to work to pages that have page restrictions

In order to allow the app to work to pages that have page restrictions you will need to give explicit permissions to the app user to access the page. You can do this by:

  1. Click at lock button
  2. Start to type the QC – Document control page properties for Cloud user
  3. Click to Add the user
  4. Done !

Screen Shot 2018-07-11 at 23.33.46

Advertisements