Versions Compared

Key

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

Table of Contents
absoluteUrltrue
excludeSee Also
typeflat
separatorpipe

Overview

Excerpt
hiddentrue

export content as a pdf 

...

A parameter can be added to specify a PDF template to be used for the export. This parameter value will be a K15t Template Name or K15t Template ID value sourced from the K15t Scroll PDF Exporter app template information.

For more information, see: Integration Guides > Content Integrations > K15t Scroll PDF Exporter App

...

Info

Note that use of the template parameter in the {pdf-export} macro is only available with Comala Document Management 6.13 or higher.


Setting a template to use for export

To specify a template, use the template name in the {pdf-export} macro as shown.

...

  • each occurrence adds a further pdf export attachment

Image Added

...


The exported pdf filename by default is generated as

  • the content filename,
  • the Confluence content version at the time of the export and
  • and the date and time of the export

...

  • .

The K15t admin can change the export filename structure.

If the K15t app is unable to recognize a template id or name

  • the pdf export will still occur but the default template will be used
  • an on-screen message will confirm the use of the default pdf export template

Events

The following Events are associated with pdf-export

  • pdf-export-success
  • pdf-export-error

Example

Code Block
languagetext
themeRDark

...

{trigger:pdf-export-success}
	{set-message:style=success|duration=PT1M}
	pdf export successfully completed
	{set-message}
{trigger}
{trigger:pdf-export-error}
	{set-message:style=warning}
	pdf export failed. @errormessage@
	{set-message}
{trigger}

See Also

...