This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

The snapshot-page macro is used to publish a static version of a document. The macro

  • creates a snapshot of the page

  • links the snapshot to one or more collections

Comala Publishing must be installed to use the snapshot-page macro

Where to use it?

Optional

One or more snapshot-page macros can be put in a trigger macro.

The snapshot-page macro is available in Comala Document Management v6.17.6+ together with Comala Publishing v3.0+

Parameters

Parameter

Required

Default

Notes

Ver

collection

(tick)

none

Name of the snapshot collection where the snapshot document is published

  • snapshot collection must be linked to the current space in the space tools snapshot publishing dashboard

  • supports the use of value references including workflow parameters

If the collection doesn't exist the macro will create the named collection(s). 

v6.17.6

editor

Name of the snapshot contributor for the named collection.

The contributor is the user who will be set as the the creator of the snapshot document version.

  • if the parameter is not used, the current user is set as the contributor for the snapshot document version created

  • supports the use of value references including workflow parameters

{snapshot-page:collection=@Worfklow Parameter@|editor=@lastApprover@}

Example

{trigger:statechanged|state=Published}
    {snapshot-page:Published Documents Record|editor=@snapshotpublishinguser@}
{trigger}  

Publishes snapshot of the Confluence document version on a transition to the workflow Published state. The snapshot is added to the Published Documents Record collection.

The editor (contributor of the snapshot document version to the collection) is the value of the user workflow parameter @snapshotpublishinguser@.

The user must have contributor permission for the named collections.

Related pages

  • No labels