Hello,
We are using a plugin that will not be supported in later versions of Confluence and needs to be disabled.
We would like to save the contents of the pages where this plugin is used for savekeeping.
When i use the "Macro usage", i get a list of all the pages where the plugin is used.
For example https://www.localconfluencesite.local/confluence/dosearchsite.action?cql=macro+%3D+%22signature%22
I would like to export the contents of these page results to PDF.
There are about 258 page results scattered over multiple Spaces, i could do it manually by opening each page and exporting it to pdf, but I prefer an automated way.
I have a license for the Confluence CLI.
What are my options?
Thanks
I'd script this using the API. Save the pageids into a array or list, iterate thru it and save as the page as a pdf, you'd need one of the 3rd party addons that have a REST api, there are a few to chose from. if done right you can do the export in the 30 day trial window.
Guys thank you for your response.
I've also contaced Atlassian Support and they send me this:
To achieve the desired use case, it is necessary to obtain the list of pages that utilize the specified macro by employing the following CLI action.
--action getPageList --cql "macro+%3D+%22signature%22"Once the page titles have been obtained, please execute the following command-line interface (CLI) action to export those pages as PDF documents.
--action exportPage --space "SPAC" --id "720927" --file "Space.pdf" --exportType "PDF"I will give your suggestions and the one from Atlassian a try and report back
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Admin Flanders Make ,
On top of what Shawn said (it's most likely possible with REST APIs), and as you mentioned that you're using Confluence CLI app, I'd recommend reaching out to Appfire's support team, as they can probably guide you on how you could use the app to get that desired result. Vendors are usually quite helpful when it comes to troubleshooting and use case questions. 🙂
From what I've seen, the app is quite powerful, but I haven't been using it that much to definitely say if it's possible or not.
Cheers,
Tobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.