Watermarking on specific pages or bookmarks with AEM/DDX
I have custom code to watermark the signatories of drawing reviewers on the drawing title block, which is similar to a stamping tool.
For the multi-sheet drawings, my drawing title block is configured to have the signatories on the first sheet only (bookmark of sheet1) and the successive sheets (bookmarks of sheet2, sheet3, etc) do not have the signatories cells for the title black. Since the watermarking is burned on all the sheets, the signatories appear on the all sheets. How do I configure the DDX file or AEM Assembler Service to only watermark the signatories on the first sheet only?
Re: Watermarking on specific pages or bookmarks with AEM/DDX
Watermark in DDX can be a child of PDF tag. So in theory you can define different watermarks for different parts of our output document. I have never tried it so far. But I do have following configuration of DDX working:
So as you see I'm applying watermark or "outDoc" that is build from three separate PDF tags. But I think it will work if I will move the watermark definition to one of child PDF tags in "outDoc". Please note I'm filling the details of watermark from the code in CustomLifecycleDelegate so that's why in my DDX snippet it looks empty.