I've read the help on page templates and can see that we can hardcode a logo, other image, of background image into the design. I know that we can define text variables and display these on the page template. But what do we do if we have images that vary by publication, and we want to display one of...
I have an image in the resources folder in AEM called 'warning_triangle.png'.I want to include this using JavaScript.In the temporary files folder, the image is exported to:publish\templates\dita-templates\pdf\PRESET_NAME\warning_triangle.pngThe JavaScript runs on ‘mergedHTML.htm’ which exists at th...
For the standard note types the language variable text is set successfully so it appears in the prefix-content: <div class="note note" data-attr-type="note"><span class="prefix-content">Note: </span>This is a note of type 'note'</div> But for @TyPe=other @othertype I get: <div class="other note" da...
Where PDFs will be printed there is a requirement to generate output PDFs with a page count which is a multiple of 4. Is there a way to count and add pages, if required? I know we can run a JavaScript script post pagination - does this give us access to the page information which would allow us to ...
One of our customer requirements is to construct a ‘Contact Information’ block of addresses on the back page.They don’t want to hardcode this in a table in a topic. We'll have a template with an empty, single row, table and we'd dynamically expand the table based on the required number of address bl...