Insert an Export Button
This guide describes how to add a export button onto a Confluence page. The export button automatically creates an export of a page (or a page and its children) when clicked. You can set the exported page to be any page in your Confluence system.
Viewport Cloud User?
Please note, that the Scroll Export Button macro is not yet compatible with Scroll Viewport for Confluence Cloud. For introducing export capability with cloud Viewport sites we have the following open feature request - VPC-88
Insert and configure the export button
- Firstly, insert a Scroll Export Button macro onto the page
Configure the macro:
Field Description Add-on Choose which add-on to export with. Template ID The ID of the template you want to use for the export.
- In Scroll PDF Exporter, find the ID by clicking Space Tools > Add-ons >Scroll PDF Exporter, finding the template you want to use, and clicking Template Information in the actions dropdown menu.
Export scope Select current to only export the chosen page, and descendants to export the chosen page and its descendants.
If you leave this blank, the template's default export scope will be used or, if it has none, the descendants setting will be used.
Content The page or blog post to export – this page can be from any space in the Confluence system. Caption Write a caption for the button. - Save the page, and you can click the export button to perform an export with the configured settings.
Want to display the export button in Scroll Viewport for Confluence Server?
If you have configured a viewport, you can configure your viewport, to display the export button in the viewport view.
If you want to style the button you can do so by adding the following code into your space or global stylesheet:
button[data-macro-name="scroll-exportbutton"] { background: yellow;}
This will render the button in yellow. Feel free to change this color to you own needs.