Is there a way to export all child pages as individual PDFs?

Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2015

I know how to export them all as one ginormous PDF, but I want each page exported separately as though I did a single Export to PDF for each.

I just want to batch export all the pages so I don't have to export each one individually.

1 answer

0 votes
Midori
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2015

The Confluence Commandline (CLI) plugin has an action that exports one page to PDF. You could add a little scripting around that, and voila!

See: https://bobswift.atlassian.net/wiki/display/CSOAP/Reference#Reference-exportPage

Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2015

After exploring this option, it would take quite a bit of coding to make it possible for end users to use. It would have to export the pages to the Confluence home directory on the server, then upload them to the space as attachments. 

At that point, it wouldn't be convenient for end users as it would require a two-step process for them: Click button to export, then click Download all from the Attachments view. I might as well just take the time to export and upload them all, which kind of defeats the purpose of being able to just export in the first place as there would be extra copies of the same information.

In the end, I've created an improvement request: https://jira.atlassian.com/browse/CONF-38735

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events