Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How export the contents of a search to pdf

Admin Flanders Make October 27, 2025

Hello,

We are using a plugin that will not be supported in later versions of Confluence and needs to be disabled.
We would like save the contents of the pages where this plugin used for savekeeping.
When i use the "Macro usage", i get a list of all the pages where the plugin is used.
For eaxmple 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

1 answer

0 votes
Shawn Doyle - ReleaseTEAM
Community Champion
October 27, 2025

Hi @Admin Flanders Make 

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.

 

 

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events