/
How to export pages with specific labels to PDF files using Confluence Command Line Interface app
How to export pages with specific labels to PDF files using Confluence Command Line Interface app
This article explains how to export pages from a Confluence space having specific labels to PDF files using Confluence Command Line Interface (CLI) app.
Instructions
To export pages having a specific label, execute the following command:
--action runFromPageList --labels "mylabels" --common "--action exportPage --id "@pageId@" --exportType "PDF" --file "@pageId@.pdf""
To export pages including child pages that have a specific label, use:
--action runFromPageList --labels "mylabels" --common "--action exportSpace --space "@space@" --title \""@title@\"" --exportType "PDF" --file "@pageId@.pdf""
The parameters used in the above commands are:
runFromPageList runs actions for each page from a page list.
exportSpace exports a space to a file.
exportPage export a page to a file.
file refers to the path and the name of the file containing the resultant output.
exportType indicates the type of pages the export should be in.
labels pass the required label name.
Related content
How to export a space or a page to a PDF file using Confluence CLI
How to export a space or a page to a PDF file using Confluence CLI
Read with this
pdf-export macro
pdf-export macro
More like this
Comala Document Management Server and Datacenter | How to 'bulk move' all confluence pages from one space to another space in the same Confluence instance.
Comala Document Management Server and Datacenter | How to 'bulk move' all confluence pages from one space to another space in the same Confluence instance.
More like this
Item view export
Item view export
More like this
How to copy a page tree
How to copy a page tree
More like this
add-labels trigger action
add-labels trigger action
More like this