I have to design lot of letters with same background (header, logo, page count, footer…), what is the best way too make just one background template/pdf or else with all that and use it for all letters ?
If we change logo on phone I don’t want to modify all my template letters, juste the template of PDF with background…
One way to achieve that could be to use virtual stationery, find in Media properties. It even allows to load a PDF from disc, so seems to be exactly what you need.
Now what I’m looking for is how to make a template witch create a pdf with some standard information from the datamaper (name, address,…) and put this pdf for use for the next template that load it on background.
With workflow I think I can generate the background pdf on temp directory and send the name and location of the file to the next template ?
because I want to have juste one template with logo, adress box at the right place, city and date of the letter on an other box, signature and name of the author at the end of the letter. This will be generate at the beginning of workflow with informations from the xml, and use for lot of template letters after. Each workflow begin by generating standard template letter and continue with specific information on it with the second template…
May be there-is simple way ? I have one hundred letters to create…
And an other question : how to have on datamapper script the name of the xml file witch is parse by it ?
I found automation.properties.OriginalFilename but it’s empty on test, maye be not when it’s in workflow ?