Add Scroll PDF Export Button to all existing pages
I have a Confluence instance with many pages already.
Is it possible to add the Scroll PDF Export button to every page (programmatically). I also have Scroll Viewport (Help Center Theme) and might be interested in adding the "Export to PDF" button to the Nav Sidebar.
Thanks.
-
For those interested in a Scroll Exporter integration with Scroll Viewport we have this guide for adding an export button to pages: https://help.k15t.com/scroll-viewport/latest/server/exporting-with-scroll-exporters-from-a-viewport-134488391.html
Additionally, to display the button in the normal Confluence view it is also possible to add a small script (see below) as custom HTML (in Confluence Administration > Custom HTML > At the end of the BODY):
<script>
var button = jQuery('<button class="aui-button scroll-pdf-launcher">Export</button>');
button.attr('data-quick-start', false);
// optional attributes for specific templates/scopes
// button.attr('data-template-id', 'ENTER TEMPLATE ID');
// button.attr('data-scope', 'descendants');
jQuery('#main-content').prepend(button);
</script>Thanks, Thomas (K15t)
Please sign in to leave a comment.
Comments
2 comments