hpims-<name>
or ehive-<name>
and the consent contents have to be put in a
directory in this repository called <name>
.hpims
/ ehive
are static prefixes that can not be changed and configured in the deployment directory and consent
service.When a new PDF needs to be added, we need to calculate the coordinates of the various checkboxes and inputs to insert
text at. To do this, go to the apache pdfbox releases and download the latest
feature version of the pdfbox-app (pdfbox-app-
java -jar <path/to/pdfbox-app-<VERSION>.jar> PDFDebugger <path/to/consent.pdf>
You can then page through the PDF and hover over spots to find out the coordinates. They are displayed on the bottom left.
Notice that pdf page numbers are 0-indexed.