Excerpt | ||||
---|---|---|---|---|
| ||||
Table of Contents | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Excerpt | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Activating snapshot publishingThere are three steps to setting up snapshot publishing to take place on a Comala workflow event:
Publishing a snapshot using a workflow triggerA snapshot can be published using
Both action macros can be used in the same trigger. Snapshot-page action trigger workflow markupThe publishing is triggered by an action macro, snapshot-page, which must be used in a trigger.
The example markup above based on the example from same-space publishing, but we've added the trigger at the bottom. When the state changes to Published, the trigger is activated and the
In the example above, the value for the editor parameter is a metadata value set on transition to the Published state for the value of this parameterin the workflow trigger prior to the snapshot-page macro action. The user must have been added as a collection contributor to the collection permissions by the user who created the collection.
pdf-export action trigger workflow markupWith Comala Publishing installed, the pdf-export macro can be used as an action to export a snapshot of page or blog post in PDF format and adds the pdf to the page as an attachment. The pdf is added with a filename in the following format:
There are no macro parameters to configure. The pdf-export macro can also be used with Scroll PDF Exporter 4.10.11 or higher. |
...