Hello everyone,
I am looking for a way to automatically export specified Spaces as PDF.
The reason for this is that some of our employees have to work offline, but they still need to have access to the Confluence documentation to be able to do their work.
I would like to automate the whole thing so that the employee does not have to do anything but still have the latest version of the documents on his notebook as a local copy.
someone has a solution approach for me because I have not yet worked with the RAST API.
Hi @Sven-Peter Barth ,
Since you're looking for Powershell, I may help you for the key part of the any scripting - 'how to get the data list?'
Here's the process wherein you can hit an API to export the pages into PDF - https://support.atlassian.com/confluence/kb/rest-api-to-export-and-download-a-page-in-pdf-format/
Prior that you need below requirements:
1. List of spaces required for export
2. For each space, you need list of pages (id and details)
3. Pass those list of pages into script and export them.
Python would be good as well - https://stackoverflow.com/questions/75583746/how-do-i-pdf-export-one-or-more-confluence-datacenter-server-spaces
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.