Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Scroll Office: Using placeholders within placeholders

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.
June 30, 2017 edited

Hey guys,

as I was testing the Scroll Office plugin, I tried something, that works completely fine in the Scroll PDF Exporter plugin (V3.5): I tried to use a placeholder inside a placeholder.

$scroll.includepage.($scroll.title Allgemeines)

This doesn't seem to work in the Scroll Office plugin though. The inner placeholder is replaced as expected, but the outer placeholder throws an error.

It seems like the parsing of the placeholders works a bit different in the Scroll Office plugin, not from the inside to the outside, but rather parallel or even from the outside to the inside.

So my question is: Is there a workaround for this behaviour?

My final goal is to include pages in the Word file, that contain metadata such as a change history. Those "special pages" need a different formatting, thus I can't just include them within the $scroll.content-placeholder.

Because we are storing several documentations in the same space, those "special pages" can't just be named "Allgemeines" but must be named "Documentation name Allgemeines" (for example).

Thanks in advance

Marcel

1 answer

0 votes
roman
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.
December 15, 2017

Hi Marcel.

Scroll Office doesn't support this as we are not using Velocity to resolve such cases. That's why the first part part works, but not the second to resolve the Include Page placeholder.

There are no plans to implement such feature in the future.

Cheers,
Roman.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Upcoming Confluence Events