If you have created an export button to let you automatically create an export using the when clicked, you can display the button from the viewport view.
Export with Scroll PDF Exporter 4.x
Once you have created the export button, you can display the button in the viewport view.
Insert the required web resources
Firstly, insert the required web resources into the page.vm page of your template:
Include the export button
Now, you can to include the button code in the template wherever you want it to appear:
Defining the export settings
You can define various settings for the export:
Insert the ID of the template you want to use in the
To find the template ID, open Space Tools > Add-ons > Scroll PDF Exporter, find the template you want to use, open the actions dropdown menu, and click Template Information.
|Page exported||You can define a page to be exported by replacing |
|Scope of export|
Export either only defined page, or the defined page and its children.
To export only the defined page, enter
Export with other Scroll exporters
Preparing the assets
Firstly, insert the webresources required for AUI in the head of your page.vm:
Now, put the code for the dialog on the same page as your export button. You can also put it somewhere else to be later included as template.
If your theme does not declare the
Implementing the code
The code below can be used in any
jQuery instead of the global
$ variable so you can paste this code into a script tag in any vm file. The
Any anchor element with the data attribute
data-exporter is targeted for exports.
href has to match the
id of the dialog provided for the export.
Selects the export scheme you want to use for exporting (including the template and all your adapted settings).
Selects the Scroll Exporter to use for exporting.
The following values are supported as long as the respective Scroll Exporter is installed:
Selects the root page of the export.
The specified export scheme defines what pages actually will be exported. Typically you'll want to use the