Forums

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

Scroll PDF Exporter: using macros in static pages

Marcel Woschek
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2016

Hi,

I am using the Scroll PDF Exporter to export my confluence pages as PDF. Therefor I want to include the associated version history page, I created for the actual page.

This version history is a child page, but not the only child page of the actual page. So I want to include this page with the include macro as a static page right after the title page of my PDF template.

Is there a way to use this macro within the template designer?

Thanks for your help

Ales

1 answer

1 accepted

2 votes
Answer accepted
Nils Bier _K15t_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2016

Hi Ales,

Yes, you can use the Scroll PDF Exporter placeholders in your static pages.

Simply create a new static page and insert the placeholder $include.getPage("include").

You can then change the position of this static page via drag&drop and on export the content of page with pagetitle "include" (as defined in the example above) will be rendered in the exported PDF file.

Does that help?

Best,
Nils

Marcel Woschek
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2016

Thanks Nils,

I was aware of the placeholders and used them for my own metadata already, but I just didn't think of them in this case.. laugh

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events